#periva101-android

1 messages · Page 1 of 1 (latest)

analog arrow
#

Hi! I'm guessing you are using our Android SDK?

sudden elbow
#

yes

#

thank you soma

#

stacktrace

analog arrow
#

Do you have a request ID (req_xxx) or a PaymentIntent ID (pi_xxx) to share?

sudden elbow
#

ok just a minutes

analog arrow
#

Did you pass a client secret as a parameter when calling googlePayLauncher.presentForPaymentIntent("")?

sudden elbow
#

pi_3KRWUDHKp7BQWgvK0AYESiS2

#

yes

#

stripe.confirmPayment(this, confirmParams) is working 100%

analog arrow
#

Thanks! And can you share the code that is generating the error?

sudden elbow
#

private fun onGooglePayResult(result: GooglePayLauncher.Result) {
when (result) {
is GooglePayLauncher.Result.Failed -> {
Toast.makeText(requireContext(), result.error.toString(), Toast.LENGTH_LONG).show()

analog arrow
#

Thanks! Give me a few minutes to look into this.

manic frigate
#

Hi @sudden elbow this is Jack and I'm also an engineer from Stripe, let me help you on this.

sudden elbow
#

hello jack

manic frigate
#

Give me a sec to catch up

#

Hi @sudden elbow I don't see error in pi_3KRWUDHKp7BQWgvK0AYESiS2 log, the status is requires_capture

sudden elbow
#

i don't know why the library throw outofboundsexception ,I cannot see any array access

#

right

manic frigate
#

Do you still see this error if set capture_method to automatic ?

sudden elbow
#

I did not try

manic frigate
#

Can you give it a try?

sudden elbow
#

yes but I need some times , can you leave this open

manic frigate
#

Sure

sudden elbow
#

jack , can you confirm that google pay does not work with capture_method

manic frigate
#

Google Pay works with both automatic or manual capture_method

#

And I can see you set capture_method=manual in pi_3KRWUDHKp7BQWgvK0AYESiS2

#

And this PI status is now require_capture, which means it's ready for capture

sudden elbow
#

ok thank , I am waiting backend team plz wait

manic frigate
#

The problem you are facing could be an issue with the Android SDK, so I'd like to see if you are getting the same error with capture_method to automatic or not

#

Hi @sudden elbow my shift is over, and my colleague @pine tiger will continue to help you. If your problem cannot be resolved in this Discord session, feel free to write in to us at https://support.stripe.com/contact

sudden elbow
#

ok thank you

sudden elbow
#

hello

tired swift
#

Hey

sudden elbow
#

jack told me to test capture_method =automatic

#

I tried this but does not working

tired swift
#

Oh no! Let me dig into this

sudden elbow
#

yes plz

tired swift
#

Hmm, I think we're going to need some more time to dig into this. Can I ask you to write in to the team so we can spend some time figuring it out? https://support.stripe.com/contact

sudden elbow
#

they give us disocrd

tired swift
#

They shouldn't have directed you here! Can I ask you raise a ticket at that link? Your issue needs some more time for an engineer to investigate

#

Can you share your account ID?

sudden elbow
#

#21923645

tired swift
#

Yeah that ticket is completely unrelated to this issue, so I'd recommend writing in again and you'll be directed to the relevant team

#

Be sure to provide as much context/detail as possible for us to help

sudden elbow
#

ok

#

ok

tired swift
#

Thank you, sorry we couldn't help today