#Emersen - checkout subscription creation
1 messages · Page 1 of 1 (latest)
What are you trying to do, exactly?
This isn't supported the way you're asking, but I might be able to offer another solution
Send payment_intent_data metadata within a checkout session for enrollment
You can't do that
instead, you should use subscription_data and set metadata on the subscription
Then you'd be able to inspect this to manage your fulfillment
eg, when you receive customer.subscription.created events
or retrieve the subscription when you receive checkout.session.completed
Hello, I am working with garrido. Thank you for answering us.
Is not possible to set metadata on PI that came from subscriptions?
Not automatically via Checkout, no. You'd need to set that metadata manually on the Invoice PIs if you want it there.
Perfect. Thank you
NP!