#xihadislam_code

1 messages ยท Page 1 of 1 (latest)

quaint rockBOT
#

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

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

little cobalt
#

hi there!

#

I am having a problem connecting a WiseposE reader while offline (my offline mode is enabled),
what is the problem exactly?

quick thunder
#

the problem is i am unable to connect my wiseposE reader while offline to take payment offline fully

little cobalt
#

but what happens concretely? do you get an error message? if so, which one?

quick thunder
#

the exception i am getting
...com.stripe.stripeterminal.external.models.TerminalException: Account id must not be null, connect to reader while online.
at com.stripe.offlinemode.storage.DefaultOfflineRepository.getActiveAccountId(DefaultOfflineRepository.kt:146)
at com.stripe.offlinemode.storage.ProxyOfflineRepository.getActiveAccountId(Unknown Source:2)
at com.stripe.offlinemode.storage.OfflineRepository.discoverOfflineReaderList$default(OfflineRepository.kt:280)
at com.stripe.offlinemode.storage.AndroidOfflineIpReaderStoreKt.get_ipReaderStore$lambda$1(AndroidOfflineIpReaderStore.kt:12)

#

actuly sdk tring to fetch connection token from api server, as there is no internet is not getting. but as per document is shoul be managed by reader. while offline it should not api

little cobalt
#

which documentation page are you following?

quick thunder
#

can you provide me a sample code referance for offline terminal payment for wiseposE in android

tepid dragon
#

Can you first try and connect the reader whilst online? Did you try that already?

#

To collect payments with a smart reader while offline, you must have previously connected to any mobile reader of the same type at the same Location while online within the last 30 days, on the same local network.
https://docs.stripe.com/terminal/features/operate-offline/collect-card-payments?terminal-card-present-integration=terminal&terminal-sdk-platform=android&reader-type=internet#connect-while-offline

Collect card payments when you have internet connectivity issues.

quick thunder
#

Yes i tried first.

tepid dragon
#

You tried what first exactly? You've established a online connection?

#

What's the tmr_xxx ID?

quick thunder
#

1 min sending

#

pi_3RvaXAJJwRD860NB0TOxE4YA

little cobalt
#

that's a PaymentIntent ID. Do you have the Terminal ID or serial number?

quick thunder
#

"serial_number": "WSC513128059042",
"id": "tmr_GJfRyAVDEwhzED",

little cobalt
#

thanks, having a look

#

not sure what the issue is. do you mind sending an email to Stripe so we can look into this in more details? I'll send you a link in DM so that your email directly reach our team.