Skip to main content
PayPal is a payment option on your checkout, shown as a tab next to the card form. The buyer picks PayPal, approves the payment on PayPal’s own pages, and comes back to your funnel. Your card merchant (Stripe, NMI or Authorize.Net) still runs the card form on the same page.
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:
  1. A PayPal Business account.
  2. 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.
  3. A card merchant on the domain the checkout runs on. See How to set up a new merchant.
If PayPal shows a “No-Code Checkout” page when you open your Live account, click Manage API credentials (or Invite your developer) to reach the Developer Dashboard.

Step 1 - add the PayPal merchant

  1. Go to Merchants → Add Merchant and choose PayPal.
  2. Paste the Client ID and Secret. Sandbox and Live credentials have their own fields, and the Mode toggle decides which pair is used.
  3. Save.
When you save, ElasticFunnels:
  • 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

Add data-paypal to the card panel, with your PayPal merchant’s ID (shown on the Merchants list):
The panel now renders as two tabs: Credit Card (from the domain’s merchant) and PayPal. The same Complete my order button submits either one. Nothing else on the page changes: the order summary, bumps, totals and the customer fields all work the same way. See How to design a checkout page for the full page. In the page builder, select the Credit Card Form block and pick the merchant under PayPal Options → PayPal Merchant.
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.
data-paypal only counts when the ID belongs to a PayPal merchant in the same brand. A deleted merchant or a typo in the ID hides the PayPal tab, and the card form keeps working.

What the buyer sees

  1. The buyer fills in their email and name, picks the PayPal tab and clicks the button.
  2. 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.
  3. 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.
PayPal works on cart checkouts too (a page where the buyer picks several products, such as “pick your 6”): every product in the cart is charged at the same price as by card. A coupon that makes the whole order free cannot go through PayPal; the buyer completes it with the card form. If the buyer cancels on PayPal, they return to the checkout, with their cart as they left it, and can pay with a card instead. If PayPal cannot start the payment, the buyer stays on the checkout with a message to pay by card or try again; the cause is recorded for your support team.

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.
To enable it, open your app in the PayPal Developer Dashboard and turn on Save payment methods (PayPal’s vault feature) under the app’s features. On Live accounts PayPal may need to approve it. Then save the PayPal merchant again so the check runs again.

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.
A refund you issue from your PayPal account instead also reaches ElasticFunnels through the webhook and is recorded on the order once.

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: There is nothing to set up. Each tracking number is sent once per payment. A carrier PayPal does not recognise is sent as “Other”. If PayPal rejects the call, the order itself is not affected.

Testing with the PayPal sandbox

  1. Create a Sandbox app in the Developer Dashboard and copy its Client ID and Secret into the sandbox fields of the PayPal merchant.
  2. Set Mode to Sandbox, or keep Live and use the merchant’s test key: see Test mode.
  3. 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.
Sandbox payments are recorded as test orders.

Klarna

Klarna works the same way: add data-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.