added ApplePay and GooglePay to refund payment methods

This commit is contained in:
Daniel Hüsken 2024-11-04 10:49:06 +01:00
parent 0b6e04d068
commit 19fea3c81e
No known key found for this signature in database
GPG key ID: 9F732DA37FA709E8

View file

@ -528,7 +528,7 @@ return array(
'wcgateway.allowed_refund_payment_methods' => static function ( ContainerInterface $container ): array {
return apply_filters(
'woocommerce_paypal_payments_allowed_refund_payment_methods',
array( PayPalGateway::ID, CreditCardGateway::ID, CardButtonGateway::ID, PayUponInvoiceGateway::ID )
array( PayPalGateway::ID, CreditCardGateway::ID, CardButtonGateway::ID, PayUponInvoiceGateway::ID, GooglePayGateway::ID, ApplePayGateway::ID )
);
},
'wcgateway.processor.authorized-payments' => static function ( ContainerInterface $container ): AuthorizedPaymentsProcessor {