#louisla
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- louisla, 25 minutes ago, 4 messages
Are these fields specific to each Customer? Or would setting fields at the account level work for your use case?
Ideally this would be per subscription but per customer should be ok for our use case.
On the account level it's likely not possible as the legal text that the legal team wants includes the name of the product (and we have several product). But if this is ready to be used I may be able to convince them to have a generic word representing the subscription
It looks like this parameter may be exactly what you need https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-invoice_creation-invoice_data-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.
Isn't this for payment mode sessions only? So not subscriptions?
That should set those custom fields on at least the first invoice, I'd recommend testing in test mode to check beyond that
My apologies, I think you are right, can test that in test mode
One thing that would work here is creating a Customer object beforehand, setting these custom field settings on that customer and then passing in that customer's ID to the Checkout Session when creating it
Yeah not very robust as if the customer doesn't complete the checkout session he still have those settings (and you would have to add webhooks and so on to prevent this, lots of points of possible "failure")
But let's try with this for the moment, thanks
Can this be considered a feature request ? Most straightforward way to describe the feature looks like : invoice_settings field (custom_fields/footer) on checkout session creation with mode=subscription
Yes, definitely going to put in feedback for this. Let me us know if you run in to any further questions while implimenting this