mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Allow PayPal gateway for saved credit cards
This commit is contained in:
parent
6bfb8b2c2a
commit
a280a19ec1
1 changed files with 4 additions and 1 deletions
|
@ -79,7 +79,10 @@ class DisableGateways {
|
|||
}
|
||||
|
||||
if ( $this->is_credit_card() ) {
|
||||
return array( CreditCardGateway::ID => $methods[ CreditCardGateway::ID ] );
|
||||
return array(
|
||||
CreditCardGateway::ID => $methods[ CreditCardGateway::ID ],
|
||||
PayPalGateway::ID => $methods[ PayPalGateway::ID ],
|
||||
);
|
||||
}
|
||||
return array( PayPalGateway::ID => $methods[ PayPalGateway::ID ] );
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue