woocommerce / woocommerce-paypal-payments

https://wordpress.org/plugins/woocommerce-paypal-payments/
GNU General Public License v2.0
62 stars 47 forks source link

Missing support for Apple Pay refunds (3823) #2715

Closed dawidchyrzynski closed 1 day ago

dawidchyrzynski commented 1 week ago

Describe the Bug

When Apple Pay is set up as a separate payment gateway, orders can only be refunded manually. The process_refund method appears to be implemented in the ApplePayGateway class, but the supports property does not include the refunds option.

To Reproduce

  1. Install the plugin
  2. Enable Apple Pay (via PayPal) payment gateway

Screenshots

Image Image

Expected Behavior

The Refund XXX via PayPal option should be available for orders paid via Apple Pay.

Actual Behavior

Only manual refund is available.

Environment

SydeKrystian commented 1 day ago

Hello @dawidchyrzynski

Thank you for bringing this to our attention.

We’re aware of this issue. We’ve created an issue for it and are working on a fix, which will be available soon.

Kind Regards,
Krystian