You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to ensure that backend unlocalized error codes, such as Stripe::ERRORS_FOR_CODES, are localized in the frontend. Can possibly use Suma::Service.localized_error_codes.include?(code) to check if exposed errors are valid (the method checks localized error strings json file)
The text was updated successfully, but these errors were encountered:
We need to ensure that backend unlocalized error codes, such as
Stripe::ERRORS_FOR_CODES
, are localized in the frontend. Can possibly useSuma::Service.localized_error_codes.include?(code)
to check if exposed errors are valid (the method checks localized error strings json file)The text was updated successfully, but these errors were encountered: