#yogeshwari
1 messages · Page 1 of 1 (latest)
Hmm what do you mean by changing stripe error message?
Like Stripe error message is "This coupon cannot be redeemed because it does not apply to anything in this order."
and i want to covert to "Invalid promotion code for this product"
So is it possible? If yes then how?
Is that errorr from stripe.js (frontend) or backend?
Anyway you can catch the stripe error and display your own message to your customer anytime
Yes I already catch those errors but anything is unique so that I can apply condition on this and check if this value is comes then i will convert to custom message?
Like any Key, any ID ?
Probably this error code? https://stripe.com/docs/error-codes