#billhyuou

1 messages · Page 1 of 1 (latest)

mystic hareBOT
radiant sedge
#

👋 happy to help

proper hull
#

first ,tk u help me,yesterday

#

i use phone show stripe google pay,but i use error card to pay ,not get more error info from stripe google pay sdk

#

i use GooglePayLauncher

#

when get resultCallback,i get GooglePayLauncher.Result.Failed ,but not get more detail error info from stripe google pay

radiant sedge
#

which integration are you using?

proper hull
#

googlePayLauncher?.presentForPaymentIntent(
isEmptyNoBlank(googlepayInfoBean.clientSecret)
)

radiant sedge
#

would you mind sharing the link in the docs you're using?

proper hull
#

yes

#

i think u not understand me,may i english poor

#

i use this sdk can pay success

#

but i wanna if pay failed,i want to get more error info to notice our

radiant sedge
proper hull
#

english can ok

#

i use this sdk can pay success
but i wanna if pay failed,i want to get more error info to notice our

#

it.error.message, not get detail error

#

error only Google Pay failed with error:

#

not more info

crimson wharf
#

Hey! Taking over for my colleague. Let me catch up.

proper hull
#

u look so cool

crimson wharf
#

You should have a result object, did you tried to inspect result.error for the exception ?

proper hull
#

get RuntimeException

#

but we want to get detail error info

#

the customer can know where error,but we not get

crimson wharf
#

Yeah so there you have all the details you need, it's a Throwable object you can get the complete stacktrace behind that exception

proper hull
#

yes, it's a Throwable object

#

but i log throwable.tostring,but no detail info

crimson wharf
#

So you can monitor, inspect error.stackTrace(ToString)

proper hull
#

not get the complete stacktrace

#

let's me try

crimson wharf
#

Try to debug that object and inspect all its fields

proper hull
#

is right?

#

but this can't get more

crimson wharf
#

try it.error.stackTraceToString()

proper hull
#

only info runtimeException:Google Pay failed with error:

#

ok

#

i will try again

#

i can get this but it not we need

#

What customers see here

crimson wharf
proper hull
#

but we not get Payment declined error to me

crimson wharf
#

Is this in live mode ?

proper hull
#

no test mode

#

stripe not get this error info to give me?

crimson wharf
#

Yeah that's a decline code from Google Pay

#

Not reached to Stripe Gateway

#

try using another card

proper hull
#

so i not get detail error from this sdk?

crimson wharf
crimson wharf
proper hull
#

this card have probleam

#

i only want this,to get import info to us

crimson wharf
#

That' card is declined from Google and the customer need to use another card.

proper hull
#

ok tks , i know the stripe sdk not get error msg more

#

this card is google test card

#

i only want to get more error info

#

to get To analyze customer fail pay reason,just

#

ok no

#

no matter

#

thank u so mach

crimson wharf
#

Welcome!

proper hull
#

this can close , tks