-
-
Notifications
You must be signed in to change notification settings - Fork 729
New issue
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
Translate stripe error messages during payment processing #8405
Translate stripe error messages during payment processing #8405
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice. 😎
d4d2379
to
99e9660
Compare
- Stripe error messages aren't translated. But, Stripe send the error code. Use it (if found it, and translation key does exist) to translated the error message - Populate the en.yml file with some of the most known errors Co-Authored-By: Matt-Yorkley <[email protected]>
99e9660
to
7041ec7
Compare
Hey @jibees , To stage this PR it was proceeded as follows:
As an example, here is the error message for This works 🎉 I've found there are still some cases which are not covered by the added keys, like But these can be addressed in separate PRs 👍 Good to go. |
wow now I understand why users are unable to tell us what went wrong with their payments! If they see messages like for insufficient funds in English... 🤦 |
Thanks @filipefurtad0 : feel free to open two separates issues for those two cases, they aren't the same I guess, but I'd be happy to tackle them ;) |
What? Why?
Closes #7961
Stripe error messages aren't translated.
But, Stripe send us an error code: use it (if found it and translation key does exist) to translated the error message
Populate the en.yml file with some of the most known errors
What should we test?
Test that stripe error messages (with different card number: https://stripe.com/docs/testing#cards-responses):
Release notes
Add translation for Stripe errors
Changelog Category: User facing changes