stripe-i18n icon indicating copy to clipboard operation
stripe-i18n copied to clipboard

Integrate other Error's types

Open Willgg opened this issue 5 years ago • 3 comments

I noticed only Stripe::CardError are handled in this gem. Could we handle the translation for other error type such as :

  • Stripe::RateLimitError
  • Stripe::InvalidRequestError
  • Stripe::AuthenticationError
  • Stripe::APIConnectionError
  • Stripe::StripeError

Stripe official documentation about Errors Handling : https://stripe.com/docs/api/errors/handling

Willgg avatar Aug 21 '19 15:08 Willgg

@Willgg did you find another repo with all the translations?

DonovanCharpin avatar May 09 '20 20:05 DonovanCharpin

Thank you for this gem!

Where can I find all stripe checkout error codes and descriptions (up to date)? at least in English. For example, I have this one "incomplete_number" if the provided card number is incomplete

Thank you!

estafaa avatar Nov 19 '20 00:11 estafaa

@DonovanCharpin nope that's why I opened this issue in this gem.

Willgg avatar Nov 24 '20 15:11 Willgg