@osovitny/anatoly 3.20.32 → 3.20.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -5696,6 +5696,9 @@ class BraintreeDialog extends DialogBase {
|
|
|
5696
5696
|
Created:
|
|
5697
5697
|
14 Jun 2024
|
|
5698
5698
|
|
|
5699
|
+
SDK:
|
|
5700
|
+
https://developer.paypal.com/sdk/js/configuration/#query-parameters
|
|
5701
|
+
|
|
5699
5702
|
Copyright (c) 2016-2025 Osovitny Inc. All rights reserved.
|
|
5700
5703
|
</file>
|
|
5701
5704
|
*/
|
|
@@ -6145,7 +6148,7 @@ class PaypalButtonComponent extends ComponentBase {
|
|
|
6145
6148
|
let totalPrice = this.ps.getTotal().toString();
|
|
6146
6149
|
let currency = this.ps.currency;
|
|
6147
6150
|
this.payPalConfig = {
|
|
6148
|
-
intent: '
|
|
6151
|
+
intent: 'capture',
|
|
6149
6152
|
clientId: clientId,
|
|
6150
6153
|
currency: currency,
|
|
6151
6154
|
advanced: {
|
|
@@ -6161,7 +6164,7 @@ class PaypalButtonComponent extends ComponentBase {
|
|
|
6161
6164
|
color: 'white'
|
|
6162
6165
|
},
|
|
6163
6166
|
createOrderOnClient: (data) => ({
|
|
6164
|
-
intent: '
|
|
6167
|
+
intent: 'capture',
|
|
6165
6168
|
application_context: {
|
|
6166
6169
|
shipping_preference: "NO_SHIPPING"
|
|
6167
6170
|
},
|