Merge pull request #169 from woocommerce/PCP-150-venmo-update

Venmo update
This commit is contained in:
Emili Castells 2021-07-01 09:24:49 +02:00 committed by GitHub
commit a199a8ca63
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
}