# Test the Integration

### [Sandbox Stores](#sandbox-stores) <a href="#sandbox-stores" id="sandbox-stores"></a>

Each store in Purple Dot is configured as either `Live` or `Sandbox`. A sandbox store doesn't process real payments and can be used for development or testing.

The sandbox attribute of a store is set when it's created and can't be changed later. Sandbox stores are indicated with a badge in your Merchant Portal and the checkout modal.

Our recommended integration approach is to create a sandbox store (e.g. `ACME Staging`) and connect it to your staging environment. When you're ready to go live, you can create a live store (e.g. `ACME UK`), connect it to your production store, and switch the sandbox API key for a production one.

### [Test Card Numbers](#test-card-numbers) <a href="#test-card-numbers" id="test-card-numbers"></a>

To test transactions in a sandbox store, you can use Stripe's [test card numbers](https://stripe.com/docs/testing#cards). A UK-based test card number is `4000 0082 6000 0000` and US-based test card number is `4242 4242 4242 4242`. You can use any expiry date, CVC, and ZIP/postcode with the test cards.

### [Accepting Orders](#accepting-orders) <a href="#accepting-orders" id="accepting-orders"></a>

When you export a pre-order from a sandbox store, an order is created in your connected store as normal.

To be able to export orders in a sandbox store, you must still connect a bank account. When connecting a bank account in a sandbox store, you can use Stripe's [test details](https://stripe.com/docs/connect/testing). No real money transfers are made in sandbox stores.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.getpurpledot.com/docs/shopify-stores/test-the-integration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
