#melodyclue

1 messages · Page 1 of 1 (latest)

full pagodaBOT
eternal knoll
#

hello! what do you mean by "used" in frontside?

#

it's not dangerous, you can't do anything with the Price id alone without the secret key

twin sphinx
#

I have price table to let users update thier subscriptions to use PriceId. In that part, I put priceId directly in Front-side on NextJS.

eternal knoll
#

there's no problem with that off the top of my head. Do you have any specific concerns?

twin sphinx
#

I was told that showing custome ID to the front side was dangerous, so I wondered if the same was true for Price Id

eternal knoll
#

nothing comes to mind for me about anything that is dangerous about using the Price Id on the frontend

twin sphinx
#

ok !

eternal knoll
#

@twin sphinx lets continue the conversation in the same thread

#

Can I change the language of STRIPE error messages?

Which Stripe error messages are you referring to? Can you give an example?

#

Stripe has localized error messages for client-side errors i.e. errors returned from Elements, Checkout and our mobile SDKs. Server-side API errors are not localized today and all error messages are returned in English only.

twin sphinx
#

I wanted to set the server-side API errors to Japanese, but I see that only the front can be localised.

eternal knoll
#

yep, that's correct

twin sphinx
#

ok!