Skip to main content

Commerce & payments

PayPal in Core Forms

Charge form users via PayPal — fixed amounts or donor-driven.

Bundled with Core Forms, the WordPress forms plugin with every premium feature in the box. No add-on tax.

Bundled, no add-on tax Unlimited sites Use code BLACKFRIDAY for 40% off either plan. Ends December 2 (IST).

A WordPress PayPal payment form built with Core Forms sends the buyer to PayPal through the Orders v2 API and brings them back when they're done. The amount can be fixed or taken from a field, which suits donations. You need a PayPal REST app with sandbox and live credentials, plus a webhook pointed at your site.

Pair Core Forms with PayPal's Orders API for one-time payments and donations. The buyer is sent to PayPal, completes payment, and bounces back. The submission stays pending until PayPal's webhook confirms the capture.

PayPal at a glance

PayPal API
Orders v2
Checkout
Hosted on PayPal
Test mode
PayPal sandbox
Credentials
REST app Client ID + Secret
Amount
Fixed or a field like [AMOUNT]
Webhook
/wp-json/cf/v1/payments/paypal/webhook

Full reference: PayPal setup and webhook events

What you get

How PayPal works in Core Forms

Donor-chosen amounts

Reference a form field like [AMOUNT] so the donor types the value they want to give.

Sandbox + live

Both environments supported, switchable per-site via the Payments mode toggle.

Same return + webhook flow

Same correlation semantics as the other gateways — webhook is the source of truth.

Use cases

What people build with PayPal and Core Forms

Donations, any amount

Set the amount to a field reference like [AMOUNT] so donors type what they want to give, then send them to PayPal to pay it.

Workshop or event fees

Charge a fixed price, collect attendee details in the same form, and send the confirmation email only after PayPal confirms the capture.

Offer PayPal next to Stripe

Each form picks its own provider, so one page can carry a PayPal form and another a Stripe form, both using the same Payments settings.

Rehearse in sandbox

Keep the site in Test mode with sandbox credentials while you check the full flow, then flip one switch to go live.

Set it up

Connect PayPal in 3 minutes

  1. 1

    Create a PayPal REST app

    PayPal Developer → Apps → grab Client ID + Secret for sandbox + live.

  2. 2

    Paste credentials

    Settings → Payments → PayPal. Add the webhook ID generated in your PayPal app.

  3. 3

    Enable on a form

    Form → Payment tab → choose PayPal, set amount (fixed or [field-reference]) and currency.

Want the long version? Read the step-by-step guide with screenshots of every setting.

Every setting, filter, and error message is documented in the PayPal setup and webhook events.

Inside Core Forms

The action in WP-Admin

The Payments settings with Test mode selected, currency routing and the PayPal card with the webhook URL and sandbox credentials
One switch moves every form between sandbox and live.
The Payment tab of a form with Require payment on, PayPal selected, an amount from a field and USD as the currency
The amount can be a fixed price or a field reference.
Good to know

Requirements and limits

  • Subscribe the PayPal webhook to CHECKOUT.ORDER.APPROVED, PAYMENT.CAPTURE.COMPLETED, PAYMENT.CAPTURE.REFUNDED, and PAYMENT.CAPTURE.DENIED.
  • PayPal has no inline flow in Core Forms; the buyer always leaves your page to pay on PayPal.
  • Test and live mode is one site-wide switch, so every PayPal form moves between sandbox and live together.
  • A buyer who cancels on PayPal leaves the submission as payment_failed, and the form's actions don't run.
FAQ

PayPal integration questions

What PayPal credentials do I need?
A PayPal REST app. Create it in PayPal Developer, copy the Client ID and Secret for both sandbox and live, and paste them under Settings → Payments → PayPal along with the webhook ID from the same app.
Can donors choose how much to give?
Yes. Set the Payment tab amount to a field reference such as [AMOUNT] and PayPal charges the value the donor entered. A fixed amount works too, written in major units like 19.99.
What happens if the buyer cancels on PayPal?
The submission moves to payment_failed and no actions fire. Only a confirmed capture sets it to paid. The payments overview lists every status.
Can I put the PayPal order ID in a receipt email?
Yes. [CF_PAYMENT_ID] holds the PayPal order ID and [CF_PAYMENT_AMOUNT_FORMATTED] the amount with currency. They resolve once the webhook confirms payment. See payment variables.
Can I test PayPal on my local site?
Yes, but PayPal needs a public webhook URL. Tunnel your local install with ngrok or localcan.com and register that URL in your PayPal app while using sandbox credentials.

Bundled with every Core Forms license.

PayPal and every Core Forms-built integration on this site are included with your license. Use code BLACKFRIDAY for 40% off either plan. Ends December 2 (IST).

Black Friday Sale

40% off Core Forms

Forms, polls, surveys, payments, and licensing — every feature, unlimited sites, one plugin.

Copy your code

Those are the after-discount prices. Paste BLACKFRIDAY at checkout to apply it. BLACKFRIDAY40 works too.

Ends December 2 (IST)