Skip to content

Commit

Permalink
Merge pull request #287 from condor2/patch-2
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCartpenter authored Jun 4, 2024
2 parents a8d8ca1 + 56d875d commit ddb0930
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion upload/catalog/view/javascript/paypal/paypal.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,8 @@ var PayPalAPI = (function () {
src_data['merchant-id'] = paypal_data['merchant_id'];
src_data['currency'] = paypal_data['currency_code'];
src_data['intent'] = paypal_data['transaction_method'];

src_data['locale'] = paypal_data['locale'];

if (paypal_data['button_enable_funding'] && paypal_data['button_enable_funding'].length) {
src_data['enable-funding'] = paypal_data['button_enable_funding'].join(',');
}
Expand Down

0 comments on commit ddb0930

Please sign in to comment.