#vaths59

1 messages · Page 1 of 1 (latest)

plucky troutBOT
solemn mantle
#

Implement starting from what existing code?

#

Do you already have a webhook endpoint?

#

ANd juist want to handle checkout events?

#

Or you don't yet have a webhook endpoint

rich palm
#

I've already created an endpoint just want to handle checkout events

solemn mantle
#

Ok then you need to add checkout.session.completed events in your endpoint configuration in the dashboard

#

and add code to handle those events in your endpoint handler

rich palm
#

I want to collect all details of transaction and display it in my dashboard. I created an endpoint with checkout successful but I don't know what to nxt.

#

Can I get the code that needs to be added in python or php?

solemn mantle
#

Yes those language snippets are provided in the docs I linked

#

There's a language switcher at the top of each snippet

solemn mantle
rich palm
#

I created a endpoint with checkout successful webhook. What should I do next?

solemn mantle
#

Are you getting the events?

rich palm
#

No

solemn mantle
#

Ok, then to test this you'd want to either complete a test mode Checkout session, or use the Stripe CLI to trigger test events: stripe trigger checkout.session.completed