@gomusdev/web-components 1.27.0 → 1.27.1
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.
|
@@ -16132,7 +16132,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
|
|
|
16132
16132
|
}
|
|
16133
16133
|
const beforeSubmit = go.config.forms.checkoutGuest?.beforeSubmit;
|
|
16134
16134
|
if (beforeSubmit) {
|
|
16135
|
-
beforeSubmit(form.details.formData);
|
|
16135
|
+
await beforeSubmit(form.details.formData);
|
|
16136
16136
|
}
|
|
16137
16137
|
const paymentUrl = checkout.data.meta.payment_url;
|
|
16138
16138
|
go.config.navigateTo?.(paymentUrl);
|
|
@@ -16132,7 +16132,7 @@ function CheckoutForm($$anchor, $$props) {
|
|
|
16132
16132
|
}
|
|
16133
16133
|
const beforeSubmit = go.config.forms.checkoutGuest?.beforeSubmit;
|
|
16134
16134
|
if (beforeSubmit) {
|
|
16135
|
-
beforeSubmit(form.details.formData);
|
|
16135
|
+
await beforeSubmit(form.details.formData);
|
|
16136
16136
|
}
|
|
16137
16137
|
const paymentUrl = checkout.data.meta.payment_url;
|
|
16138
16138
|
go.config.navigateTo?.(paymentUrl);
|