#VanessaD

1 messages ยท Page 1 of 1 (latest)

midnight ivyBOT
severe glade
#

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?

vague sparrow
#

hello, yeah it's an invoice associated to a subscription with our in house invoice_id

severe glade
#

Do you have an example of a Stripe ID of a subscription like this? (in_1234)

vague sparrow
#

inhouse_invoice_1234 with increment for each new subscription's payments

severe glade
vague sparrow
#

is there a way using webhook

#

?

severe glade
#

As in for you to set a specific invoice ID based on some webhook?

vague sparrow
#

oui exactly for example update a metadata

severe glade
#

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

#

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

vague sparrow
#

what is the event that I have to listen ? "customer.subscription.updated" that's right ?

hollow whale
#

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?