I want to display an error message for the user if the user’s credit card payment fails.
I believe the API response ("detail"
) is available as an error message.
for example:
{"errors": [{
"code": "VALUE_TOO_LOW",
"detail": "total requested amount 1 is below the minimum allowed",
"category": "INVALID_REQUEST_ERROR"
}]}
But this is in English.
I need to display messages in Japanese.
Is there a way to make this Japanese?
I expect that it may be solved by setting the language setting to “Japanese” on this page.
https://squareupsandbox.com/dashboard/account/preferences
However, due to the sandbox environment, I cannot know the password to change the settings.
Thank you very much.