#jol-matelli_code

1 messages ¡ Page 1 of 1 (latest)

dawn acornBOT
#

👋 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/1484612332360433795

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

grizzled crypt
#

Interesting, are any of your users seeing this TOS at all anymore? Can you maybe try creating a new connect account and test with that to see if it works for a completely fresh account?

tough obsidian
#

we are only on the development phase, not in production

grizzled crypt
#

Oh does this TOS not show up in test mode?

tough obsidian
#

it did once, I tried accepting it with another account but it failed so I accepted with my own personal apple account. But since then, even switching to another connect account (in a development sandbox) it is not triggered anymore

grizzled crypt
#

Can you send the account ID of the account that hasn't yet accepted the TOS and isn't seeing this dialogue? I am not sure if I can look up whether the TOS has been accepted but it could be helpful for me to look at that account specifically

#

Also looking into this TOS in general and if there are other circumstances where it is expected to not see it when switching between accounts

tough obsidian
#

I will send you all the account ID of my development sandbox, I don't remember for which one I accepted the TOS.

#

acct_1ROE2IAcxzKt8Dp6, acct_1RsKdNACrqGVtZ73, acct_1SpmruAG5FfIz15a, acct_1T6uqGAYy3FTeHt6

#

The thing is, when swithcing shops every payments I make is always going to the correct account, but I guess it is thanks to the onBehalfOf option in the connectReader function.

grizzled crypt
#

Gotcha, onBehalfOf should mean this is required for each account. And are these separate runs of your app or are you changing that setting in your app somehow? I am wondering if there might be some local state that is persisting incorrectly here

tough obsidian
#

I'm changing it on the same app on the same device with the same logged in user, when I'm switching the shops to one belonging to a different Connect account, I'm disconnecting the reader and have to connect again

grizzled crypt
#

Is tap to pay actually working here or are you getting an error when you try to connect with new accounts?

tough obsidian
#

it is working

#

it is just curious that I don't get the TOS modal when switching to another Connect account for which I did not accept the TOS

#

and I want to make sure I get everything right before submitting to Apple

grizzled crypt
#

Gotcha, we did find that there is a limit of using 3 different connected accounts within a 24 hour period. Can you check your device logs to see if an error related to that is being thrown?

tough obsidian
#

I don't remember getting an error like that, where can I check?

austere parrot
#

hello! jumping in to help out, have you tried reproducing from a device connected to xcode so you can see log outputs? you should see a SCPErrorTapToPayReaderMerchantBlocked error

#

i can also try reproducing on my own device to give you more details about what it looks like but it might take me a bit to get set up

tough obsidian
#

It is actually the end of the day for me so I will try that first thing monday morning. (I wasn't expecting such a quick answer so I'm pleasantly surprised)

dawn acornBOT
austere parrot
#

ok cool! since this issue will probably require a lot of debugging if you aren't able to resolve it yourself (and if the 24hr reset doesn't fix it for you) so when you return i'd recommend reaching out to https://support.stripe.com/ and say that you were referred there from this thread (include a link to this thread too)