@pelcro/react-pelcro-js 3.1.0-beta.7 → 3.1.0-beta.8
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 +1 -1
- package/dist/index.esm.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -14131,7 +14131,7 @@ const PaymentMethodContainerWithoutStripe = ({
|
|
|
14131
14131
|
case HANDLE_PAYPAL_SUBSCRIPTION:
|
|
14132
14132
|
return lib_5(state, (state, dispatch) => {
|
|
14133
14133
|
if (type === "invoicePayment") {
|
|
14134
|
-
payInvoice(new
|
|
14134
|
+
payInvoice(new PaypalGateWay(), action.payload, dispatch);
|
|
14135
14135
|
} else {
|
|
14136
14136
|
handlePaypalSubscription(state, action.payload);
|
|
14137
14137
|
}
|
package/dist/index.esm.js
CHANGED
|
@@ -14101,7 +14101,7 @@ const PaymentMethodContainerWithoutStripe = ({
|
|
|
14101
14101
|
case HANDLE_PAYPAL_SUBSCRIPTION:
|
|
14102
14102
|
return lib_5(state, (state, dispatch) => {
|
|
14103
14103
|
if (type === "invoicePayment") {
|
|
14104
|
-
payInvoice(new
|
|
14104
|
+
payInvoice(new PaypalGateWay(), action.payload, dispatch);
|
|
14105
14105
|
} else {
|
|
14106
14106
|
handlePaypalSubscription(state, action.payload);
|
|
14107
14107
|
}
|