@pinerohit11/testwidget 0.2.112 → 0.2.114
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.js +4 -0
- package/dist/index.mjs +4 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -2576,6 +2576,8 @@ function GetPaymentPage(props) {
|
|
2576
2576
|
} catch (err) {
|
2577
2577
|
setActive("card");
|
2578
2578
|
hideLoader();
|
2579
|
+
handleClose();
|
2580
|
+
showError("Something went wrong , Try again later");
|
2579
2581
|
}
|
2580
2582
|
};
|
2581
2583
|
const handlechargeCustomer = async () => {
|
@@ -3176,6 +3178,8 @@ function PreAuthPayment(props) {
|
|
3176
3178
|
console.log(err);
|
3177
3179
|
setActive("card");
|
3178
3180
|
hideLoader();
|
3181
|
+
handleClose();
|
3182
|
+
showError("Something went wrong , Try again later");
|
3179
3183
|
}
|
3180
3184
|
};
|
3181
3185
|
const handlechargeCustomer = async () => {
|
package/dist/index.mjs
CHANGED
@@ -2538,6 +2538,8 @@ function GetPaymentPage(props) {
|
|
2538
2538
|
} catch (err) {
|
2539
2539
|
setActive("card");
|
2540
2540
|
hideLoader();
|
2541
|
+
handleClose();
|
2542
|
+
showError("Something went wrong , Try again later");
|
2541
2543
|
}
|
2542
2544
|
};
|
2543
2545
|
const handlechargeCustomer = async () => {
|
@@ -3138,6 +3140,8 @@ function PreAuthPayment(props) {
|
|
3138
3140
|
console.log(err);
|
3139
3141
|
setActive("card");
|
3140
3142
|
hideLoader();
|
3143
|
+
handleClose();
|
3144
|
+
showError("Something went wrong , Try again later");
|
3141
3145
|
}
|
3142
3146
|
};
|
3143
3147
|
const handlechargeCustomer = async () => {
|