> ## 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.

# Troubleshooting and FAQ

> Messages the buyer may see, common setup problems and answers to frequent questions.

## Messages the buyer may see

These are the messages your funnel pages can show. Each one replaces the page content.

| Message | When |
| - | - |
| "Error": *An error occurred. Please try again later.* | The card was declined or the charge failed. It also shows when the buy button's offer code is missing or wrong, when a store buyer accepts a variant that is no longer sold in that step, and, as soon as the page loads, when the page runs on a domain different from the step's **Page URL**. |
| "Session Expired": *Your session has expired. You need to return to the checkout page to continue.* | The step's **Session time** ran out before the buyer clicked. |
| "UNAUTHORIZED": *You are not allowed to continue. You need to purchase the front offer first.* | The page was opened without coming from the checkout, or the script is on the thank-you page. |
| "Invalid Step": *You cannot access this step. Please continue following the purchase flow from where you left off.* | The buyer opened a step out of order, for example an earlier step they already left. |

## Troubleshooting

> [accordion] The buyer went to the thank-you page instead of the funnel
>
> The checkout sends the buyer straight to your product's thank-you page, or the platform's default one, without a funnel, when:
>
> * **Your own checkout:** the offer the buyer paid for has no funnel in **Select Funnel**.
> * **Shopify store:** no funnel is published to the store. In the funnel list, no funnel has the **Online** label; see [Build your store funnel](https://docs.pagamerican.app/sales-funnel/build-your-store-funnel.md#how-to-build-it).
> * The funnel was never published. Click **Publish** in the editor; saving alone keeps a draft.
> * The payment cannot be charged again with one click. This can happen with some card and digital wallet payments. Nothing extra is charged and the buyer keeps the main purchase.

> [accordion] Clicking the buy button does nothing
>
> * The page is still loading. The script starts handling clicks only after every image, font and video has loaded; the buyer can click again once it finishes. On a store page, the offer can already be visible during that time.
> * The script is missing from the page. Paste it as the last element before `</body>`.
> * **Shopify store:** the buyer has not picked every option yet. The offer points to the missing one, for example "Select a size to continue".

> [accordion] The offer does not appear on my store page
>
> Open the page from a test purchase and check the browser console for a message that starts with `[pag-offer]`:
>
> * `no product matches product="..."`: the product in the tag is not in this step. Copy the tag again from the product card of the step whose **Page URL** is this page. The same happens when the page is opened directly, without coming from the checkout.
> * `inside data-pag-yes or data-pag-no, nothing rendered`: the tag is inside an element that carries one of those attributes. Move it out.
> * `has no options and N offers, nothing to accept`: the product has several variants but no options in Shopify, so the buyer has no way to choose one. Select a single variant of it in the step, or give the product options in Shopify.
> * `tag not closed`: the offer still shows, but write the tag with its closing tag, `<pag-offer product="..."></pag-offer>`.
>
> If the console shows no `[pag-offer]` message, check that the script is on the page.

> [accordion] An offer disappeared from my store page
>
> The step has a **USD Off** discount that is no longer lower than that offer's price, for example because the price went down in Shopify. An offer whose discount would leave nothing to charge stops showing on the page. Lower the discount in the step, or raise the price in Shopify.

> [accordion] Saving fails after I set a step discount
>
> * **% Off:** the value has to be a whole number from 1 to 99. Decimals such as 12.5 are not accepted.
> * **USD Off:** the value has to be lower than the price of every offer of the step. The message names the offer whose price is not above the discount. Lower the discount, or remove that offer from the step.
> * **"Discounts are available only for e-commerce stores":** step discounts exist only in store funnels.

> [accordion] The offer shows in a different font
>
> The offer loads the DM Sans font from Google Fonts. If your page's Content Security Policy blocks Google Fonts, the offer falls back to the system font and everything else keeps working. To keep DM Sans, allow `fonts.googleapis.com` and `fonts.gstatic.com` in your policy.

> [accordion] The buyer left the page when clicking the buy button
>
> The button is an `<a>` with an `href`, and the buyer clicked before the page finished loading, so the browser followed the link. Remove the `href`. See [Mark the buttons](https://docs.pagamerican.app/sales-funnel/connect-your-pages.md#2-mark-the-buttons).

> [accordion] The page shows "An error occurred"
>
> * **Right after the page loads:** the page is served from a domain different from the step's **Page URL**. `www.yourstore.com` and `yourstore.com` are different domains here.
> * **After clicking the buy button:** `data-pag-offer` is missing, is not on the same element as `data-pag-yes`, or holds the SKU instead of the offer code. Copy the snippet from the step to get the right code.
> * **After accepting in a Shopify store:** the variant is no longer sold in that step, for example because it was removed from the step or deleted in Shopify.
> * **Otherwise,** the buyer's card was declined for that step.

> [accordion] The thank-you page shows "You are not allowed to continue"
>
> The script is on the thank-you page. Remove it: the thank-you page does not need it. See [Add the script to your upsell and downsell pages](https://docs.pagamerican.app/sales-funnel/connect-your-pages.md#1-add-the-script-to-your-upsell-and-downsell-pages).

> [accordion] A test purchase shows "Purchase already completed"
>
> The checkout accepts one purchase of the same product per email per day (UTC). In a Shopify store, the rule is per cart: the same products and quantities. A second one shows "Purchase already completed", charges nothing and never reaches the funnel. Use a different email for each test purchase.

> [accordion] Publish is disabled in the funnel list
>
> The funnel has no published version yet. Open it in the editor and click **Publish**, then publish it to your store from the list.

> [accordion] I can't remove or inactivate my store funnel
>
> The funnel is online in your store. Open the menu on its row and click **Unpublish**, or publish another funnel to the store. Then you can remove or inactivate it.

> [accordion] Opening my funnel page directly shows a notice
>
> That is expected. The page only runs when the buyer arrives from the checkout. To test, make a test purchase of the offer the funnel is attached to, or of a cart in your Shopify store, and follow the flow.

## FAQ

**Can the buyer come back to a step later, for example from an email?**
No. A step can be bought only from the link the buyer gets when the checkout or the previous step sends them there, and only during that step's **Session time**. A link to your page sent by email does not let them buy. See [What the buyer sees](https://docs.pagamerican.app/sales-funnel/how-it-works.md#what-the-buyer-sees).

**Is shipping charged on funnel purchases?**
No. Funnel purchases ship with the main purchase, and shipping is not charged on them.

**Is tax added on top of the funnel price?**
No. The price of the step's offer already includes tax. See [Charges and pricing](https://docs.pagamerican.app/sales-funnel/how-it-works.md#charges-and-pricing).

**Does my affiliate earn commission on funnel purchases?**
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. Affiliates are not available for Shopify stores.

**Do funnel purchases ship in the same box as the main purchase?**
Yes, as long as the buyer accepts them before the order goes to the supplier. See [Orders and fulfillment](https://docs.pagamerican.app/sales-funnel/how-it-works.md#orders-and-fulfillment).

**Can I test two upsells against each other?**
Yes. Add a **Traffic Split** step and connect each channel to a different upsell. See [Build your funnel](https://docs.pagamerican.app/sales-funnel/build-your-funnel.md).

**Can I change a funnel that is live?**
Yes. Edit it and click **Save** to keep a draft; buyers keep going through the live version until you click **Publish**.

**Can I copy a funnel?**
Yes. In the editor, open the version menu and choose **Duplicate**. The copy is a new, paused funnel that uses the same offers. It is not attached to any offer, so it changes nothing for buyers until you attach it.

## Shopify stores

**Can my store have a different funnel for each product?**
No. Your store runs one funnel, and it starts after every paid cart. See [One funnel per store](https://docs.pagamerican.app/sales-funnel/build-your-store-funnel.md#one-funnel-per-store).

**Do I attach the funnel to an offer, like with my own checkout?**
No. You publish the funnel to your store from the funnel list. See [Build your store funnel](https://docs.pagamerican.app/sales-funnel/build-your-store-funnel.md).

**Can a step sell more than one product?**
Yes, as alternatives. The buyer can accept only one offer per step. To sell two things, add another step.

**Can I give the buyer a discount on a step?**
Yes. Set a **% Off** or **USD Off** discount in the step's **Discounts** section, and it applies to every offer of the step. Discounts exist only in store funnels, not in funnels for your own checkout. See [Build your store funnel](https://docs.pagamerican.app/sales-funnel/build-your-store-funnel.md#how-to-build-it).

**Can the buyer choose the quantity?**
No. Each accepted step buys one unit of the variant the buyer picked.

**Do funnel purchases reach my Shopify order?**
Yes. The steps the buyer accepts go into the same Shopify order as the cart, which arrives about 40 minutes after the last funnel purchase. See [Orders and fulfillment](https://docs.pagamerican.app/sales-funnel/how-it-works.md#orders-and-fulfillment).

**Can I change how the offer looks?**
You choose where it goes on the page and how wide it is, between 240 and 400 pixels. What is inside it, such as colors and fonts, has a fixed look. See [Place the offer tag](https://docs.pagamerican.app/sales-funnel/connect-your-store-pages.md#2-place-the-offer-tag).


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