mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Merge pull request #169 from woocommerce/PCP-150-venmo-update
Venmo update
This commit is contained in:
commit
a199a8ca63
1 changed files with 2 additions and 0 deletions
|
@ -754,6 +754,8 @@ class SmartButton implements SmartButtonInterface {
|
|||
$params['disable-funding'] = implode( ',', array_unique( $disable_funding ) );
|
||||
}
|
||||
|
||||
$params['enable-funding'] = 'venmo';
|
||||
|
||||
$smart_button_url = add_query_arg( $params, 'https://www.paypal.com/sdk/js' );
|
||||
return $smart_button_url;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue