#hexer

1 messages · Page 1 of 1 (latest)

unborn onyxBOT
silver oriole
#

Hi there!

#

I think the page you linked should contain everything.

#

And I'm sure if we translate these error messages.

spice moat
#

So "DESCRIPTION" is displayed to customers as msg?

silver oriole
#

It depends. How are you accepting payments? Checkout Session, Payment Element, something else?

spice moat
#

With Payment Element

silver oriole
#

Let me run some tests.

spice moat
#

what I want to achieve is to have custom message for all default unknown reason for decline

#

but not sure how can i target these, there are to many of them by just going one by one

silver oriole
#

Why don't you display directly the error message Stripe returns? It should be automatically translated for your users.

unborn onyxBOT
spice moat
#

Sometime its just generic and users stop with re-trying payment

random pelican
#

Hey! Taking over for my colleague.

random pelican
spice moat
#

yeah, and it will be better that generic msg is actually telling to customer to contact bank instead "The card was declined for an unknown reason."

#

i want to target this kind of messages and display my custom

#

but im not sure what error events this generic message through "decline_code" definition

random pelican
spice moat
#

but there are more of them with generic messages, beside generic_decline.. for example "do_not_honor" also display that generic message

random pelican
#

You display the same message for that code too

spice moat
#

i can filter this page https://stripe.com/docs/declines/codes with "unknown reason" and target all codes with it and use my custom message? there is no better way?

Understand what decline codes mean and how you can resolve them when a charge is declined.

#

or for: "The customer needs to contact their card issuer for more information."

random pelican
spice moat
#

so there is no way to actually find out what is message displayed to user? if its not this from "description" column on https://stripe.com/docs/declines/codes

Understand what decline codes mean and how you can resolve them when a charge is declined.

#

can i somehow trigger manually error event to see msg?

random pelican
spice moat
#

ok tnx