Testing with the test store
One shared store for every developer: a simple store with ready-made products, where you can install your app and try every scope.
What the test store is
The test store is shared by developers: any app that is not suspended installs there with no review and no payment. Its id: sandbox.
- Installing there needs no review and no payment, even for a paid app.
- Its data is sample data. Orders marked as test orders are not returned by the API.
- Other developers test there too, so the data may change while you work.
Put no real data in it: every developer testing there can see it.
Trying a full install
- Register your app with a return address and the scopes it needs.
- Start the consent flow for the test store and accept on the consent screen.
- Exchange the code for tokens and call the endpoints of each scope.
- Refresh the token once, then revoke it, to test your token handling.
- Uninstall from the store and check that your app stops and deletes what it kept.
Developing on your own machine
On the test store, return addresses may use http://localhost or http://127.0.0.1, so the merchant can come back to an app running on your machine. Notification addresses must still be public https.
Before you send for review
- Install, decline, and install again all work.
- The state is checked, and a code is used once.
- A refresh token is replaced after each use.
- Every notification's signature is verified, and a repeated id is ignored.
- The app handles 403 insufficient_scope and 429 rate_limited.
- Uninstalling stops the app's requests and deletes the store's data.
Version v1.0.0 Changelog Service status openapi-v1.json Support