#ash_terminal-demo
1 messages ¡ Page 1 of 1 (latest)
đ 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/1384259741026488442
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi there,
did you already create a location? Can you also give me a link to the repo you are using?
yes
where do i create the location
i mean we have a separate stripe dashboard
but for this repo where do i create one?
this is the link
So did you already create a location? You can create locations either through the dashboard or the API.
https://docs.stripe.com/terminal/fleet/locations-and-zones?dashboard-or-api=dashboard#create-locations-and-zones
can u frst pls tel me where should i change the stripe secret key in this repo?
i cant find it
if i change it, i can manually give one secret key that i have and a location under it, i can register the reader there
Are you running the backend locally?
no, im running it via render
thats mentioned in the docs
i deployed this
and it has a key of its own
I am looking right now at the readme instructions here: https://github.com/stripe/example-terminal-backend?tab=readme-ov-file#running-locally-on-your-machine
Did you already create .env like meantioned there and reference your Stripe API key?
no i dont want to run locally
i want to use render
its the 1st deployment option in the readme
Running on Render
Set up a free render account.
Click the button below to deploy the example backend. You'll be prompted to enter a name for the Render service group as well as your Stripe API key.
Go to the next steps in this README for how to use this app
this is what i opted
while deploying it generated a key, now i dont know where to put this code in the repo?
Instead of generating a new key, you would need to use your already existing stripe test api key you can find in your stripe dashboard.
when i manually generated there was a textfield there
but now can i edit it
or do i have to redeploy it?
ash_terminal-demo
I am not 100% sure. Maybe you can edit the environmental variables setting in your current deployment.
yeah we don't know much about Render so we can't really speak about debugging this part.
It would likely be much easier for you to learn to do this locally on your machine to start
okay i added the secret key and redeployed it