#SuperFedz - env
1 messages · Page 1 of 1 (latest)
Hi there!
Can you clarify your question? What do you want to know about the .env file?
Doesn't seem to be working with my test code
What does that mean? Do you get an error message? If so, can you share it here?
No error message strangely. i'll do some more testing first. Trying to set up my wisepos e haha.
Without any error message it's difficult for me to help.
No Readers being shown despite following the video i tagged.
do you see any errors in your browser console or in your backend server logs?
No errors. It definitely seems to related to my .env file. When i cloned the repo. There was an env.example file. Do i move this into server and change the format? Do you have any examples of how my env should be setup within the following repo https://github.com/stripe-samples/stripe-terminal-list-readers
It definitely seems to related to my .env file
If so there should be some errors in your backend code.
you should rename env.example into .env, and update the API with your own.
For example in the video they do this in the backend. Can you try to console.log the readers variable?
fixed it. Small typo haha!!
Great to hear that this is fixed!
Onto the next step..
@sterile granite let's keep the conversation in this chat
I've just followed the youtube tutorial to then realise its not available in my country. What is the solution to this thats not massive?
So you want to use Terminal? In which country are you?
UK.
I'm fluent in python but still new to java so finding it tricky. Essentially i just want to be able to use my terminal to take in person payments with the ability to input the price on web? or even the terminal itsself. Its a WisePOS E
Why do you say it's not available in your country? Terminal looks available in the UK: https://stripe.com/docs/terminal#learn-about-terminal
It seems to be the server driven integration mode
The video you posted i followed is server driven.. Anyway to make this work in the UK?
Oh right. No that's US only for now.
But you can use the JavaScript SDK for this.
I'll take a look
I'm rather confused as to how the javascript SDK works with the terminals. Is there a python alternative? can i do this with pip python or is it java specific
Hi 👋 I'm jumping in as my teammate needed to step away. If you don't want to use one of our client-side libraries for interacting with Terminal, such as our JavaScript SDK, then you can look into our server-driven path as an alternative:
https://stripe.com/docs/terminal/payments/setup-integration?terminal-sdk-platform=server-driven
I'm in the UK and server driven isn't available sadly
Ah gotcha, sorry about that. Then you will need to use either our JS SDK, or one of our mobile SDKs.
No worries.
Could have done with a video tutorial on it but you only have server driven videos haha
Is there any sample code you have of java sdk for the terminal that i can modify to work?
This may be a good place to start:
https://stripe.com/docs/terminal/quickstart
You can use the parameters at the top to tailor the page to your scenario.
Alright.
Yeah i'm pretty confused with all the server and client side business. All i need is the ability to type an amount on my reader and input the card.
That's not supported. You won't enter the amount directly on the reader. You will need to create a Point of Sale (POS) application that drives the integration and interacts with the reader, and that integration will need to determine how much should be charged.
Ok so i can do that with a html site like your server driven tutorial except i need to utilise the SDK for this..