> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pagamerican.app/llms.txt
> Use this file to discover all available pages before exploring further.

# How it works

> What the buyer sees, how funnel purchases are charged and how they reach the order.

Once the checkout approves the purchase, the buyer lands on the first step of the funnel. With your own checkout, that is a purchase of the offer your funnel is attached to. In a Shopify store, it is any paid cart, as long as a funnel is published to the store. From there, every click on your pages either charges an offer or moves the buyer on, until the funnel reaches the thank-you page.

## What the buyer sees

* **Accept:** a white overlay with the message "We are processing your purchase. Please wait..." covers the page, the card is charged, and the page **redirects** to the next step. It is navigation, not a popup that closes. With your own checkout, you can change the message with `data-pag-processing-message`, see [Mark the buttons](https://docs.pagamerican.app/sales-funnel/connect-your-pages.md#2-mark-the-buttons).
* **Decline:** no overlay and no charge, straight to the next step.
* **Payment declined:** the page content is replaced by the message "An error occurred. Please try again later." and nothing is charged for that step.
* **Link expired:** each step works for the **Session time** set on it. After that, the page content is replaced by "Your session has expired. You need to return to the checkout page to continue." and the buyer can no longer buy that step.

<video autoPlay muted loop playsInline src="https://mintcdn.com/pagamerican/zh0cPV2kZD8Kg0u-/videos/sales-funnel/accept-and-decline.mp4?fit=max&auto=format&n=zh0cPV2kZD8Kg0u-&q=85&s=f35b2f29bdbd52257fd3869d9c674b82" />

Declining the upsell, accepting the downsell and reaching the thank-you page

### In a Shopify store

The offer tag shows the step's products. The buyer picks the options, such as color and size, and clicks **Accept Offer**. From there, the buyer sees the same overlay and moves on the same way. The buyer takes one variant of one product per step, one unit, and the page moves on to the next step.

<video autoPlay muted loop playsInline src="https://mintcdn.com/pagamerican/LOuYpZQOKvBDa_ib/videos/sales-funnel/choose-and-accept.mp4?fit=max&auto=format&n=LOuYpZQOKvBDa_ib&q=85&s=bcf30f368f1ed984848def215e21b876" />

Choosing the options and accepting the offer

All the messages are listed in [Messages the buyer may see](https://docs.pagamerican.app/sales-funnel/troubleshooting-and-faq.md#messages-the-buyer-may-see).

## Charges and pricing

* **One click.** Accepting a step charges the card the buyer used at checkout. The buyer does not type their card again.
* **One charge per accepted step.** Each step the buyer accepts is its own purchase of that step's offer.
* **The offer price, tax included.** The buyer pays the price of the step's offer, with tax already included in it. In a Shopify store, that is the variant's price in your Shopify catalog. When you change a price in Shopify, the funnel charges the new one. When the step has a discount, the buyer pays the discounted price.
* **Only what you selected.** In a Shopify store, only the variants you selected in the step can be bought there. A variant that you remove from the step, that is deleted in Shopify, or whose product is set to draft or archived in Shopify, stops appearing and cannot be bought.
* **No shipping.** Shipping is not charged on funnel purchases, because they ship with the main purchase.
* **Affiliate commission (your own checkout).** Affiliates on a **Percentage** commission (RevShare) earn their percentage on the upsells and downsells the buyer accepts in the funnel. Affiliates on a **Fixed amount per sale** commission (CPA) earn only on the main purchase.

## Orders and fulfillment

Funnel purchases join the order of the checkout purchase. The order shows the main purchase and each purchase the buyer accepted in the funnel, and it ships as one order to the supplier of the main product.

The order goes to the supplier after a period with no new purchase, so a buyer who goes through the funnel gets everything in a single shipment. A step accepted after the order has already gone to the supplier still joins the order, but misses that shipment. [Fulfillment](https://docs.pagamerican.app/suppliers/fulfillment.md) explains the window, the statuses and what the supplier receives.

<video autoPlay muted loop playsInline src="https://mintcdn.com/pagamerican/zh0cPV2kZD8Kg0u-/videos/sales-funnel/order.mp4?fit=max&auto=format&n=zh0cPV2kZD8Kg0u-&q=85&s=5615ef464e621bf8773784635bd43991" />

An order with the main purchase and an upsell

### In a Shopify store

Every step the buyer accepts joins the same order as the cart, and your Shopify admin receives it as a single order with the cart items and the funnel items. So that the upsells ride in the same order and the same box, the platform waits before sending the order to Shopify: it arrives about 40 minutes after the last funnel purchase, and each step the buyer accepts restarts the count. While your store has no funnel published, orders reach Shopify right away.

In the order details, the summary shows how many upsells and downsells the buyer accepted, and each funnel item carries a **Root Upsell**, **Upsell** or **Downsell** label.

A funnel item from a step with a discount shows it in Shopify as a discount on that line, titled with the discount, such as "15% off" or "\$10 off". The order total matches what the buyer paid.

<video autoPlay muted loop playsInline src="https://mintcdn.com/pagamerican/LOuYpZQOKvBDa_ib/videos/sales-funnel/store-order.mp4?fit=max&auto=format&n=LOuYpZQOKvBDa_ib&q=85&s=9d38c79a358e89e561a4d81b2f6458c0" />

A store order with an accepted upsell

## Next step

> [card] [Troubleshooting and FAQ](https://docs.pagamerican.app/sales-funnel/troubleshooting-and-faq.md)
>
> Messages the buyer may see, common setup problems and answers to frequent questions.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.