#philiiiiiipp-statement-descriptors
1 messages ยท Page 1 of 1 (latest)
Okay, very convenient with the custom threads ๐
Sorry, I've been looking into this, but there is one thing that I need to clarify. You are looking to add the invoice ID that is automatically generated when the invoice is created? It's not an ID that you're passing into us?
Correct, we do not set any id. We just have a subscription with a couple of products on a monthly billing cycle. Those invoice ids are automatically generated by you.
I'm not 100% certain, but I'd recommend trying to see if you can update the statement_descriptor parameter on the invoice while it's in a draft state (before it's been finalized).
Right, so I could use the webhook system I suppose. Okay I can look into that. Not sure if that is something easy to change, but I would assume it makes sense to use the invoice ID in the descriptor in general.
Using the webhook event as your trigger is a great idea, and the code to make the update shouldn't be more than a couple lines.