We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug
WC Core doesn’t allow storing two cards within 20 seconds ( https://github.com/woocommerce/woocommerce/blob/d252c8a1d080a00034597562157ddc35f1132aed/plugins/woocommerce/includes/class-wc-form-handler.php#L508 ), showing an error saying, "You cannot add a new payment method so soon after the previous one. Please wait for 20 seconds.".
However, despite presenting this error on the UI, WC Stripe will still actually save the card, bypassing the WC rate-limit limitation.
To Reproduce Steps to reproduce the behavior:
4242424242424242
5555555555554444
Expected behavior The rate limiter should not be ignored, and the payment method should not be saved within the rate limit
Screenshots
Environment (please complete the following information):
Additional context
p1738165444642259-slack-C055WHLA98D
Automattic/woocommerce-payments#10257
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Describe the bug
WC Core doesn’t allow storing two cards within 20 seconds ( https://github.com/woocommerce/woocommerce/blob/d252c8a1d080a00034597562157ddc35f1132aed/plugins/woocommerce/includes/class-wc-form-handler.php#L508 ), showing an error saying, "You cannot add a new payment method so soon after the previous one. Please wait for 20 seconds.".
However, despite presenting this error on the UI, WC Stripe will still actually save the card, bypassing the WC rate-limit limitation.
To Reproduce
Steps to reproduce the behavior:
4242424242424242
card, any future expiry, any CVC5555555555554444
card, any future expiry, any CVCExpected behavior
The rate limiter should not be ignored, and the payment method should not be saved within the rate limit
Screenshots
Environment (please complete the following information):
Additional context
p1738165444642259-slack-C055WHLA98D
Automattic/woocommerce-payments#10257
The text was updated successfully, but these errors were encountered: