mainstack-payments 0.1.4 → 0.1.5
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.
|
@@ -26306,7 +26306,7 @@ const WL = "Payment Completed", HL = ({
|
|
|
26306
26306
|
da,
|
|
26307
26307
|
{
|
|
26308
26308
|
id: "fullname",
|
|
26309
|
-
label: "Your name
|
|
26309
|
+
label: "Your name",
|
|
26310
26310
|
name: "fullname",
|
|
26311
26311
|
onChange: (se) => D.setFieldValue("fullname", se.target.value),
|
|
26312
26312
|
value: (si = D.values) == null ? void 0 : si.fullname,
|
|
@@ -26321,7 +26321,7 @@ const WL = "Payment Completed", HL = ({
|
|
|
26321
26321
|
da,
|
|
26322
26322
|
{
|
|
26323
26323
|
id: "email",
|
|
26324
|
-
label: "Email address
|
|
26324
|
+
label: "Email address",
|
|
26325
26325
|
name: "email",
|
|
26326
26326
|
onChange: (se) => D.setFieldValue("email", se.target.value),
|
|
26327
26327
|
value: (ci = D.values) == null ? void 0 : ci.email,
|
|
@@ -26462,8 +26462,10 @@ const WL = "Payment Completed", HL = ({
|
|
|
26462
26462
|
onClick: async (se) => {
|
|
26463
26463
|
if (se.preventDefault(), ae(!0), l) {
|
|
26464
26464
|
const Le = await l(D.values);
|
|
26465
|
-
if (Le != null && Le.terminate)
|
|
26465
|
+
if (Le != null && Le.terminate) {
|
|
26466
|
+
ae(!1);
|
|
26466
26467
|
return;
|
|
26468
|
+
}
|
|
26467
26469
|
ae(!1), D.submitForm();
|
|
26468
26470
|
} else
|
|
26469
26471
|
ae(!1), D.submitForm();
|