@pelcro/react-pelcro-js 3.6.0-beta.23 → 3.6.0-beta.24
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
|
@@ -15251,7 +15251,7 @@ const PaymentMethodContainerWithoutStripe = ({
|
|
|
15251
15251
|
}, (err, res) => {
|
|
15252
15252
|
if (err) {
|
|
15253
15253
|
// Inform the user if there was an error
|
|
15254
|
-
onFailure(
|
|
15254
|
+
onFailure(err);
|
|
15255
15255
|
dispatch({
|
|
15256
15256
|
type: DISABLE_SUBMIT,
|
|
15257
15257
|
payload: false
|
|
@@ -15264,7 +15264,7 @@ const PaymentMethodContainerWithoutStripe = ({
|
|
|
15264
15264
|
type: SHOW_ALERT,
|
|
15265
15265
|
payload: {
|
|
15266
15266
|
type: "error",
|
|
15267
|
-
content: getErrorMessages(
|
|
15267
|
+
content: getErrorMessages(err)
|
|
15268
15268
|
}
|
|
15269
15269
|
});
|
|
15270
15270
|
} else {
|
package/dist/index.esm.js
CHANGED
|
@@ -15221,7 +15221,7 @@ const PaymentMethodContainerWithoutStripe = ({
|
|
|
15221
15221
|
}, (err, res) => {
|
|
15222
15222
|
if (err) {
|
|
15223
15223
|
// Inform the user if there was an error
|
|
15224
|
-
onFailure(
|
|
15224
|
+
onFailure(err);
|
|
15225
15225
|
dispatch({
|
|
15226
15226
|
type: DISABLE_SUBMIT,
|
|
15227
15227
|
payload: false
|
|
@@ -15234,7 +15234,7 @@ const PaymentMethodContainerWithoutStripe = ({
|
|
|
15234
15234
|
type: SHOW_ALERT,
|
|
15235
15235
|
payload: {
|
|
15236
15236
|
type: "error",
|
|
15237
|
-
content: getErrorMessages(
|
|
15237
|
+
content: getErrorMessages(err)
|
|
15238
15238
|
}
|
|
15239
15239
|
});
|
|
15240
15240
|
} else {
|