Connect WooCommerce to Custom WordPress Payment Forms - Ninja Forms
Get access to free tutorials, exclusive content and more.

Connect WooCommerce to Custom WordPress Payment Forms

If you’re already using WooCommerce and your site runs on WordPress, you’ve probably felt the pain of manually moving data from form submissions into WooCommerce – creating customers by hand, generating invoices one-by-one, or trying to keep orders in sync. Good news: with the free Ninja Forms plugin and our Zapier add-on, every WordPress form submission can create or update WooCommerce records automatically: customers, coupons, orders, and much more, all without writing a line of code. This guide shows you exactly how to set it up in 5 easy steps!

Set it up: WordPress to WooCommerce in 5 easy steps

What you’ll need

1) Open (or create) your form in Ninja Forms

Setup the form you need to begin accepting the payments that you want. Here’s a handy guide for all the options you have at your disposal. Please feel free to ask us directly if you have any questions!

With the Zapier add-on active, you’ll see a Zapier action available under Emails & Actions in the form builder. Add it now and keep this tab open.

image of the ninja forms builder open to the email and actions tab with the available zapier action highlighted

2) Create your Zap

Thanks to Zapier’s new AI Zap builder, this is an absolute breeze. Just tell Zapier what you want to do. I told it:

when a new form is submitted in Ninja Forms, push submission payment information to WooCommerce

And just like that, I have my Zap.

image of the zapier editor with woo commerce and ninja forms seelcted

3) Copy & paste Zapier’s webhook into your form

This is how your form and Zapier know how to talk to each other.

In your Zap, click Ninja Forms – 1. New Form Submission and copy the webhook from there:

image of the zapier app with ninja forms submission added as the trigger. The trigger setting window is open with the webhook url highlighted.

Now back over to the tab you left open with your form and the Zapier action you just added.

  1. Paste the Webhook into the Zapier Web Hook field of the action.
  2. Save (Publish) the form
  3. Preview the form
  4. Submit the form

This established the connection between form and Zap. Head back over to your Zap now, same spot you copied the webhook from. Click Test Trigger. You should receive confirmation of the connection. If not, you skipped a step above. Just walk back through it, no worries.

4) Configure your Zap

Now back to your Zap. This time click on “WooCommerce 2. Create Payment”.

First, doublecheck the Action Event (what the Zap creates in WooCommerce with each new form submission). Mine defaulted to Create Order. But you have a full suite of options:

image of the zapier editor with woocommerce selected as the action app. options for what to do when the form submits are displayed.

You can Create, Update, or Find the following with each custom WordPress form submission:

  • Coupon
  • Customer
  • Order
  • Order Note
  • Product
  • Subscription
  • Subscription note
  • User Membership

Now, directly beneath the option you selected, click Sign In under the Account field. You’ll be prompted here (via secure connection) to sync your Zapier and WooCommerce accounts.

5) Test and turn on your Zap

Once you’re done mapping fields, click Continue in the Zap and Zapier will walk you through testing the Zap.

Submit the form again from your site and confirm the connection.

When everything looks good, Publish the Zap. You’re live!

Is taking payments through Zapier private and secure?

Absolutely. WooCommerce is a secure partner with Zapier. Your credentials are encrypted and can be removed at any time. You can manage all of your connected accounts through Zapier’s bespoke interface.

Zapier is independently audited and maintains SOC 2 Type II (and SOC 3) compliance. Data is protected with enterprise-grade controls, including encryption in transit and at rest, and GDPR-aligned processes backed by Zapier’s Data Processing Addendum (with SCCs)

It’s that easy—WooCommerce payments & more using a custom WordPress form!

In a few minutes, you turned your WordPress forms into a flexible payments front end: submit your custom WordPress form → Create, Update, or Find a module in WooCommerce → let customers pay with the methods they know and trust.

To get started (or roll this out to client sites), just install Ninja Forms and the Zapier add‑on, then use Zapier’s Ninja Forms ↔ WooCommerce connection to build your first automation today!