#ks-mobile-sdk
1 messages · Page 1 of 1 (latest)
that id doesn't exist
I don't see any error, that one was confirmed client-side with your mobile app without any error: https://dashboard.stripe.com/logs/req_yTi0emx01Q367G
401 looks like a permission error too. Is your code just retrying and succeeding?
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>>}
can you share your code?
here is our code
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
sure. we can wait. thanks in advance
heya @slender edge! could you share which line exactly is throwing those two errors?
hi @pale notch . first error comes from confirmPayment() . the other one handleNextAction
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
sure. thanks a lot