Stripe | Invoice address does not appear on invoice pdf

Viewed 558

I wrote a subscription system with php, everything works perfectly. Payments are received automatically. but there is only one small problem when it comes to billing. The address of the customer must be included in the invoice. I did not write the invoice anywhere in the code section. stripe automatically generates the invoice. Unfortunately, there is no address on the invoice. When I asked support, they told me that the address will not be displayed in test mode, but when we switched live mode, it still did not work. Thanks for your help in advance.

Invoice Without Address enter image description here

Invoice With Address And Draft Invoice enter image description here

2 Answers

I'd suggest you reach back out to support and ask them to escalate this as I don't think their answer was correct, but there's no way for anyone to look at the details of the invoice from here.

It's possible that Customer object for the person without an address has no address - that's the only thing I can think of offhand.

As far as I know, Stripe displays the customer.address property as the address on invoices. Billing address collected via checkout for example, isn't displayed on the invoice. You could check customer details on the dashboard and make sure that they have an address shown under details: Example

Related