#whatsall

1 messages · Page 1 of 1 (latest)

frank tundraBOT
median escarp
#

There isn't an option to inject a js script unfortunately

solemn jungle
#

so if I want to let webhook endpoint on my server automatically update my mysql database, I have to develop a custom Stripe payment page instead of using Stripe-Buy-Button, is that right?

median escarp
#

If you use the Buy Button you do get checkout_session.succeededevent you can do that right?

solemn jungle
#

You mean I can create a session on the webpage where Stripe-Buy-Button is implemented, and use that session to help webhook endpoint to update mysql database, is that right?

median escarp
#

Yes, and my understanding is Stripe Buy Button should generate a Checkout Session when your customer click into it? (You can test it in Test mode)

solemn jungle
#

OK, let me try. Thanks for your advice.