#harun-_unexpected

1 messages ยท Page 1 of 1 (latest)

weary nicheBOT
#

๐Ÿ‘‹ 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/1440614879567548497

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

thorny lichen
#

hi there!

gray flame
#

Hey

#

My previous thread was closed by you guys. Can you please refer to this thread

#

So I'm facing a problem in FORCE_OFFLINE mode integrating the Stripe terminal SDK where the Android POS device goes offline for a long period of time and the connection token getting expired

thorny lichen
#

looking into this

gray flame
thorny lichen
#

do you get the error when trying to process the payments while offline, or the error happens once the devices goes back online and try to send the stored payments to Stripe?

gray flame
#

What we noticed most of the time is, when the system is idle for a long time, this happens

thorny lichen
#

while you are offline, did you somehow change the connectionToken? because you should keep using the last valid connectionToken while offline.

gray flame
#

Yeah correct, we are using the cached connection token, but it is getting expired unexpectedly while the device is in offiline

#

The Intergration have no control over changing or modifying the connection token

thorny lichen
gray flame
#

Yes, we do that

#

Once the device comes back online and the SDK fetches the connection token, everything works normally

thorny lichen
#

then I'm confused. when exactly do you get the error "CONNECTION_TOKEN_PROVIDER_ERROR_WHILE_FORWARDING"?

gray flame
#

In this specific case, I'll help you with the timelines,

  1. POS were doing offline payments. Every payment went successfully.
  2. POS was not operational(idle) for a very long time.(6 to 8 hours)
  3. When the user again started using the system, we got a log saying that CONNECTION_TOKEN_PROVIDER_ERROR_WHILE_FORWARDING.
#

Please let me know if that helps

thorny lichen
#

so there's no issue with offline payments? the actual issue is that after a long idle time, payments fail with CONNECTION_TOKEN_PROVIDER_ERROR_WHILE_FORWARDING?

weary nicheBOT