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, shipping and the coupon discount, if a coupon is applied on the checkout. PayPal lists each product with its quantity.
- 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.
Refunds
Refund a PayPal order from ElasticFunnels the same way as a card order: open the order in Conversions and click Refund. ElasticFunnels sends the refund to PayPal and the money goes back to the buyer’s PayPal account.- Full or partial. Enter any amount up to what is left to refund. You can refund one order several times until the full amount is back with the buyer.
- No voids. PayPal takes the money when the buyer approves, so a PayPal payment cannot be voided, even minutes after the sale. The refund dialog says so, and the order is always refunded.
- Pending refunds. When the original payment was funded by a bank transfer (eCheck), PayPal can accept the refund as pending and finish it later. The order shows as refunded right away.
- When PayPal refuses. The message shows PayPal’s reason, for example that the amount is more than what is left to refund. Nothing is recorded: the order keeps its refunded total and the buyer gets no refund email. Fix the cause or refund the buyer from your PayPal account, and the webhook records that refund.
- One refund at a time. While a refund of an order is running, a second one on the same order is refused. Refunding the same amount again after a timeout does not refund twice: PayPal receives the same request and answers with the first refund.
Tracking numbers are sent to PayPal
When an order paid through a PayPal merchant gets a tracking number, ElasticFunnels adds it to the PayPal transaction. PayPal uses it to settle “item not received” disputes. The tracking number can come from:- a fulfillment integration (ShipOffers or Jetpack), or
- your Shopify store, when the order was sent there with Shopify Order Sync and shipped from Shopify.
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 (add
?test=<test key>to its URL if you kept Live), 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. The Klarna tab is shown only on checkouts that sell one product; on a cart checkout the buyer sees Card and PayPal.
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