Skip to content

Commit

Permalink
Updated status code != 200 to failed in payment-form component
Browse files Browse the repository at this point in the history
  • Loading branch information
nidhish-nayak committed Aug 5, 2023
1 parent 194799f commit 85deaf8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/payment-form/payment-form.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ const PaymentForm = () => {
setUserPayment("successful");
} else {
console.log("PAYMENT FAILED");
setUserPayment("failed");
}
},

Expand Down

0 comments on commit 85deaf8

Please sign in to comment.