Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web Billing Accelerated Sandbox #586

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions docs/web/revenuecat-billing.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,19 @@ In contrast to mobile app stores, there is no intermediary between you and the c

If you use the RevenueCat Billing sandbox API key, Stripe's test mode will be used automatically, and you can use one of Stripe's [test cards](https://docs.stripe.com/testing) to make purchases.

### Renewals in Sandbox

Sandbox subscriptions renew faster than actual subscriptions to facilitate testing. They also automatically renew up to a maximum of 6 times. At that point, the subscription will be automatically cancelled.

The following table shows the duration of each feature in sandbox mode:

| Feature | Duration |
| --------------------- | ------------------------------------- |
| Trial duration | 5 minutes |
| Subscription duration | 5 minutes and up to 6 renewals |
| Grace period duration | 3 minutes |
| Billing retries | Every 3 minutes and up to 5 attemptts |

## Current limitations

RevenueCat Billing currently has a number of known limitations. Most notably:
Expand Down
6 changes: 3 additions & 3 deletions docs/web/revenuecat-billing/product-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ In the "new product" screen, you can set up the following properties of the prod
- *Auto-renewing subscription*: A recurring subscription purchase, that continues on a given interval until canceled.
- *Consumable*: A non-recurring purchase that can be purchased one or more times (repeated).
- *Non-consumable*: A non-recurring purchase that can only be purchased once.
- **Duration**: The billing cycle (period length) of the subscription.
- **Free trial period**: The duration of a free trial
- **Duration**: The billing cycle (period length) of the subscription. *See [Sandbox testing](/web/revenuecat-billing#renewals-in-sandbox) for more information about durations in sandbox mode.*
- **Free trial period**: The duration of a free trial. *See [Sandbox testing](/web/revenuecat-billing#renewals-in-sandbox) for more information about durations in sandbox mode.*
- **Trial eligibility**: Which customers have access to the free trial:
- *Everyone*: Every customer will start a subscription to this product with a trial, even if they had a trial before. *Please note:* If you choose this option, it means that customers could continuously cancel their trial and start another trial to keep getting free access.
- *Has never made any purchase*: Only customers that have never made any purchase in this Project (including non-subscription purchases and purchases in other Apps of this project) are eligible for a trial.
- *Didn't have any subscription yet*: Only customers that have never had any subscription in this Project (including in other Apps of the project) are eligible for a trial.
- *Didn't have this subscription yet*: Only customers that have never subscribed to this product are eligible for a trial.
- **Grace period**: Length of the subscription access retention after a billing issue.
- **Grace period**: Length of the subscription access retention after a billing issue. *See [Sandbox testing](/web/revenuecat-billing#renewals-in-sandbox) for more information about durations in sandbox mode.*
- **Price**: The price that will be charged for every period of the subscription in each currency. You can add prices in additional currencies by clicking "Add price". Only one price can be set per currency. [Read more about multi-currency support in RevenueCat Billing](/web/revenuecat-billing/multi-currency-support).

![New product configuration page](/images/rc-billing/new-product-configuration.png)
Loading