woocommerce_paypal_capture_request

woocommerce_paypal_capture_request

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_paypal_capture_request') is found 1 times:

  • /includes/gateways/paypal/includes/class-wc-gateway-paypal-api-handler.php line 67
    			'AMT'             => number_format( is_null( $amount ) ? $order->get_total() : $amount, 2, '.', '' ),
    			'CURRENCYCODE'    => $order->get_currency(),
    			'COMPLETETYPE'    => 'Complete',
    		);
    		return apply_filters( 'woocommerce_paypal_capture_request', $request, $order, $amount );
    	}
    
    	/**
    	 * Get refund request args.
    	 *
    	 * @param  WC_Order $order Order object.