#Valma

1 messages · Page 1 of 1 (latest)

empty briarBOT
primal crag
#

Hello, your code should be able to largely work the same, just using your live mode API key and changing the webhook secret to the secret of the endpoint that you create in your dashboard.

#

Are you asking about how to go from local host to a live website in general? Or moreso the Stripe API aspect of it? We can only really consult on the Stripe API aspect but are happy to answer any questions that you have there

jade flower
#

I would like to know how to go from local host to a live website ?

#

Can you help me with that ?

primal crag
#

Unfortunately not. There are a lot of ways to get a website online and we can't really endorse any over any other. This is something you will have to research yourself. Trying to think of what would be a good starting point for your research as there are a lot of good resources on this out there

empty briarBOT
primal crag
#

MDN has a guide that you may find helpful here. They talk about what your production environment may need to look like and some of the choices that you will have to make https://developer.mozilla.org/en-US/docs/Learn/Server-side/Express_Nodejs/deployment

That's the end of this tutorial on setting up Express apps in production, and also the series of tutorials on working with Express. We hope you've found them useful. You can check out a fully worked-through version of the source code on GitHub here.

jade flower
#

Sorry, I didn't explained it correctly, I have a website online already hosted. My problem is that right now if I want to test a payment I need to start manually my node.js server go to my local host with my website code and pay with Stripe. But now I want to do the same thing but directly on my website.

ashen elbow
#

Hi there 👋 taking over, as my colleague needs to step away

You should create a development environment for that and plugin your test API keys to run test transactions. Generally this would be a hosted at separate URL or sub-domain that contains a copy of the live environment.