#zendron_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/1336593975678861323
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi, can you look at the Payment Method inside the Payment Intent, which is inside the Invoice?
Yes, the payment method associated with the invoice contains the billing address, but the invoice itself does not show that billing address nor the name on the invoice, which is a problem
Yeah I believe it's only available on the PaymentMethod. You could call Retrieve Invoice API, and expand payment_intent.payment_method to get the nested down address
Well yes, but won't the invoice already be finalized then?
Like I won't have time to do this manually hroughthrough a webhook as as soon as the customer pays the invoice is finalized and cannot be changed, correct?
It's correct that you only have the address after the Invoice is paid. What do you want to change at this timing?
Well I want for the billing address to be visible on the invoice, so how would you suggest doing that?
By visible, do you mean visible on Invoice receipt?
Exactly. Like you receive the option to download the invoice after paying successfully and I want the invoice to be visible on there.
Can you run a test on Test mode, that update the Customer's address field after the Invoice finalized, using the used Payment Method, then generate the receipt again from the hosted Invoice Page?
Let me try that out
Oh yeah, that surprisingly works! Thank you! So I can just add the address later after the payment has been made and it will just be added to the user generated invoice like that?
Yeah the Invoice will pick it up when generate the receipt