#yogeshwari

1 messages · Page 1 of 1 (latest)

viscid foxBOT
sonic sail
#

Hmm what do you mean by changing stripe error message?

twin acorn
#

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?

sonic sail
#

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

twin acorn
#

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 ?

sonic sail