productId and the initial successful paysightSession. Give each offer a unique, stable upsellId, set its own amount (or Shopify cart), and submit the accepted offer with submitUpsell(). Paysight product IDs are separate from Shopify cart product/variant IDs. See Saved payment & upsell.
Shopify cart mode computes totals from line items. Combine with saved payment for a two-page funnel.
Live demo
Open the interactive Shopify cart demo in the sandbox playground.
Page 1 — cart checkout
This example creates a Shopify order without subscription opt-in (shopify.optIn: false). If the customer accepts the subscription configured on your Paysight productId, set shopify.optIn: true before submitting the initial payment and omit singlePurchase or set it to false. See Subscription opt-in.
Page 2 — cart upsell
Cart events
Listen forCART_READY and CART_UPDATE to sync order summary on your host page: