WooCommerce-POS icon indicating copy to clipboard operation
WooCommerce-POS copied to clipboard

PayPal Plus – Refund problem – bug in your plugin.

Open torbentschechne opened this issue 7 years ago • 1 comments

Hello WooCommerce POS, I found a bug in your plugin using PayPal Plus in my WooCommerce shop. When I install the WooCommerce POS version from this page (not the PRO version), the possibility – the button – to refund the order via PayPal Plus does not appear anymore in my orders detail screen.

I also found the reason for it. WooCommerce checks if the payment method, saved in the order, is available as a payment gateway in the shop, but the array key of the payment is empty:

[""]=>
  object(WCPayPalPlus\WC\PayPalPlusGateway)#28591 (25) {
    ["id"]=>

So $order->get_payment_method() is paypal_plus, but this key can not be found. When I disable WooCommerce POS everything works fine, so somehow your plugin resets the keys of the payment gateways. Can you check and fix this?

Thanks.

torbentschechne avatar Sep 27 '18 08:09 torbentschechne

Hi @elbsurfer, thanks for the bug report! This should be fixed in the latest version (0.4.19).

kilbot avatar Sep 27 '18 17:09 kilbot