From 62878be1640076bb9b2f49cd4112bef9fed48673 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20H=C3=BCsken?= Date: Thu, 31 Oct 2024 08:44:23 +0100 Subject: [PATCH] Add GW refund support for Apple Pay --- modules/ppcp-applepay/src/ApplePayGateway.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/ppcp-applepay/src/ApplePayGateway.php b/modules/ppcp-applepay/src/ApplePayGateway.php index 3ee57ee96..fbbdac900 100644 --- a/modules/ppcp-applepay/src/ApplePayGateway.php +++ b/modules/ppcp-applepay/src/ApplePayGateway.php @@ -105,6 +105,11 @@ class ApplePayGateway extends WC_Payment_Gateway { ) { $this->id = self::ID; + $this->supports = array( + 'refunds', + 'products', + ); + $this->method_title = __( 'Apple Pay (via PayPal) ', 'woocommerce-paypal-payments' ); $this->method_description = __( 'Display Apple Pay as a standalone payment option instead of bundling it with PayPal.', 'woocommerce-paypal-payments' );