Note: Square doesn’t currently support receipts in sandbox mode. While in sandbox mode, links to receipts will result in a page not found error.
Summary
The {square_receipt_url} merge tag outputs the URL to the receipt hosted by Square for the transaction associated with the current entry.
Usage
{square_receipt_url}
Sample Output
https://squareup.com/receipt/preview/Z8UM3CXvupL8nIWIaqWVv6NTclXZY
Known Limitations
- The receipt URL won’t be output if the merge tag is processed before payment is captured.
- Square doesn’t currently support receipts in sandbox mode. Attempting to link to a receipt for a sandbox mode transaction would result in a page not found error.