Merge pull request #2746 from woocommerce/PCP-3823_Allow-refunds-for-Apple-Pay

Add GW refund support for Apple Pay
This commit is contained in:
Emili Castells 2024-11-04 16:46:52 +01:00 committed by GitHub
commit ec4035fa63
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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' );