# Sandbox Purchases

Test with your web paywalls by using sandbox products.

Purchase flow overview [#purchase-flow-overview]

When a user clicks on a button to purchase a product, the process will switch over to Stripe's checkout flow:

<img src="__img0" />

Once the purchase goes through successfully, they'll be taken to a page where Superwall prompts them to:

1. Download the app.
2. Click the redemption link.

> **Note**

Users should click the redemption link *on the device where the app is installed*. If the setting for "Redeemable on Desktop" is diabled, they'll be prompted to continue on an iOS device.



## Tab

<img src="__img1" />

## Tab

<img src="__img2" />



From there, the [redemption flow](/docs/sdk/guides/web-checkout/linking-membership-to-iOS-app) occurs.

Testing a purchase [#testing-a-purchase]

To test a purchase:

1. Add a [sandbox product](/docs/web-checkout/web-checkout-adding-a-stripe-product#creating-sandbox-products-to-test-with) to a paywall.
2. Visit the paywall URL and checkout.
3. Choose "Card" for the payment method.
4. For the card number, use `4242 4242 4242 4242` with any expiration date later than today, any CVC and fill out the name and zip code.

<img src="__img3" />

This will allow you to checkout and go through the entire flow to debug issues, test it out on a device and more.

Testing Adaptive Pricing [#testing-adaptive-pricing]

If you enabled [Stripe Adaptive Pricing](/docs/web-checkout/web-checkout-adaptive-pricing), test local currency presentment with a location-formatted email address. Add `+location_XX` before the `@`, where `XX` is a two-letter country code.

For Web2App, pass the email through the checkout link and URL-encode the `+` character:

```plaintext
https://caffeinepal.superwall.app/black-friday-promo?email=test%2Blocation_FR@example.com
```

For App2Web, set the user's `email` attribute to a location-formatted email before starting checkout. If you also set `stripe_customer_id`, use a Stripe test customer whose email includes the same `+location_XX` suffix.