mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 13:44:42 +08:00
Use disable funding credit instead of card
PCP-59
This commit is contained in:
parent
4187fbb93c
commit
4123a75054
1 changed files with 1 additions and 1 deletions
|
@ -737,7 +737,7 @@ class SmartButton implements SmartButtonInterface {
|
|||
$region = wc_get_base_location();
|
||||
$country = $region['country'];
|
||||
if ( 'GB' === $country ) {
|
||||
$disable_funding[] = 'card';
|
||||
$disable_funding[] = 'credit';
|
||||
}
|
||||
$params['disable-funding'] = implode( ',', array_unique( $disable_funding ) );
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue