#mashrurfahim

1 messages ยท Page 1 of 1 (latest)

pure martenBOT
visual osprey
#

Happy to help, can you tell me more about the issues that you are running in to?

dull crane
#

I'm using Laravel Breeze with vue3 and inertia. Now using stripe-php in the backend and stripe terminal js npm package in the frontend.

#

what is the best place to import loadTerminal method

#

as if I import it in a component i.e. let's call it TerminalReader.vue component. then isn't is load everytime when the component render on DOM?

visual osprey
#

I don't know much about vue but will ask my colleagues about this and get back to you

dull crane
#

Ok. let me know about that. I've another question, if I successfully implement the quick start example then how it is behave with real device or live mode?

#

Should I change anything in code or it'll work with the real device

pure martenBOT
visual osprey
#

The flow should work the same between live and test mode, Stripe-wise you should only need to change your API keys from the test mode keys to the live mode keys

#

And unfortunately we don't have Vue-specific advice for loading our terminal SDK in Vue. There is an open source community library, it does not look like it impliments our Terminal SDK but you may be able to use as reference here https://www.npmjs.com/package/@vue-stripe/vue-stripe

dull crane
#

when I call the discoverReader method it only return me the simulated one. if I give the simulated value false on config then it return empty

#

why it's happening. I created simulated reader on stripe terminal dashboard

boreal mica
#

๐Ÿ‘‹ stepping in as Pompey needs to step away

#

Can you clarify what is unexpected here?

#

If you don't have an actual reader and you set simulated: false then it is expected that it would be empty

dull crane
#

I created two simulated reader on stripe terminal dashboard. I want those reader to be fetch.

#

but it only give me the hardcoded one

boreal mica
#

How did you create simulated readers on the Dashboard exactly? You don't do anything other than set simulated: true for simulated readers.

dull crane
#

I created those readers on stripe terminal reader dashboard

#

How do I get those reader from discoverReader method?

#

I'm on the test mode

#

Also, the vue stripe doesn't have terminal support.

quick elbow
#

๐Ÿ‘‹ hi again

dull crane
#

Hi Hanzo

quick elbow
dull crane
#

Not really. I created those from stripe Dashboard.

quick elbow
#

I don't believe we allow creating simulated readers using the dashboard, unless it is a private feature/beta

dull crane
#

As you know I'm currently tinkering so checking every approach.

quick elbow
#

ah hang on

#

did you just use simulated_wpe as the registration code via the dashboard?

dull crane
#

yes

quick elbow
#

Gotcha. I see.

Stripe Terminal SDKs come with simulated readers built in. Meaning each integration path (server-driven, JS, iOS etc) would have their own way to configure simulated readers.

When you use the dashboard with simulated-wpe registration code OR call the API directly to create a simulated reader, it creates it for server-driven flow since the flow relies on API calls.

With other SDKs, the SDKs themselves have the capability to act as simulated readers.

dull crane
#

Is server driven api available in UK

dull crane
#

If I use server driven SDK then how do I able to see the response result?

quick elbow
#

You can request it by emailing the address listed on the doc

#

If I use server driven SDK then how do I able to see the response result?
What response? Not sure I grasp the question

dull crane
#

I mean when I call the API from my backend, will that give me the response or give me the empty result as my stripe account is from the UK

quick elbow
dull crane
#

Okay. Thanks for your information.