#ozzy_code

1 messages Β· Page 1 of 1 (latest)

meager yokeBOT
#

πŸ‘‹ 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/1465910204414824641

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

halcyon otter
#

Hi there, give me a moment to take a look

#

Do you have a terminal reader ID? should start with tmr_

rancid quartz
#

tmr_GXZBuQZR48P6zB

halcyon otter
#

At which point in your test that the error returned? Are you able to run the app?

rancid quartz
#

Yes I run the app then as i click new payment it comes with that error

#

does the stripe account have to have app on device activated? I have it activated for my live accounts but not my sandbox do you think thats the issue?

halcyon otter
#

DevKit devices should operate on sandbox, you shouldn't need to activate your acct. Give me some time to look at this

rancid quartz
#

Ok

halcyon otter
#

Could you try restarting your s700 device and connect to the network again?

#

I'm not sure why we believe the reader offline

rancid quartz
#

ok i switched to a new sandbox thinking maybe that was the proble -> This reader is not configured to operate offline.

#

just restarting and resseting

#

still same error

halcyon otter
#

please make sure the reader is registered to the right account that your app is using, for tmr_GXZBuQZR48P6zB its acct_1LdYAwK8SGfgbRnh

#

hmm..

rancid quartz
#

nothing :/

halcyon otter
#

still the same error?

rancid quartz
#

Yeah

#

under stripe connectivity for diagnositics on the reader is shows "failed to connect to stripe api" failed to connect to fleed managment

#

failed, no network

#

now its connected again let me try again

#

same error:/

halcyon otter
#

are you using acct_1LdYAwK8SGfgbRnh in test mode?

rancid quartz
#

yeah I just placed it in a sandbox

#

tmr_GXZKiQpM9F1O1O

halcyon otter
#

gotcha, i can verify that as well

meager yokeBOT
rancid quartz
#

thougts?

rough pelican
#

πŸ‘‹ taking over and catching up

rancid quartz
#

I fixed the connection token error thinking that was it unfortunately it was not

rough pelican
#

You want to inspect e.response()?.errorBody()?.string()

rancid quartz
#

You want to see how my apiclient looks like

#

?

rough pelican
#

I want to see how the e object looks like when it runs to that line

#

I believe you got an exception on that line, based on the log in your video

rancid quartz
#

Ok 1 sec

rough pelican
#

And could you copy the logcat here as a text file?

rancid quartz
rough pelican
#

Hmm the log looks different, what did you change?

#

Putting breakpoint should change the app behavior

rancid quartz
#

I will send it witout breakpoint

rough pelican
#

Please copy the full text instead of a screenshot

rancid quartz
rough pelican
# rancid quartz

Thank you. I see it's kinda short. Shouldn't it be longer as this video?

rancid quartz
#

fyi i have the s700devkit

rough pelican
#

I only see 4 lines. The video has a lot longer text :/

rancid quartz
#

i filtered it

#

to -> EXCEPTIONs

#

you want everything?

rough pelican
#

Yes, everything please, from when you start the app to when you got the issue

rancid quartz
rough pelican
#

For example in the video I see ConnectionTokenException

rancid quartz
#

fixed this -> ConnectionTokenException added wrong keys i was crossing my fingers that was the reason lol

rough pelican
#

So you used a correct key and the ConnectionTokenException disappeared?

#

Then this is the newest log?

rancid quartz
#

yes

#

yes

#

have you ran into this issue before?

rough pelican
#

Nah but looking

rancid quartz
#

Invalid device_type: must be one of bbpos_wisepad3, stripe_m2, stripe_s700,
bbpos_chipper2x, bbpos_wisepos_e, verifone_P400, simulated_wisepos_e,
simulated_stripe_s700, or mobile_phone_reader

curious if its because i have a devkit and pullin the wrong code

#

my code is all git sample nevered changed a thing yet

rough pelican
#

Where did you change the key btw?

rancid quartz
#

Render

#

Used the deploy terminal sample they had

rough pelican
#

Sorry didn't get the last answer. How did you change the key?

rancid quartz
#

I moved it to a sandbox env then I went to render env and updated it to the sk_test and deployed it

rough pelican
#

Ah I guess on render.yaml file? Okie tks

rancid quartz
#

Yes

rough pelican
#

Yep okie but this is only backend. Which frontend app are you running? Or you are building yourself?

#

The Example App inside Stripe Terminal Android SDK?

rancid quartz
rough pelican
#

Oops sorry yes overlooked

rancid quartz
#

Yes

#

Curious if the issue would replicate for you

rough pelican
#

No mine is working but I setup a while ago. It could depends on the reader

#

Are you connecting the S700 to your Mac and enabled USB debugging?

#

Share w me the output of

adb devices
adb shell dumpsys package com.stripe.reader | grep versionName
rancid quartz
#

I am connecting to PC and USB debugging is not I don’t think

rough pelican
#

adb should be enabled by default. Can you run 2 commands above?

rancid quartz
#

List of devices attached
d59e8b3 device
versionName=2.38.2.0

rough pelican
#

Ty. Can you go to Stripe Dashboard β†’ Terminal β†’ Devices β†’ Select the S700 β†’ Check for updates ?

rancid quartz
#

did a factory reset and its updating right now lets see

#

1 of 7 updates maybe this could be it πŸ˜„

#

nope same error :/

#

should i redo the whole code or you think itll happen again?

rough pelican
#

Nah, let try this

adb logcat -s StripeReader:* | grep -i "device_type"
#

Btw acct_1SuFkWElpE9g8O91 is your new Sandbox account, correct?

rough pelican
#

Why didn't you use the main account acct_1GO3lzInafRGkEYA btw?

#

Because it's not sandbox?

#

Gotchas!

#

So the Sandbox account will need to be set into the AOD program. Your main account acct_1GO3lzInafRGkEYA is in, but your Sandbox account acct_1SuFkWElpE9g8O91 is not

rancid quartz
#

can i use main acc for devkit?

rough pelican
#

Nah it's not Sandbox πŸ˜“

rancid quartz
#

damn

#

and how long does it take to get AOD on sandbox took months to get it on prod

rough pelican
#

So you want to write to the same Support case which has get your main account acct_1GO3lzInafRGkEYA into this program, to also get your Sandbox account acct_1SuFkWElpE9g8O91 into it

#

Should be faster

#

Sorry I can't touch account here. I wish I could

#

Just tell the same thread that you had it on your main account, now you need to enable in a Sandbox account to develop

rancid quartz
#

you think thats it?

rough pelican
#

Hopefully. I know that's a hard requirement.

#

You can reference to this Discord thread to accelerate your thread

rancid quartz
#

now if i have the s700 reader not dev then i can use that on prod and build my app from it?

rough pelican
#

You will need to pass review before able to install to the production s700 reader

#

Production device has USB disabled

rancid quartz
#

lol ggs

rough pelican
#

Don't worry, I think the Sandbox account enable should be fast. Feel free to refer them to this thread as "dev team on Discord suggested it"

rancid quartz
#

@rough pelican -> Please be advised that you can't activate the Terminal via Sandbox as you can only activate it on a live account.

#

stripe support is saying this

rough pelican