@pelcro/react-pelcro-js 3.26.0-beta.62 → 3.26.0-beta.63
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.
- package/dist/index.cjs.js +2 -2
- package/dist/index.esm.js +2 -2
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -19489,7 +19489,7 @@ const PaymentMethodContainerWithoutStripe = _ref => {
|
|
|
19489
19489
|
}
|
|
19490
19490
|
});
|
|
19491
19491
|
}
|
|
19492
|
-
if (type == "
|
|
19492
|
+
if (type == "updatePaymentSource" || type == "deletePaymentSource") {
|
|
19493
19493
|
handleBraintreePayment(payload, state);
|
|
19494
19494
|
} else {
|
|
19495
19495
|
braintree3DSecureInstanceRef.current.then(threeDSecureInstance => {
|
|
@@ -19497,7 +19497,7 @@ const PaymentMethodContainerWithoutStripe = _ref => {
|
|
|
19497
19497
|
onLookupComplete: function (data, next) {
|
|
19498
19498
|
next();
|
|
19499
19499
|
},
|
|
19500
|
-
amount: totalAmount,
|
|
19500
|
+
amount: totalAmount !== null && totalAmount !== void 0 ? totalAmount : "0.00",
|
|
19501
19501
|
nonce: payload.nonce,
|
|
19502
19502
|
bin: payload.details.bin
|
|
19503
19503
|
}).then(payload => {
|
package/dist/index.esm.js
CHANGED
|
@@ -19459,7 +19459,7 @@ const PaymentMethodContainerWithoutStripe = _ref => {
|
|
|
19459
19459
|
}
|
|
19460
19460
|
});
|
|
19461
19461
|
}
|
|
19462
|
-
if (type == "
|
|
19462
|
+
if (type == "updatePaymentSource" || type == "deletePaymentSource") {
|
|
19463
19463
|
handleBraintreePayment(payload, state);
|
|
19464
19464
|
} else {
|
|
19465
19465
|
braintree3DSecureInstanceRef.current.then(threeDSecureInstance => {
|
|
@@ -19467,7 +19467,7 @@ const PaymentMethodContainerWithoutStripe = _ref => {
|
|
|
19467
19467
|
onLookupComplete: function (data, next) {
|
|
19468
19468
|
next();
|
|
19469
19469
|
},
|
|
19470
|
-
amount: totalAmount,
|
|
19470
|
+
amount: totalAmount !== null && totalAmount !== void 0 ? totalAmount : "0.00",
|
|
19471
19471
|
nonce: payload.nonce,
|
|
19472
19472
|
bin: payload.details.bin
|
|
19473
19473
|
}).then(payload => {
|