We encountered this exact problem. As Guy Thomas noted, this is due to the presence of password fields in the CC field form.
After many tests, I decided that the password fields can be switched to another type before submitting the form (in our case, I simply switched to hidden ). This allowed us to submit the form even after selecting “Not Now” in the dialog box.
$("#submit").on("click", function(){ try{ $("input[type=password]").attr("type", "hidden"); } catch(ex){ try { $("input[type=password]").prop("type", "hidden"); } catch(ex) {} } });
I added try / catch, because depending on the version of browser / jquery changing the type attribute will be an error.
source share