#Millys Carvalhaes
1 messages ยท Page 1 of 1 (latest)
A lot of the newer readers need v2: https://stripe.com/docs/terminal/references/sdk-migration-guide
V2 is also available for Javascript? This looks like is for Android and IOS
Oh hm
Honestly not sure. Going to get a colleague who's more familiar with terminal to look
The only terminal I see in the list above is a simulated reader
Do physical devices show in the list as well?
Or do you not have a physical device yet?
I only have simulated readers yet
Hello ๐
Can you share the code you have for discoverReaders ?
If you only have simulated readers then your config needs to have simulated set to true
https://stripe.com/docs/terminal/payments/connect-reader?terminal-sdk-platform=js&reader-type=simulated
@twin spire
Just want to make sure you saw my message above
simulated: false means its trying to retrieve real readers
which you currently don't have
Now it makes more sense. However when setting simulated:true it returns only one simulated reader that does not match with the readers created previously. This is the expected behavior?
Its possible that that location only has one simulated reader registered to it
This is the returned reader. I do not have this reader created in any of the connected accounts. Besides that, no request is being made to Stripe API, seems that the reader is being mocked only in the code.
Yeah mostly mocked.
our team won't know a ton about the architecture behind the test mode simulation though as we're not actively involved in the development of the SDK ๐
So just to clarify, when using simulated: true I will receive a mocked Reader, and when using simulated: false will return only the real readers right?
Correct
Well thanks for the info, now it makes more sense to me