#billhyuou
1 messages · Page 1 of 1 (latest)
👋 happy to help
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
which integration are you using?
googlePayLauncher?.presentForPaymentIntent(
isEmptyNoBlank(googlepayInfoBean.clientSecret)
)
would you mind sharing the link in the docs you're using?
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
if you prefer you can contact https://support.stripe.com/?contact=true and get support in your native tongue
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
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
Hey! Taking over for my colleague. Let me catch up.
u look so cool
You should have a result object, did you tried to inspect result.error for the exception ?
get RuntimeException
but we want to get detail error info
the customer can know where error,but we not get
Yeah so there you have all the details you need, it's a Throwable object you can get the complete stacktrace behind that exception
So you can monitor, inspect error.stackTrace(ToString)
Try to debug that object and inspect all its fields
try it.error.stackTraceToString()
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
That is from Google Pay, an not Stripe
but we not get Payment declined error to me
Is this in live mode ?
Yeah that's a decline code from Google Pay
Not reached to Stripe Gateway
try using another card
so i not get detail error from this sdk?
And in live more make sure to follow this:
https://stripe.com/docs/google-pay?platform=android#going-live
For that error code, no. Can you share with me the PaymentIntent Id you are using during that test ?
That' card is declined from Google and the customer need to use another card.
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
Welcome!
this can close , tks