Testing

Create and Authorize a Sandbox Test Account

Create Sandbox test accounts and access the Sandbox Seller Dashboard in the Developer Dashboard.

Sign in to the Developer Dashboard to create test accounts.

Create a Sandbox test account
Permalink Get a link to this section

The Developer Dashboard lets you create up to four test accounts in addition to the default Sandbox test account.

Choose Add to create a new Sandbox test account. new-sandbox-account

Authorize a Sandbox test account
Permalink Get a link to this section

The application OAuth page lets you authorize a Sandbox test account to use your application with the permission scope you set in the authorization. In testing, you can bypass the production OAuth Authorization API callflow by using the access token generated for each Sandbox test account you create.

  1. Choose the application that you want a test account to be authorized to use.

  2. Choose Sandbox Settings.

  3. Open the OAuth page, and then choose Authorize an Account.

  4. In the Authorize an Account dialog box, choose a Sandbox test account to authorize.

  5. Choose the permissions that you want the account to have, and then choose Save.

Note

If you want to change the permission scope that you authorized for a Sandbox test account, you must revoke the existing authorization and then create a new one.

Next steps
Permalink Get a link to this section

Use your Sandbox test account to test a Square Payments website integration. For more information, see Walkthrough: Integrate Square Payments in a Website.