#Maru

1 messages ยท Page 1 of 1 (latest)

torpid latchBOT
earnest void
#

Hi ๐Ÿ‘‹ looking into that

rustic dragon
#

a Meeseek! Hi ๐Ÿ‘‹๐Ÿผ ...

earnest void
#

You're right that you can't use the invoice_creation hash with subscription mode Checkout Sessions, that feature is intended to create Invoice for payment mode Checkout Sessions that typically wouldn't. That's not the case with Subscriptions since they generate their own Invoices already.

I'm not seeing a way to pass metadata for the first Invoice that gets created for the Subscription, the closest thing I'm seeing is that you can use subscription_data.metadata to put metadata on the Subscription object that gets created:
https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-subscription_data-metadata

rustic dragon
#

hmm, so there's no way to send metadata to the first invoice, at the invoice object? everything should be done through subscription object?

earnest void
#

Correct, but I'll be sure to capture your feedback that this is something you'd like to be able to provide metadata for the first Invoice directly.

rustic dragon
#

I can do that, yes...

#

thanks for the help Toby!

earnest void
#

Any time! I've captured that feedback for our teams to review, thank you for taking the time to raise this!