More logging
This commit is contained in:
parent
fce5584185
commit
3b3872da3f
|
@ -45,6 +45,8 @@ class WC_Gateway_Paypal_Request {
|
|||
public function get_request_url( $order, $sandbox = false ) {
|
||||
$paypal_args = http_build_query( $this->get_paypal_args( $order ), '', '&' );
|
||||
|
||||
WC_Gateway_Paypal::log( 'PayPal Request Args for order ' . $order->get_order_number() . ': ' . print_r( $paypal_args, true ) );
|
||||
|
||||
if ( $sandbox ) {
|
||||
return 'https://www.sandbox.paypal.com/cgi-bin/webscr?test_ipn=1&' . $paypal_args;
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue