#mauricio_error
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1384452552036319355
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Could you please share the complete Stacktrace ?
You are probably getting this expection:
https://stripe.dev/stripe-terminal-ios/docs/Enums/SCPError.html#/c:@E@SCPError@SCPErrorUnexpectedReaderError
Thanks for the quick reply
I don't have the stack trace given this is something that happened to a customer
but in the logs we have that's the only error I see
the customer was able to get paid earlier that day
I can confirm the is being thrown by Terminal.shared.confirmPaymentIntent() closure
Maybe try restart the app and the phone if that happens again
Ok, will suggest that to the customer
Would you be able to provide the possible root cause of the error? Or expand a bit more on that
hi! I'm taking over this thread.
we would need more information to investigate, like the full stack trace.
Hi! Unfortunately we don't have the full stack trace. This is something that happened to a customer. We do have analytic events on each interaction with Stripe SDK would that be helpful?
maybe, it's hard to tell without seeing what you do have.
Event: data.stripe-reader-sdk-connect-success
Param: "reader_id": "appleBuiltIn"
Event: "data.stripe-reader-collect"
Param: "payment_state": "processing"
Event: "data.stripe-reader-collect"
Param: "payment_state": "processing"
Event: error.stripe-reader-collect-error
Params: { "error_code": 5001, "error_message": "An unexpected reader error occurred.", "payment_state": "processing" }
Event: "data.stripe-reader-collect"
Param: "payment_state": "failed"
thanks, but that doesn't really help. so I would just reiterate the suggestion given before:
try restart the app and the phone if that happens again
will try that
thanks so much!
maybe as a feedback, it'd be nice to be more specific on the error description when it happens