#rich4982

1 messages · Page 1 of 1 (latest)

brave falconBOT
gleaming osprey
#

Hi there!

frigid cairn
#

Hi Soma!

gleaming osprey
#

When a payment is made using the Pricing Table, then you should get multiple webhook events. The most important one being checkout.session.completed.

frigid cairn
#

I was expecting to see something in the dev logs here:

#

I have a checkout.session object in payment_pages but there's only payment details in there - nothing about subscription

gleaming osprey
frigid cairn
#

Ah I see! I didn't know that's where I could access the details!

#

I have set up a webhook endpoint which is listening for:

2023-10-31 11:48:58 --> checkout.session.completed [evt_1O7GRKDOX5iVTDHWsv8nBva0]
2023-10-31 11:48:58 <-- [200] POST http://localhost:3000/api/webhooks/stripe [evt_1O7GRKDOX5iVTDHWsv8nBva0]

#

thank you - now I know where to find the objects I can hunt for the details I need!

#

Thank you!

#

I actually have one more quick question - is it possible to set up a return url using the embeded payment table, as currently it just shows the payments success screen without returning the user

gleaming osprey
#

Yes you can:

frigid cairn
#

Brill! Yo've been very helpful!

gleaming osprey
#

Happy to help 🙂