#VanessaD
1 messages ยท Page 1 of 1 (latest)
Hello, can you elaborate on what you are looking to do here?
Like is this assosciating an invoice with a subscription or are you doing something with custom invoice numbering or something?
hello, yeah it's an invoice associated to a subscription with our in house invoice_id
Do you have an example of a Stripe ID of a subscription like this? (in_1234)
inhouse_invoice_1234 with increment for each new subscription's payments
Of so you are asking how to do custom numbering overall. We have this doc on that: https://stripe.com/docs/invoicing/customize#invoice-numbering-schemes
As in for you to set a specific invoice ID based on some webhook?
oui exactly for example update a metadata
Updating the metadata should be pretty straightforward. You can make the API call to update whatever object you are working with and can do that from whichever webhook events you would like https://stripe.com/docs/api/metadata
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Unfortunately I don't think numbering a specific invoice would work like that though. Reading through the doc that I sent, it looks like we only support setting a prefix at the account or customer level and Stripe will just have a counter that counts up each time an invoice on that customer or account is made
what is the event that I have to listen ? "customer.subscription.updated" that's right ?
Hi there ๐ I'm jumping in as my teammate needs to step away soon. I've reviewed your conversation, but am not quite clear on what action on the Stripe side you're looking to use as the trigger for the process that you're discussing. Could you help me understand what information you're looking for from Stripe, and when?