Checkout embed

PayPal + WordPress integration

A Custom HTML block on a WordPress page opens your Plandalf checkout, where PayPal sits beside cards as a payment option.

No credit card required. No coding required.

Does PayPal integrate with WordPress?

Plandalf does not install a PayPal plugin in WordPress. WordPress hosts the page and the script that opens a Plandalf checkout; PayPal is a payment option you switch on for the offer in Plandalf, after connecting your PayPal Business account. The same completion path runs as after a card payment.

What moves between PayPal and WordPress

EventFrom and toThroughWhat happens
Checkout openedWordPressPlandalfCheckout embedA button carrying data-plandalf-present opens the offer, or a data-plandalf-mount element shows it inline. Both come from the SDK script you paste into a Custom HTML block, a theme template or a plugin that adds scripts.
Pay with PayPalPlandalfPayPalPayment connectionThe buyer chooses PayPal in the checkout and approves the payment at PayPal. The option only shows on offers where you added PayPal.
Checkout completedPlandalf (paid via PayPal)WordPressCheckout embedPlandalf redirects, events, webhooks and sequences behave as they do after a card sale. A redirect can send the buyer to a thank-you page on your WordPress site.
Member accessPlandalfWordPressWebhookWordPress has no native Plandalf step. If a membership plugin needs to hear about the sale, a Send Webhook step can post the paid invoice to an endpoint on your site.
RefundPayPalWordPressBy handInvoice Refunded is documented for refunds that succeed in Stripe. After a PayPal refund, change the member's access in WordPress yourself.

Add a PayPal-enabled checkout button to a WordPress page

You need a WordPress login that can publish pages and insert JavaScript, a published Plandalf offer, and a PayPal Business account.

  1. Connect PayPal in Plandalf

    Open the PayPal integration from the dashboard, authorize the Business account, and add PayPal to the offer. Leave card payment on so buyers can switch.

  2. Create a test page

    In WordPress open Pages, then Add Page, and give it a name such as Plandalf checkout test. Keep it away from a live sales page until it works.

  3. Paste the script and button

    Switch the editor to the Code editor and paste the SDK script with a button that has data-plandalf-present and data-plandalf-mode='test'. Use your own host and offer slug.

  4. Publish and check the real page

    Open the published URL signed out. Caching and optimization plugins can move or delay scripts, so what you see in the editor is not proof.

  5. Take a sandbox PayPal payment

    Connect the PayPal sandbox, approve a sandbox payment, then cancel one attempt at PayPal and return to the checkout. Confirm the invoice and any redirect each time.

  6. Move the script into the theme

    Once it works, enqueue the SDK from the theme or a script plugin so every page gets it, and drop the test attribute.

What sellers do with PayPal and WordPress

Course landing page

A teacher's WordPress landing page has one Buy button. Students abroad who prefer a wallet pick PayPal in the checkout, while the page stays in the theme's own design.

Membership site with logged-in buyers

A members area signs a customer token on the server and calls identify() on checkout pages, so the checkout knows who is logged in before they pay with PayPal.

Limits and gotchas

  • Plandalf's WordPress replay covered a page-level button, saving, publishing and opening checkout. It did not verify payment, customer identification, caching plugins, inline checkout or countdowns, so test each yourself.
  • Block comments such as <!-- wp:html --> belong only in the page Code editor, not in the visual editor.
  • Cache and optimization plugins can defer or relocate the SDK script. Test the published page, not the preview.
  • A PayPal refund does not start Invoice Refunded, so WordPress access has to be changed by hand or from a sequence you start.
  • A button preview is not payment verification. Complete a sandbox payment before you rely on PayPal.

PayPal and WordPress: common questions

Does PayPal integrate with WordPress?
Through Plandalf, yes in one direction: a WordPress page opens a Plandalf checkout that offers PayPal. There is no PayPal plugin and no native WordPress step in Plandalf.
How do I add PayPal to WordPress with Plandalf?
Connect PayPal in Plandalf, add it to your offer, then paste the Plandalf SDK script and a checkout button into a Custom HTML block or your theme.
Do I need a WordPress plugin to accept PayPal through Plandalf?
No. A Custom HTML block is enough for a single page. A theme template or script-enqueue plugin is better for the whole site.
Can I give WordPress members access after a PayPal payment?
Use a Send Webhook step on Checkout Completed to notify your site, and check the paid invoice on your server before granting access.

Feature detail