Checkout embed

Stripe + WordPress integration

WordPress stays the page; a Plandalf button or inline checkout on it takes payment through your connected Stripe account.

No credit card required. No coding required.

Does Stripe integrate with WordPress?

Plandalf is not a WordPress payment plugin. It adds a checkout to WordPress pages through a script and a button, usually in a Custom HTML block, and the payment runs through the Stripe account you connected in Plandalf. WordPress keeps your content and memberships, and nothing is synced between the two.

What moves between Stripe and WordPress

EventFrom and toThroughWhat happens
Visitor opens checkoutWordPressPlandalfCheckout embedA Custom HTML block, theme template or plugin-enqueued script loads the SDK. A button with data-plandalf-present opens the offer, and data-plandalf-mount renders it inline.
Card paymentPlandalfStripePayment connectionThe charge is made in your Stripe account. Plandalf reads and writes through Stripe and is not the merchant of record.
Logged-in member buysWordPressPlandalfCheckout embedOn membership or course sites your server signs an identity token and the page calls identify() after the SDK loads, so checkout knows who is buying.
Checkout completedPlandalf (paid via Stripe)WordPressWebhookPlandalf has no WordPress step. To grant access, a sequence can post the buyer's email and invoice to an endpoint your site exposes with Send Webhook.

Add a Stripe checkout button to a WordPress page

You need a published Plandalf offer, a Stripe-backed price on it, and a WordPress account allowed to publish pages and insert JavaScript.

  1. Connect Stripe and publish the offer

    In Plandalf authorize your Stripe account, attach a price to the offer and publish it. Copy the offer slug and your organization's script URL from its share code.

  2. Open a page in the code editor

    In WordPress add a new page, open the editor Options menu and choose Code editor. This keeps the script and button in one block while you test.

  3. Paste the script and button

    Paste a Custom HTML block holding the Plandalf script tag with async and a button carrying data-plandalf-present set to your offer slug. Add data-plandalf-mode set to test while you rehearse.

  4. Save, publish and view the real page

    Save the draft and check that WordPress kept the script. If it was stripped, your account or hosting plan may not allow custom JavaScript. Publish, then open the live page, because caching and optimization plugins can move or delay scripts.

  5. Test the payment

    Confirm the Stripe test connection in Plandalf first. Open the checkout from the published page and pay with a Stripe test card, then find the paid invoice in Plandalf.

  6. Move the script to the theme

    When the page works, load the script once from the theme or a plugin instead of per page, and remove the test attribute. Add a sequence on Checkout Completed to send the receipt.

What sellers do with Stripe and WordPress

Course creator on a WordPress blog

A coach with a blog adds a Buy button to each post and one inline checkout on the sales page, all pointing at the same offer, with no cart plugin.

Membership site that sells upgrades

A site with logged-in members signs an identity token server-side and calls identify() on the checkout page, so an upgrade is tied to the member who is already signed in.

Event page with an early-bird deadline

A venue's page shows a data-plandalf-promo countdown and a buy button using data-plandalf-apply-promo, so the price steps up when the deadline passes.

Limits and gotchas

  • WordPress does not know about a Plandalf sale. Granting a role, a membership level or a download needs a sequence that sends a webhook to your site, and your server should check the paid invoice before it grants anything.
  • The WordPress guide's screenshots show a button install, saving, publishing and opening checkout signed in and signed out. They do not verify a payment, customer identification, membership access, caching plugins, inline checkout or countdowns.
  • Page builders, cache plugins and script optimizers can move, delay or strip the Plandalf script. Test on the published page, not in the editor preview.
  • Hosting plans that block custom JavaScript will remove the script when you save. Check this before you build around a Custom HTML block.
  • Test mode is a request, not a guarantee. Verify that the connected Stripe account is a test account before using a card.

Stripe and WordPress: common questions

Does Stripe integrate with WordPress?
Plandalf does not install into WordPress as a plugin. It adds a Stripe-backed checkout to a page through a script and a button, so WordPress hosts the page while Stripe takes the payment.
How do I add a Stripe checkout to WordPress?
Connect Stripe to Plandalf, publish an offer, and paste the Plandalf script plus a data-plandalf-present button into a Custom HTML block. The WordPress setup guide has the full walk-through.
Can I use a Plandalf checkout inside a WordPress post?
Yes. Use a button that opens the offer in a frame, or a data-plandalf-mount container for an inline checkout with a tall enough minimum height.
Do WordPress members get access automatically after paying?
No. Plandalf does not write to WordPress. Send a webhook from a Plandalf sequence to your own endpoint and have your site verify the paid invoice first.

Feature detail