Form tried to charge card before required fields verified

I have a form, that has required fields, I was testing it, and when I click the submit button, it said I had to enter a card, so I put in the test card and I did not enter all the required fields, especially checking that I agree to the terms.

I hit the submit button after entering just the test card and it said this:
“Your card was declined. Your request was in live mode, but used a known test card.”

Why did it try to process the card, when the required fields were not answered?

Shouldn’t it have popped those errors first?

Live validation is not a current feature of Gravity Forms. That said, the payment add-on is not attempting to capture payment at that stage, the payment gateway is just validating the card. Capturing payment occurs during submission, after the form has passed validation and the entry has been saved.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.