Add refunds support for bancontact gateway and fix tests

This commit is contained in:
Emili Castells Guasch 2024-08-20 12:25:22 +02:00
parent fee2b0ff0f
commit 3dc3026c29
5 changed files with 84 additions and 44 deletions

View file

@ -92,6 +92,11 @@ class GooglePayGateway extends WC_Payment_Gateway {
) {
$this->id = self::ID;
$this->supports = array(
'refunds',
'products',
);
$this->method_title = __( 'Google Pay (via PayPal) ', 'woocommerce-paypal-payments' );
$this->method_description = __( 'The separate payment gateway with the Google Pay button. If disabled, the button is included in the PayPal gateway.', 'woocommerce-paypal-payments' );