diff --git a/src/components/payment-form/payment-form.component.tsx b/src/components/payment-form/payment-form.component.tsx index fbc593a..d1acd54 100644 --- a/src/components/payment-form/payment-form.component.tsx +++ b/src/components/payment-form/payment-form.component.tsx @@ -67,6 +67,7 @@ const PaymentForm = () => { setUserPayment("successful"); } else { console.log("PAYMENT FAILED"); + setUserPayment("failed"); } },