Hi I would like to test my application on an actual Square POS. Is there a way to do so? Also do you have any other recommendations for testing after verifying it works on the Square Sandbox?
Square POS and Square hardware don’t support Sandbox sign-in, so testing on a real device has to happen in production. You can do that without putting a live business at risk:
- Create a separate Square account just for testing. Accounts are free, and you can have as many as you need.
- Sign in to the POS app or device with that account and point your app at its production credentials.
- To create orders and payments without charging a card, use CASH or EXTERNAL tender types.
- If you need to test card-present flows, run a few small real-card payments and refund them afterward. Plan for those refunds as part of your test run.
To test against POS-style data in Sandbox, such as payments with tips, you can generate it by calling the Payments API. Anything that depends on the POS app itself, like its screens, flows, or printed tickets, can only be tested in production.