#Daddelpalme | Leon
1 messages · Page 1 of 1 (latest)
Hello! That thread was closed; can you summarize and ask your new questions here please?
I want to dynamically include strings with newly created invoices. That means that dependant on i.e. payment method I include different strings on the pdf invoice.
Do you know the payment method up front, before creating the Invoice? Or will you only know after the Invoice if finalized and there's an attempt to pay?
Sorry - shouldve taken a different example. We are looking into dynamically show the payment status.
That means:
- If customer already paid (i.e. with some different method than stripe)
- Show dynamically on the invoice, which method was uses to pay + that its already paid.
You might be able to update the custom fields on the Invoice: https://stripe.com/docs/api/invoices/update#update_invoice-custom_fields
I'm not 100% sure that will work on an Invoice that's already finalized though.
The invoice wouldn't be finalized. Then it wouldnt be a problem, right?
Yeah, if the Invoice is still in draft status you can update the custom fields for sure.
Thank you very much!
Last but not least: Is there a proper way to search for my old messages in this channel?
Yep, you can use the search box in the top right corner. If you type from: and then your username you should see an option pop up to show messages from you.
Thanks alot!