PayPal is never the main merchant of a domain or funnel. A domain needs a card merchant, because the checkout’s card form is built from it, and PayPal has no card form. The app does not let you pick PayPal (or Klarna) as a domain’s merchant, a funnel’s merchant, or the merchant a Set Merchant node switches to. You add PayPal to a checkout page instead, as shown below.
Before you start
You need:- A PayPal Business account.
- An app in the PayPal Developer Dashboard, with its Client ID and Secret. Use a Sandbox app to test and a Live app to take real payments.
- A card merchant on the domain the checkout runs on. See How to set up a new merchant.
Step 1 - add the PayPal merchant
- Go to Merchants → Add Merchant and choose PayPal.
- Paste the Client ID and Secret. Sandbox and Live credentials have their own fields, and the Mode toggle decides which pair is used.
- Save.
- Creates the webhook on your PayPal app for captures, refunds, voids and disputes, so refunds and chargebacks reach your reports without any setup on your side.
- Checks whether your PayPal app can vault buyer wallets. Vaulting is what makes one-click upsells and subscriptions possible (see below). The check places a $1.00 test order that the buyer never approves, so nothing is charged.
Step 2 - add the PayPal tab to your checkout page
Adddata-paypal to the card panel, with your PayPal merchant’s ID (shown on the Merchants list):
data-paypal is set per page on purpose. A checkout only offers PayPal where you add it, so you can keep PayPal off a page (for example a subscription offer you only want on cards) without touching the merchant.What the buyer sees
- The buyer fills in their email and name, picks the PayPal tab and clicks the button.
- They are sent to PayPal, log in and approve the payment. The amount PayPal shows includes bumps, tax and shipping.
- PayPal sends them back to your funnel, the payment is captured, and they continue to the next step (an upsell or the thank-you page), exactly as after a card payment.
One-click upsells and subscriptions (vaulting)
When your PayPal app can vault buyer wallets, the first PayPal payment also saves the buyer’s PayPal wallet for later charges that the buyer agreed to:
If a one-click upsell charge fails, the buyer is sent to PayPal to approve it instead of seeing a decline.
Turning vaulting on
Vaulting is a feature PayPal enables on your app. ElasticFunnels checks it every time you save the merchant. If it is off:- Checkout still works. Payments complete normally without vaulting.
- One-click upsells fall back to the PayPal approval page, and subscription renewals cannot be charged until vaulting is on.
Testing with the PayPal sandbox
- Create a Sandbox app in the Developer Dashboard and copy its Client ID and Secret into the sandbox fields of the PayPal merchant.
- Set Mode to Sandbox, or keep Live and use the merchant’s test key: see Test mode.
- Open your checkout, choose PayPal, and log in with a sandbox personal account from Testing Tools → Sandbox Accounts in the Developer Dashboard.
Klarna
Klarna works the same way: adddata-klarna="<merchant id>" to the card panel to show a Klarna tab, and like PayPal it cannot be a domain’s or funnel’s main merchant.
Related
- How to design a checkout page
- Checkout functionality reference - every
<checkout-cc-panel>attribute - Test mode
- Apple Pay and Google Pay
- Postback URLs - PayPal sales, refunds and disputes fire the same payload as card sales