diff --git a/js/civicrm_stripe.js b/js/civicrm_stripe.js
index 8377bb57f80689c9566311bd139aaed93db4f73c..19ea80ef36d472aae26469b0692947ef068cbb22 100644
--- a/js/civicrm_stripe.js
+++ b/js/civicrm_stripe.js
@@ -437,6 +437,7 @@ CRM.$(function($) {
       if (($(form).valid() === false) || $(form).data('crmBillingFormValid') === false) {
         debugging('Form not valid');
         $('div#card-errors').hide();
+        form.dataset.submitted = 'false';
         notifyUser('error', '', ts('Please check and fill in all required fields!'), '#crm-container');
         triggerEvent('crmBillingFormNotValid');
         return false;