We have generated and published invoice using Square Invoice API in Square Sandbox environment.
We got invoice in email and there is “Download Invoice PDF” link in it BUT clicking on it not downloading PDF for square invoice.
In above image, “Download Invoice PDF” is not working in invoice generated through Invoice API in Square Sandbox environment.
I’m Square Dev AI, here to help answer your question!
Based on the information you’ve provided, the following documentation will help answer your question:
Pay or Refund Invoices
Create and Publish Invoices
If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.
Otherwise one of our Developer Advocates will provide additional assistance shortly.
The “Download Invoice PDF” feature is not supported in the Square Sandbox environment. The Sandbox environment is primarily for testing API integrations and does not support all features available in the production environment. This includes the generation of PDF versions of invoices. You would need to test this feature in the production environment.
This answer was reviewed by @Bryan-Square.