Rovenue SDKBeta
FunnelsWeb

Payment methods

Which methods a web funnel's checkout offers — card with Apple Pay and Google Pay, and Link — how to switch Link or the wallets off, and why every other Stripe method stays off.

A web funnel's checkout offers a short, fixed list of payment methods. It never takes the list from your Stripe dashboard: every Stripe object the funnel creates names its methods explicitly, so a method you enable on your Stripe account does not appear on a funnel unless Rovenue supports it.

What a funnel can offer

MethodHow it is switched onCharged again by an upsell
CardAlways on. It is the fallback, so it cannot be switched offYes
Apple Pay / Google PayRide on card. On when Wallets is on and the visitor's device supports themYes (as a card)
LinkOn when Link is on and your connected Stripe account has Link activeNo — the buyer skips the offers

The list is one table in the code (packages/shared/src/funnel/payment-methods.ts:28-31, packages/shared/src/funnel/payment-methods.json). Each row was proven in Stripe test mode for one-time payments, subscriptions charged now, and the setup intent of a trial.

Not offered: PayPal, Klarna, Afterpay, Cash App, Amazon Pay, Revolut Pay, iDEAL, Bancontact, EPS, SEPA Direct Debit, BLIK, Pix and every other redirect or delayed method. These need a return page or a "payment processing" state that funnels do not have, and most cannot pay a subscription. They stay off even when your Stripe account has them enabled.

Settings › Payments

In the funnel builder, open the Settings tab and its Payments section (web funnels only; a native funnel has none, because the app store picks the methods). It shows (apps/dashboard/src/components/funnel-builder/payments-section.tsx:348-381):

  • Card — a switch that is on and locked, labelled Always on.
  • Link — a switch, with your Stripe account's status beside it. When the account cannot take Link, a Not active on your Stripe account chip shows, with the hint that buyers see card only until Link is turned on in your Stripe dashboard (Settings › Payment methods). Before the project is connected to Stripe, the status says it shows once you connect.
  • Wallets (Apple Pay, Google Pay) — a switch.

The toggles are stored on the funnel document as settings.payments:

{
  "link": true,
  "wallets": true,
  "currency": { "mode": "price_default" }
}

A funnel without settings.payments behaves as all on (packages/shared/src/funnel/payment-methods.ts:138-142). The currency key is covered in Prices in local currencies.

The Link status comes from GET /dashboard/projects/:projectId/stripe/method-availability (apps/api/src/routes/dashboard/stripe-method-availability.ts:108), which also reports the currencies on each package's Stripe Price.

Turn Link off and publish. The checkout then offers card (with Apple Pay and Google Pay when Wallets is on) and the Express Checkout Element hides its Link button.

"Link" can still appear inside the card fields

Stripe's own Link in card setting, on your connected account's Stripe Dashboard, can show Link's autofill inside the card form even when Link is off on the funnel. That comes from Stripe, not from Rovenue: the payment is still taken through the card method the funnel allows. Switch it off in the Stripe Dashboard if you do not want it.

How the checkout picks the methods

For each checkout quote the server computes one method plan (apps/api/src/services/stripe/method-plan.ts:102-129):

  1. Start from the toggles (absent = on).
  2. Card is always in the plan. Link is added only when its toggle is on and the connected account's link_payments capability is active.
  3. Apple Pay and Google Pay follow Wallets.

The Stripe object (payment_method_types), the Payment Element (paymentMethodTypes) and the Express Checkout Element (paymentMethods) are all built from that one plan, so they cannot disagree. The Express Checkout Element's other methods (PayPal, Amazon Pay) are always never (apps/dashboard/src/runner/runner-api.ts:900-912). The inline card block offers card only, never Link or a wallet.

The account's capability is read from Stripe and cached for five minutes per connected account and mode (packages/shared/src/funnel/payment-methods.ts:157). If Stripe cannot be read, the plan falls back to card only. If Stripe still refuses Link when the payment is created (the cache was stale), the server drops the cached answer and creates the payment again with card, without asking the buyer to press pay twice (apps/api/src/routes/public/funnel-payment.ts:1380-1431).

Stale quotes: the 409s

The quote returns method_plan (with a plan_hash) and currency. The runner sends both back on POST /funnel-sessions/:sessionId/payment-intent. If either changed in between, nothing is created on Stripe and the server answers 409 (apps/api/src/routes/public/funnel-payment.ts:1617-1638):

CodeMeaning
METHOD_PLAN_CHANGEDThe methods changed since the form was drawn (Link switched on or off on the account, a new version published). details.method_plan is the current plan
CURRENCY_CHANGEDThe session's currency is not the one the quote showed
CURRENCY_UNAVAILABLEThe session's currency was removed from the Stripe Price; the session moved to the price's default (see Prices in local currencies)

The runner answers each of these by fetching a fresh quote and redrawing the form once; a second refusal in a row is shown to the buyer, never retried in a loop (apps/dashboard/src/runner/payment-step.tsx:90-96).

Publishing

One warning belongs to this page: PAYMENT_METHOD_NOT_ACTIVE — Link is on in Settings › Payments but the connected account cannot take it, so buyers are offered card only. It is not raised when Link is off. The document checks (PAYMENT_SETTINGS_NATIVE, PAYMENT_SETTINGS_UNKNOWN_KEY, PAYMENT_SETTINGS_VALUE_INVALID) are listed under What publishing checks.

In analytics

Each paid purchase records the method that paid (card or link) and the wallet, if any. The funnel's Revenue tab can group by method — card, wallet (a card paid through Apple Pay or Google Pay) or Link — and by charge currency, each taken from the session's first paid revenue row (packages/shared/src/funnel/revenue-analytics.ts:66-80, packages/shared/src/funnel/payment-methods.ts:210). A session whose revenue carries no method or currency label shows as (none). Wallet ids and client secrets are never stored. See Funnel Revenue Analytics.

Limits

  • Card cannot be switched off.
  • Only card (including Apple Pay and Google Pay) can be charged again by a one-click upsell. A buyer who paid with Link skips the offers.
  • The once-per-buyer trial rule knows a buyer by card fingerprint only for cards. A Link buyer, like an Apple Pay or Google Pay buyer, is limited by email (Free trials: once per buyer).
  • The order of methods, region-specific local methods and promo codes are not configurable. A funnel's payment form has no promotion-code field.

Promotion codes

Web checkout through the web SDK (checkout(), POST /v1/checkout) is a Stripe Checkout Session, and can show Stripe's own promotion-code field: pass allowPromotionCodes: true and the session is created with allow_promotion_codes: true. The codes are your connected Stripe account's promotion codes. Leaving it out (or false) sends exactly the session it always did. A redeemed code discounts the subscription's invoices, and the recorded period price — what MRR and proceeds read — is the discounted one: it is the invoice line's amount less its discount_amounts, a proration-only invoice applies the subscription's recurring coupon (not a first-invoice-only one), and a fully discounted invoice records no paid term (apps/api/src/services/stripe/stripe-period.ts). The funnel payment form above (Payment Element) is not a Checkout Session and has no such field.

import { configure } from '@rovenue/web-sdk';

const rovenue = configure({ apiKey: 'rov_pk_live_…', apiUrl: 'https://api.rovenue.io' });

export async function checkoutWithCodes(): Promise<void> {
  const { url } = await rovenue.checkout({
    offeringIdentifier: 'default',
    packageIdentifier: 'monthly',
    successUrl: 'https://app.example.com/ok',
    cancelUrl: 'https://app.example.com/no',
    allowPromotionCodes: true,
  });
  window.location.assign(url);
}

On this page