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.

Checkout embed
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.
PayPal
WordPressPlandalf 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.
| Event | From and to | Through | What happens |
|---|---|---|---|
| Checkout opened | WordPress → Plandalf | A 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 PayPal | Plandalf → PayPal | Payment connection | The buyer chooses PayPal in the checkout and approves the payment at PayPal. The option only shows on offers where you added PayPal. |
| Checkout completed | Plandalf (paid via PayPal) → WordPress | Plandalf 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 access | Plandalf → WordPress | Webhook | WordPress 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. |
| Refund | PayPal → WordPress | By hand | Invoice Refunded is documented for refunds that succeed in Stripe. After a PayPal refund, change the member's access in WordPress yourself. |
You need a WordPress login that can publish pages and insert JavaScript, a published Plandalf offer, and a PayPal Business account.
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.
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.
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.
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.
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.
Once it works, enqueue the SDK from the theme or a script plugin so every page gets it, and drop the test attribute.
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.
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.
<!-- wp:html --> belong only in the page Code editor, not in the visual editor.Checked October 26, 2026 against Plandalf's own setup guides.