web fixes

This commit is contained in:
2026-04-15 00:38:04 -06:00
parent 51a03fe2c5
commit 3111553009
6 changed files with 14 additions and 11 deletions

View File

@@ -43,6 +43,9 @@ function PaymentForm({ clientSecret, totalAmount, onSuccess, onCancel }) {
try {
await apiCompleteCheckout(token, paymentIntentId);
} catch {
setPayError("Order confirmation failed. Please contact support.");
setPaying(false);
return;
}
onSuccess();
}