#Aled Bidder-checkout-invoice

1 messages ยท Page 1 of 1 (latest)

pliant thunder
#

Hi there ๐Ÿ‘‹ you are correct that the first invoice for a Subscription auto-finalizes immediately and doesn't give you an opportunity to update it. Let me double check whether it's possible to pass Invoice values via the Checkout Session.

lyric phoenix
#

Thanks so much toby ๐Ÿ™Œ

pliant thunder
#

Sorry but I'm not finding a way to pass those Invoice custom fields through the Checkout Session, and the workarounds to give you time to adjust that first invoice won't be a good experience to your customers if you're using Checkout.

Are the custom fields that you're trying to add specific to each order, or are they specific to the customer?

lyric phoenix
#

One of them is specific to each order, and the other is specific to the customer ๐Ÿ˜…

#

But specifically, I need to provide the one that is specific to the customer with this particular checkout

pliant thunder
#

For the Customer specific ones, you can create the Customer prior to the Checkout Session being created and add the necessary information to invoice_settings.custom_fields on the Customer object so that information will be included on Invoice generated for that Customer.
https://stripe.com/docs/api/customers/object#customer_object-invoice_settings-custom_fields

lyric phoenix
#

I think that could work for us, thanks Toby!