#thebossman_dev
1 messages · Page 1 of 1 (latest)
Stripe offers a Sigma product that maybe what you want (https://stripe.com/sigma)
If you're asking how to put data into your own database that's something that's somethign you'd have to implement yourself
So is it possible to save it to my sql table automatically if the payment is successful?
Yeah, that's somethign you'd implement in a webhook handler that's listening for the payment_intent.succeededwebhook event
What kind of information are you looking for? Do you just need general guidance on webhooks? more details about payment intents?
How can it be incorporated into the code? I want to save the name of the customer, amount, email, product name.
Let's back up - do you already have a webhook endpoint set up?
No because I want to setup localhost before I upload files to my server.
Start here: https://stripe.com/docs/webhooks
You can even test them locally: https://stripe.com/docs/webhooks/test