#Emersen - checkout subscription creation

1 messages · Page 1 of 1 (latest)

elder basin
#

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

lone mason
#

Send payment_intent_data metadata within a checkout session for enrollment

elder basin
#

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

inner sparrow
#

Hello, I am working with garrido. Thank you for answering us.

#

Is not possible to set metadata on PI that came from subscriptions?

elder basin
#

Not automatically via Checkout, no. You'd need to set that metadata manually on the Invoice PIs if you want it there.

inner sparrow
#

Perfect. Thank you

elder basin
#

NP!