#liege.
1 messages · Page 1 of 1 (latest)
Custom field can only be retrieved on the Checkout Session object. Additional request can be made with List Checkout Session API by subscription ID to retrieve the custom field information after receiving customer.subscription.created event. Here's the guide: https://stripe.com/docs/payments/checkout/custom-fields#subscription
So the CheckoutSessionCompleted event? If this is the case, will both the CheckoutSessionCompleted and CustomerSubscriptionCreated events fire when a user pays for a new subscription?
Yes, both checkout.session.complete and customer.subscription.created events will be sent for a new subscription
In checkout.session.complete event, you should be able to find custom fields
Thanks so much for your help!