Subscriptions with checkout API, preview is blank

I’m not seeing any paymentId in the subscription.created or subscription.updated events… i guessing a payment isn’t triggered until their card is actually charged because of the free trial I have in my subscription plan. I need to associate our user record with the subscription as soon as the web-hook gets invoked for one of those events above.

Any other suggestions?

For now, I know subscriptionId is passed back to the redirectUrl… so I’m going to pull that and update our user account. It’s just a bit of a race condition, since this may not get set before the web-hook is invoked.