Skip to content
Draft
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
15 changes: 9 additions & 6 deletions docs/web/guides/paddle-app-to-web.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -237,9 +237,10 @@ Most apps only have one entitlement, unlocking all premium features. However, if

### Web Purchase Link basics

1. Go to the **Product catalog** in your RevenueCat dashboard, and select your previously created offering in the **Offerings** tab
1. Go to the **Web Purchase Link** tab and select **Create a Web Purchase Link for this offering**
1. For the **Web config**, choose the Paddle config you created earlier
1. Click **Web** in the left menu of the **Project** dashboard
1. Click **Create web purchase link**
1. For the **Offering**, choose the offering you created earlier
1. For the **Payment provider**, choose the Paddle config you created earlier
1. Enter a suitable header and subheader for the package selection page, along with a link to terms & conditions

:::info Package selection skipped by default for web-to-app purchases
Expand Down Expand Up @@ -325,9 +326,11 @@ To test the web checkout in sandbox mode, make sure that you:

You can find the sandbox purchase URL by

1. Going to **Product catalog - Offerings** and selecting the offering you created earlier.
1. Selecting the **Web Purchase Link** tab
1. Copying the Sandbox URL template and appending an app user ID to it
1. Click **Web** in the left menu of the **Project** dashboard
1. Click the name of your web purchase link in the **Web purchase links** table
1. Click **Share URL**
1. Append a user ID
1. Click **Copy sandbox URL**

:::warning App user ID must be appended to URL template

Expand Down
4 changes: 2 additions & 2 deletions docs/web/web-billing/tax.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ Any tax rates added in your Stripe Tax dashboard in live mode may be applied to
To test that tax rates are correctly applied to Web Billing purchases:

1. Add tax registrations in Stripe's test mode — you need to configure separate tax registrations in test mode, which are separate from any registrations in live mode.
1. Load a sandbox Web Paywall Link, or initiate a purchase with the Web SDK in sandbox mode.
1. Load a sandbox Web Purchase Link, or initiate a purchase with the Web SDK in sandbox mode.
1. In the checkout, select a billing address for a location where a tax rate is active in Stripe's test mode.
1. If the tax registration is applicable for your product in the selected location, you should see that taxes are shown on the checkout page and in the purchase receipt.

Expand All @@ -99,7 +99,7 @@ As soon as you've added a registration in the Stripe dashboard live mode, Web Bi

#### How is a customer's tax location determined?

When a customer begins a purchase through a Web Paywall Link or Web SDK purchase flow, their tax location will be determined based on the billing address they enter, using country, state and postcode/zipcode information. The `country` field is pre-filled based on the customer's IP address location.
When a customer begins a purchase through a Web Purchase Link or Web SDK purchase flow, their tax location will be determined based on the billing address they enter, using country, state and postcode/zipcode information. The `country` field is pre-filled based on the customer's IP address location.

#### How does Sales Tax and VAT affect the price of my products?

Expand Down
18 changes: 12 additions & 6 deletions docs/web/web-billing/web-purchase-links.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,26 @@ Web Purchase Links support a range of use cases, with both identified and anonym

Before getting started, you first need to [connect your Stripe account with RevenueCat](/web/connect-stripe-account), if you haven't already done so.

Alternatively, to configure a Web Purchase Link with Paddle Billing, see [Paddle app-to-web purchases](/web/guides/paddle-app-to-web).

## Get Started

1. Create a [Web Billing App](/web/web-billing/web-sdk#app-configuration)
2. Add the [Web Billing Products](/web/web-billing/product-setup) you want to serve through your Web Purchase Link
3. Create an [Offering](/offerings/overview) with those Products
4. Visit that Offering's details page and click on the **Web Purchase Link** tab
5. Finally, click on the **Create a Web Purchase Link for this Offering** button
4. Click **Web** in the left menu of the **Project** dashboard
5. Finally, click on the **Create web purchase link** button
6. To support anonymous purchases, configure [Redemption Links](/web/web-billing/redemption-links) in your Web Billing app settings.

![](/docs_images/web/web-billing/web-purchase-link-create.png)

## Customise your Web Purchase Link

Choose a Web Billing app from the dropdown if you have more than one
Choose an internal name for your Web Purchase Link, this will only be used within the RevenueCat dashboard.

Select an offering to determine which products users will be able to choose between.

![](/docs_images/web/web-billing/web-purchase-link-choose-app.png)
![](/docs_images/web/web-billing/web-purchase-link-choose-offering.png)

### Product Selection page

Expand Down Expand Up @@ -76,7 +80,7 @@ After completing a purchase, there are two configurable options:
- Includes optional app download links and purchase redemption (for [Redemption Links](/web/web-billing/redemption-links))
- Customizable header and subheader

**Redirect to a custom URL**
**Redirect to a custom success page**

- Can be used to redirect to a post-purchase experience on your own website
- The app user id is appended as a URL parameter (`app_user_id`) so you can further customize the post-purchase experience
Expand Down Expand Up @@ -127,7 +131,9 @@ We suggest to create a dedicated offering/web purchase link for non-consumables

## Distributing Web Purchase Links

Once you've configured a web purchase link, you'll have access to two URLs formatted as `https://pay.rev.cat/<someProductionTokenWeGenerate>` (one for production, the other one for sandbox):
Once you've configured a web purchase link, you'll have access to two URLs formatted as `https://pay.rev.cat/<someProductionTokenWeGenerate>` (one for production, the other one for sandbox).

To access these click **Web** in the left menu of the **Project** dashboard, then select your Web Purchase Link from the table. Now click **Share URL**:

![](/docs_images/web/web-billing/web-purchase-link-urls.png)

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.