We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c68a45 commit a2ef611Copy full SHA for a2ef611
components/Checkout/CheckoutForm.vue
@@ -91,7 +91,7 @@ const handleSubmit = ({
91
92
mutate(checkoutData);
93
94
- onDone(() => alert("Order placed!"));
+ onDone(async () => await navigateTo("/success"));
95
96
onError(() => alert("Error, order not placed"));
97
};
0 commit comments