#Aled Bidder-checkout-invoice
1 messages ยท Page 1 of 1 (latest)
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.
Thanks so much toby ๐
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?
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
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
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I think that could work for us, thanks Toby!