Issue description

When the user enter a Credit Card expired or Declined, the user is not able to enter a new Credit card information

Steps to reproduce

1. Go to checkout process
2. Enter a Declined credit card number 4000000000000002 (test mode) any expiration date and CVC
3. Press continue to checkout
4. The form will show an error
5. Enter a valid credit card number 4242424242424242 (test mode) any expiration date and CVC
6. Press continue to checkout
7. The form will show an error (which is not right)

This is because the module is always sending the first wrong credit card information

Comments

juanramonperez created an issue. See original summary.

juanramonperez’s picture

ts.ag’s picture

Title: After entering a declined card, User is no longer able to enter a correct card » Persistent errors on payment method form elements block resubmission
StatusFileSize
new417 bytes

Rerolled for 8.x-1.3.

The first received error is persistent through all subsequent form resubmissions regardless of reason (might be a Stripe network issue unrelated to card validity), so the user might also be given a misleading reason for subsequent invalid card retries.