Open Spiros94 opened 1 year ago
I second that. When this plugin is enabled, woocommerce-paypal-payments plugin cannot complete payment. One of the support representatives noted that this is most likely a JavaScript issue: https://github.com/woocommerce/woocommerce-paypal-payments/issues/1225#issuecomment-1490120317
Please let us know when this is fixed so we can have both payment methods available.
My eshop's specs: PHP: 8.2.6 Wordpress v: 6.2.2 Woocommerce v: 7.7.2 WooCommerce PayPal Payments v: 2.0.5
I added the plugin woocommerce-cardlink-payment-gateway of the last for now version acquired from github directly.
When I try to pay via paypal (having the cardlink plugin enabled at the same time), an error comes up saying:
Could not retrieve order. This browser may not be supported. Please try again with a different browser.
With a lot of research in the cardlink plugin's code, I found out that in line 9 of the file in wp-content/plugins/cardlink-payment-gateway/includes/class-cardlink-payment-gateway-ajax.php, if I comment out the line
null === self::$instance AND self::$instance = new self();
then both payments work just fine.
I guess it's not the best way to comment this line but I cannot find an alternative for now.