Persistent errors on payment method form elements block resubmission

Created on 12 May 2021, almost 4 years ago
Updated 14 March 2025, 24 days ago

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

🐛 Bug report
Status

Active

Version

1.0

Component

Stripe Checkout

Created by

🇦🇷Argentina juanramonperez

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 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.

Production build 0.71.5 2024