Paypal checkout error

Currently, Woocommerce did huge changes in their plugin, these changes create a lot of problems, which is one of them, “This function is temporarily unavailable. Please try your payment again later by returning to eBay and clicking the My eBay button.”, Woocommerce gives PayPal checkout error, see below error:

Paypal checkout error

Paypal checkout error is appearing when we go to pay for the product on the Woocommence base website. It is not a PayPal payment processing error, it is WooCommerce ERROR. WooCommerce using URL with which is not supported by Paypal.

How to fix PayPal checkout error

To fix this problem open file: [wp-content\plugins\woocommerce\includes\gateways\paypal\includes\class-wc-gateway-paypal-request.php]

and find line : ‘return’ => esc_url_raw( add_query_arg( ‘utm_nooverride’, ‘1’, $this->gateway->get_return_url( $order ) ) ), ‘cancel_return’ => esc_url_raw( $order->get_cancel_order_url_raw() ),

replace with : ‘return’ => urlencode( add_query_arg( ‘utm_nooverride’, ‘1’, $this->gateway->get_return_url( $order ) ) ), ‘cancel_return’ => urlencode( $order->get_cancel_order_url_raw() ),

update your file on your server then go to product page and purchase a product with paypal checkout. I suppose you are checkout successfully, it is fixed now.

I hope this article helped you to ‘fix Paypal checkout error’. You can also list the most important articles on Woocommerce ShortcodesResize Woocommerce product image size.

If you liked our articles, please subscribe to our YouTube Channel for WordPress Video Tutorials. You can also find us on social media platforms like Twitter and Facebook.

3 thoughts on “Paypal checkout error”

Leave a Comment