#gazalam_api
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always 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/1318462375149441024
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
I'm also open to any other suggestions on how I can customize the invoice pdf via API on a subscription level. ๐
Is it recommended to listen to the invoice_created event and update the invoice_settings[footer]? I assumed it would not be possible since a subscription's first invoice is always finalized immediately?
Customer level invoice_settings[footer] are not relevant here, since a customer could have multiple subscriptions with different requirements. Account level invoice_settings[footer] is also not relevant since we use connected accounts with just the invoice_settings[issuer][account] set on the platform account.
Re: 400 error, what exact message does it give you?
Re: customizing Invoice PDF, you are correct that the granular setting is only posisble via updating Invoice via invoice.created event. And yes the first Invoice will always use the default footer
There is some way to make the first Invoice respect the 1 hour draft period, like letting it start in a few secs to the future, or use a trial
Hey, this is the error on the dashboard, and when I looked into the request logs I see the 400.
There is some way to make the first Invoice respect the 1 hour draft period, like letting it start in a few secs to the future, or use a trial
Subscriptions always start in the past for me. I haven't looked into using trials, I will take a look but it probably won't be feasible to add this complexity just for the invoice template.
I want to test my idea with the account's address info on test-mode before I make changes on live mode (like how long can the string be before it wraps on the invoice header?)
Re error: yes you can only edit in Live mode. Toggle the "Test mode" button off, then you can update via Dashboard