@pelcro/react-pelcro-js 3.22.0-beta.3 → 3.22.0-beta.4
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 +3 -0
- package/dist/index.esm.js +3 -0
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -17804,6 +17804,9 @@ const PaymentMethodContainerWithoutStripe = _ref => {
|
|
|
17804
17804
|
disableSubmit: true,
|
|
17805
17805
|
isLoading: true
|
|
17806
17806
|
}, (state, dispatch) => {
|
|
17807
|
+
if (skipPayment && (order === null || order === void 0 ? void 0 : order.price) === 0) {
|
|
17808
|
+
return submitPayment(state);
|
|
17809
|
+
}
|
|
17807
17810
|
if (getSiteCardProcessor() === "vantiv") {
|
|
17808
17811
|
return submitUsingVantiv();
|
|
17809
17812
|
}
|
package/dist/index.esm.js
CHANGED
|
@@ -17774,6 +17774,9 @@ const PaymentMethodContainerWithoutStripe = _ref => {
|
|
|
17774
17774
|
disableSubmit: true,
|
|
17775
17775
|
isLoading: true
|
|
17776
17776
|
}, (state, dispatch) => {
|
|
17777
|
+
if (skipPayment && (order === null || order === void 0 ? void 0 : order.price) === 0) {
|
|
17778
|
+
return submitPayment(state);
|
|
17779
|
+
}
|
|
17777
17780
|
if (getSiteCardProcessor() === "vantiv") {
|
|
17778
17781
|
return submitUsingVantiv();
|
|
17779
17782
|
}
|