#jkendrick-checkout-subscription

1 messages · Page 1 of 1 (latest)

restive apex
#

Hello!

prime warren
#

subscription is created after the completion on Checkout

#

1/ create a session
2/ redirect to Checkout
3/ pay
4/ get redirected back to success_url and subscription is set

tawdry glen
#

So will the "subscription" value always be null on the session object? If so, is there a reason that it has a "subscription" property?

prime warren
#

I said the opposite though

#

it's null on creation. It is set after you complete the flow on Checkout

tawdry glen
#

oh, I see.

#

If there is an error with the user getting to the success_url would that affect subscription being set?

prime warren
#

no at that point it's already set. And that's why we recommend always using a webhook for fulfillment

tawdry glen
#

okay that makes sense. thank you!