#Lucas974
1 messages · Page 1 of 1 (latest)
Hello there
Yep you use the same code in production versus development locally, the only difference is that in production you need your endpoint hosted on an HTTPS server
The CLI lets you get around this limitation when you are in development locally
ok
and using this small server.js, as it is now, I can get name/email from payment passed?
Yes it will be in the payment_intent.succeeded event under the PaymentMethod's billing_details.
I don't understand how to add info to my database
That's not really a Stripe thing so I can't really help you with that.