Facing duplicate entry problem despite declined transaction in Stripe
When a Stripe payment is declined while filling a form and the form is not submitted, and the user tries to fill the form again, the form shows "duplicate" value for a mandatory field for which no duplicate value is allowed. This means that despite a declined payment and the form not getting submitted, the field values are somehow getting stored and the user is unable to fill the form because of that.