mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Add intent type to the smart button URL param
This commit is contained in:
parent
07bda403e3
commit
717b7d1689
1 changed files with 1 additions and 0 deletions
|
@ -81,6 +81,7 @@ class SmartButton implements SmartButtonInterface
|
|||
//ToDo: Probably only needed, when DCC
|
||||
'vault' => 'true',
|
||||
'commit' => is_checkout() ? 'true' : 'false',
|
||||
'intent' => $this->settings->get('intent')
|
||||
];
|
||||
$smartButtonUrl = add_query_arg($params, 'https://www.paypal.com/sdk/js');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue