#julliian-test-subscription-events

1 messages · Page 1 of 1 (latest)

hot pawnBOT
austere flare
#

I've removed this btw ```js
if (subscription.status === 'canceled') {

inner flume
austere flare
#

Alright. I'll try that out.
Is it okey to use checkout.session.completed, or should I use the customer.subscription.created? If that's the right name

inner flume
#

Either works, which you should use depends on what information you need to access (checkout.session.completed events will contain the Checkout Session object, customer.subscription.created will contain the Subscription object), and what Events other parts of your integration generate that you need to avoid having trigger the downstream processes you're building.