#mrwarzo_webhooks
1 messages ¡ Page 1 of 1 (latest)
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.
- mrwarzo_webhooks, 2 days ago, 9 messages
- mrwarzo_webhooks, 6 days ago, 5 messages
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1249597445202247720
đ Have more to share? Add details, code, screenshots, videos, etc. below.
Hi there, you can listen to invoice.created and attach your custom metadata to the invoice object when it's still in draft mode.
Hello, I tried to use invoice.created, but when i try to update the invoice object I got a 400 error like this :
this code throw this error :
Invoice::update($invoice->id, [
'custom_fields' => [
[
'name' => 'SIRET',
'value' => $company->getSiret(),
]
]
]);
Hi! Can you share the request ID (req_xxx)? Here's how you can find it: https://support.stripe.com/questions/finding-the-id-for-an-api-request
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
Hi, here is the request id :
req_H6xySIlbYywKpF
Thanks for the ID
This invoice was created from a subscrition mode checkout session, and that's why it was finalized immediately after creation.
Instead of attaching a custom_fields, can I suggest to attach metadata? https://docs.stripe.com/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.
I tried first with metadata but this will not be visible on the invoice, or i missed something
No you are not, metadata isn't visible to customers/
But I need to show the SIRET number on the invoice for some clients, how can I create my invoices with this number on the invoice ?
I'm afraid it's not possible for the first invoice because it's alwasy finalized immediately, but you can set the custom_fields on the subsequent invoices that the subscription generates.
Okay I will see to deal with this, I just have a question about templates from Billing Scale, can this be used to add custom_fields on each invoices for on client ?
No I don't think so. But custom template allows you to set a default footer and description.
Okay thank you, I think I just will prevent this rare type of client to subscribe by himself and we will manage them by hand