#ks-mobile-sdk

1 messages · Page 1 of 1 (latest)

grizzled burrow
#

@slender edge do you have more details like an example PaymentIntent id pi_123

slender edge
#

sure. 1 sec

#

@grizzled burrow pi_3JrZ1yJwYUP6g6g20608Wx4u1

grizzled burrow
#

that id doesn't exist

slender edge
#

sorry, let me double check

#

should be pi_3JrZ1yJwYUP6g6g20608Wx4u . sorry for typo

grizzled burrow
#

401 looks like a permission error too. Is your code just retrying and succeeding?

slender edge
#

This seems weird.. our code received 2 errors:

Error Domain=STPPaymentHandlerErrorDomain Code=7 “There was an unexpected error -- try again in a few seconds” UserInfo={com.stripe.lib:ErrorMessageKey=The current action is not yet completed. STPPaymentHandler does not support concurrent calls to its API., NSLocalizedDescription=There was an unexpected error -- try again in a few seconds}

#

and

Error Domain=STPPaymentHandlerErrorDomain Code=0 “There was an unexpected error -- try again in a few seconds” UserInfo={NSLocalizedDescription=There was an unexpected error -- try again in a few seconds, com.stripe.lib:ErrorMessageKey=The SDK doesn’t recognize the PaymentIntent action type., STPIntentAction=<Stripe.STPIntentAction: 0x600000b276b0; type = use_stripe_sdk; useStripeSDK = <STPIntentActionUseStripeSDK: 0x600001a51ef0; directoryServer = nil; directoryServerID = nil; directoryServerKeyID = nil; serverTransactionID = nil; directoryServerCertificate = nil; rootCertificateStrings = nil; threeDSSourceID = nil; type = Optional(stripe_3ds2_challenge); redirectURL = nil>>}

grizzled burrow
#

can you share your code?

slender edge
grizzled burrow
#

Ack thanks. My team is in a meeting but someone will be able to help/reply in ~30 minutes if you can wait. Otherwise you'll want to chat with our support team about this: https://support.stripe.com/contact

slender edge
#

sure. we can wait. thanks in advance

pale notch
#

heya @slender edge! could you share which line exactly is throwing those two errors?

slender edge
#

hi @pale notch . first error comes from confirmPayment() . the other one handleNextAction

pale notch
#

hmmm, Regarding the STPPaymentHandler does not support concurrent calls to its API error, this usually happens when you call methods on STPPaymentHandler, like confirmPayment, before the previous STPPaymentHandler method has completed.

In general, i'm not familiar enough with mobile to be able to troubleshoot this for you on the spot, I'm sorry to have to redirect you, but can you write in to support@stripe.com with the error messages, code snippet, and example PaymentIntent id you've provided? Someone else more familiar with mobile will take a look at it

slender edge
#

sure. thanks a lot