The Zapier Webhooks Add On connects your Paid Memberships Pro site to thousands of apps, so you can automate workflows and sync membership data with the other tools you use.
What You Can Do with Zapier Webhooks
- Sync membership data with CRMs like HubSpot, Salesforce, or ActiveCampaign.
- Automate email marketing by sending new member details to your ESP of choice.
- Track membership data by logging new orders in Google Sheets, QuickBooks, or Airtable.
- Trigger actions in external apps when members join, renew, or cancel their membership.
- Create custom workflows without writing a single line of code.
How it Works
This Add On is available as a legacy option if you want to automate your membership site using webhooks. We strongly recommend using the PMPro’s native Zapier App as an alternative to this Add On. Using the built-in Zapier integration allows multiple events for each action and trigger, which you cannot do using the webhook methods in this Add On.
The Add On version provides Zapier triggers to send data when membership events occur (such as new orders or level changes) and Zapier actions to receive data and update membership details.
With built-in webhook support, you can integrate your membership site with any Zapier-compatible app, automating tasks that would otherwise require manual effort.
Note: using webhooks with Zapier requires a monthly subscription (view Zapier pricing). The native Zapier integration in core Paid Memberships Pro has no fees for zaps that qualify for the Free Zapier plan.
Installation
You must have the Paid Memberships Pro plugin installed and activated to use this Add On.
- Navigate to Memberships > Add Ons in the WordPress admin.
- Locate the Add On and click “Install Now“.
- Or, to install this plugin manually, download the .zip file above.
- Upload the compressed directory (.zip) via the Plugins > Add New > Upload Plugin screen in the WordPress admin.
- Activate the plugin through the Plugins screen in the WordPress admin.
Send Data to Zapier (Triggers)
Making a Zap
Zapier uses the term “Zap” to refer to the basic connections that automate a process for you. A Zap is a trigger with an event, and the triggers available in this integration are listed below:
Triggers
- Changed Membership Level (
pmpro_after_change_membership_level): Sendsuser_id,username,user_email,old_level_status,level, andtrigger. - New Order (
pmpro_added_order): Sendsusername,user_email,order,date, andtrigger. - Updated Order (
pmpro_updated_order): Sendsusername,user_email,order,date, andtrigger. - After Checkout (
pmpro_after_checkout): Sendsuser_id,username,user_email,level_id,level_name,first_name,last_name,order,date, andtrigger.
The order field includes the order’s id, code, user_id, membership_id, billing address, discount_code, subtotal, tax, total, payment_type, cardtype, accountnumber, expirationmonth, expirationyear, status, gateway, gateway_environment, payment_transaction_id, subscription_transaction_id, timestamp, affiliate_id, affiliate_subid, notes, and checkout_id. The trigger field holds the name of the trigger that sent the data.
Setting Up A Webhook In Zapier
Triggers are used to activate the Zap, in our case we will use the webhook option. This option is used for all Zaps that the Zapier Integration for Paid Memberships Pro uses.
- Log in to your Zapier Account or create a new account with Zapier.
- Select Create > Zaps located at the top left of the screen.
- Click “Trigger“, to view and select “Webhooks“.

- Select the Trigger Event “Catch Hook“. Then click “Continue.”

- On the next screen, leave the “Pick off a Child Key” field blank. Click “Continue“.
You have successfully created a custom webhook URL. Copy the webhook URL to your clipboard using CTRL + C or CMD + C. This is the value that will be pasted into the Memberships > PMPro Zapier settings page in your WordPress dashboard.

Configuring Paid Memberships Pro to Use Your Webhook
There are four triggers you can use to allow integration with Zapier: “New Order,” “Updated Order,” “Changed Membership Level” and “After Checkout”. Triggers can be configured on the Send Data to Zapier (Triggers) tab of the Memberships > PMPro Zapier settings page in your WordPress dashboard.
- Check the box next to the Trigger(s) you would like to use for this Zap.
- Paste the “Custom Webhook URL” created in the steps above into the Webhook URL field for the Trigger(s) you would like to use for this Zap. Only paste the Webhook URL into the Triggers this Zap needs to use. If your Zap needs more than one Trigger, you may use the same Webhook URL for more than one field. You can also use a different Webhook URL for each Trigger to send data to a different application.
- After pasting the Webhook URL into the appropriate field, click “Save Changes”.
Now, Zapier will run a test to confirm that the Webhook is working. In order to complete the test, you must make a change on your site that would initiate the appropriate trigger. An easy way to do this for each Trigger is:
- Changed Membership Level: Edit a user and change their membership level.
- New Order: Add a new order via the Memberships > Orders page in your WordPress dashboard.
- Updated Order: Edit an existing order via the Memberships > Orders page in your WordPress dashboard.
- After Checkout: Complete a checkout on your membership site.
If your test is successful, you can click the “view your hook” to ensure the data is correct and also preview what data will be available for your Actions.

Testing Your Connection
After saving the settings in your Paid Memberships Pro Zapier settings page, you should test that the connection is working properly. Navigate to your Zapier account to test the webhook.
- To test a “New Order” trigger, perform a checkout on your membership site.
- To test an “Updated Order” trigger, change the status of an order to “refunded”.
- To test a “Changed Membership Level” trigger, edit a user record and modify the membership level.
- To test an “After Checkout” trigger, complete a checkout on your membership site.
You do have the option to skip this step in Zapier, although it is a very good idea to test at this time so that you can ensure your integration is working properly.
Setting Up The Action
Zapier connects with thousands of apps. For this example, we are going to create a log of data using the “Changed Membership Level” trigger and populate a Google Sheet. You may browse and select a different service based on your needs.
- Click “Action” on the flow chart screen, select “Google Sheets“.

- Select “Create Spreadsheet Row” and continue.
- Connect your Google Sheets Account to your Zapier Account.
- In Google Sheets, create a new Google Sheet to send this data to. You must add column labels in your sheet. These labels will correspond to the data you want to capture during the set up process in Zapier. Data can grouped and added a single column or each piece of data can be added to a unique column.
- In Zapier, you must select the “Spreadsheet” for this Trigger as well as assign spreadsheet columns to the data available in your Trigger.

- The following data is available via the “Changed Membership Level” Trigger:
user_idusernameuser_emailold_level_statustriggerlevel, with these fields (when a membership is cancelled,levelonly containsIDwith a value of 0):IDnameconfirmationinitial_paymentbilling_amountcycle_numbercycle_periodbilling_limittrial_amounttrial_limitstatusexpiration_numberexpiration_periodstartdateenddate
- Run a test to send data to your spreadsheet. Confirm the data populated on the spreadsheet.
- If your test is successful, select “Publish“.
Receive Data from Zapier (Actions)
Receiving Data into Your Membership Site
As with the triggers, this integration can also receive data from a Zap and make changes to your Membership site. This means that external applications can send updates to your Paid Memberships Pro member data.
Navigate to Memberships > PMPro Zapier and open the Receive Data From Zapier (Actions) tab to locate your Webhook Handler URL and API Key. This information will be used when connecting to a Paid Memberships Pro account in Zapier.
The Webhook Handler URL uses this format: https://yoursite.com/?pmpro_zapier_webhook=1&api_key=YOUR_API_KEY. The Add On creates a 32-character API key for you the first time it loads its settings. Requests with a missing or incorrect API key are rejected with a 403 error.

Regenerate Your API Key
Create a new API key if you think your Webhook Handler URL was shared with someone who shouldn’t have it. The old key stops working as soon as you regenerate it, so any Zap that uses the old Webhook Handler URL will fail until you update it.
- Navigate to Memberships > PMPro Zapier and open the Receive Data From Zapier (Actions) tab.
- Click the “Regenerate API Key” button next to the API Key field.
- Click “OK” to confirm. The page reloads with an “API key regenerated” notice and shows the new API Key and Webhook Handler URL.
- Copy the new Webhook Handler URL and paste it into the URL field of each Zap that sends data to your site.
Only administrators can regenerate the API key. As of version 1.2.5, the button is the only way to do it. Adding ?pmproz_generate_api_key=1 to an admin URL no longer creates a new key on its own.
Setting Up The Zap to Receive Data
Many apps can send data to your PMPro-powered site. In this example, we are going to set up a Zap that adds a member when a new spreadsheet row is added to a Google Sheet.
The step-by-step instructions are listed below the video.
Create a New Zap
- Log in to your Zapier Account or create a new account with Zapier.
- Navigate to Create > Zaps at the top left of the screen.
- Select “Google Sheets” under “Trigger” in the flow chart screen.
- Select the “New Spreadsheet Row” trigger event.
- Follow the steps to authenticate your Google Sheets Account with Zapier
- Once authenticated, select the Spreadsheet you will be populating with member data and the specific “Worksheet” that contains this data. (This is usually Sheet1 unless otherwise named in your spreadsheet.)
- You can test the connection, if desired, by modifying the Spreadsheet directly in your Google Sheet then return to Zapier and click “Get More Samples”. This should update with the new data added to your sheet, thereby confirming the connection is working.
- Next you must add an “Action” to your Zap.
Add an Action to Your Zap
- Select “Webhooks“. This is listed as a “Built-In Tool” or can be located by the search field.
- Select “Fire off a single GET request with optional query strings.” as the Action event.
- Locate your Webhook URL under Memberships > PMPro Zapier > Receive Data from Zapier (Actions). Copy and paste the webhook URL into the “URL” field in Zapier.

- In the “Query String Params” section, add a parameter with the name
actionand the valueadd_member. Other available Actions for this integration are listed separately in this documentation. - Add query string parameters to send data from the spreadsheet to your membership site. Available parameters for the action must correspond to a column of data in your spreadsheet. Use these parameters with the
add_memberaction:user_email(required for a new user),level_id(required),user_login,user_pass,full_name,first_name, andlast_name. - In the “Additional Action Settings” section, you should set “Unflatten” to “No“.

- The next step will test your Zap. Click “Test Step”. If a user with that email address already exists, the
add_memberaction gives them the membership level instead of creating a new account. If they already have that level, nothing changes. - If the zap is successful, the membership site will create a new member. This Action can add a membership level to an existing member OR simultaneously create the user record with the membership level.
Actions Available When Receiving Data From Zapier
add_member
The following parameters can be passed into the add_member Action:
- user_email (required to create a new user)
- level_id (required)
- user_id
- user_login
- user_pass
- full_name
- first_name
- last_name
The Add On looks for an existing user by the first of user_id, user_login, or user_email that you pass. When no user is found, it creates one and emails the login details to the new user and the site admin. A username is generated from the name or email address when user_login is blank, and a random password is generated when user_pass is blank. A full_name passed without first_name or last_name is split into a first and last name. When the level is assigned, the response includes the user_id.
change_membership_level
The following parameters can be passed into the change_membership_level Action:
- user_id
- user_email
- user_login
- level_id (required)
Pass level_id and at least one of user_id, user_email, or user_login to identify the user. The user must already exist. Pass a level_id of 0 to cancel the user’s membership. Always include level_id: a missing value is treated as 0. After the change, the site admin receives the membership change email.
add_order
The following parameters can be passed into the add_order Action:
- billing_phone
- user_id
- user_email
- user_login
- level_id
- subtotal
- tax
- total
- payment_type
- cardtype
- accountnumber
- expirationmonth
- expirationyear
- status
- gateway
- gateway_environment
- payment_transaction_id
- subscription_transaction_id
- affiliate_id
- affiliate_subid
- notes
- checkout_id
- billing_name
- billing_street
- billing_city
- billing_state
- billing_zip
- billing_country
Pass at least one of user_id, user_email, or user_login to set the user for the order. The order gets a new order code automatically, and the user receives an invoice email for the order. The response includes the order_code.
update_order
The following parameters can be passed into the update_order Action:
- billing_phone
- order, order_id, code, or id (required)
- subtotal
- tax
- total
- payment_type
- cardtype
- accountnumber
- expirationmonth
- expirationyear
- status
- gateway
- gateway_environment
- payment_transaction_id
- subscription_transaction_id
- affiliate_id
- affiliate_subid
- notes
- checkout_id
- billing_name
- billing_street
- billing_city
- billing_state
- billing_zip
- billing_country
Identify the order with order, order_id, code, or id. Any field you leave out keeps its current value. If no matching order is found, the action creates a new order instead.
has_membership_level
The following parameters can be passed into the has_membership_level Action:
- user_id
- user_email
- user_login
- level_id (required)
Pass level_id and at least one of user_id, user_email, or user_login to identify the user. The response is “true” if the user currently has that level and “false” if not.
Log Incoming Webhook Requests
If a Zap isn’t changing your membership data as expected, turn on the debug log. The log records each request your Webhook Handler URL receives, which action ran, and any error message. It only covers data coming in from Zapier, not the triggers your site sends out.
- Write to a log file: Add
define( 'PMPRO_ZAPIER_DEBUG_LOG', true );to yourwp-config.phpfile. On Paid Memberships Pro 3.5 and later, the log is saved aszapier-logs.txtin thelogsfolder of the PMPro restricted files directory, atwp-content/uploads/pmpro-{random string}/logs/zapier-logs.txt. On older versions of PMPro, the log is saved tologs/zapier-logs.txtin the Add On’s plugin folder. - Email each log entry: Add
define( 'PMPRO_ZAPIER_DEBUG', true );to send each entry to the site admin email address. To send it somewhere else, set the value to an email address instead oftrue. If you open the Webhook Handler URL in your browser while logged in as an administrator, the entry also shows on screen.
Requests with a missing or incorrect API key are rejected before anything is logged. The log includes all of the data Zapier sends, such as names and email addresses, so remove these lines from wp-config.php when you’re done troubleshooting.
Integrate With Other Third Party Automation Services
Make (formerly Integromat) offers similar functionality to Zapier. As an alternative to Zapier, you can also use Make with this Add On. You can use this Zapier Integration and connect the same webhooks with an automation in either of these services. Advanced developers should also consider direct integration via the REST API methods documented here.
Action and Filter Hooks
The following filters change the data each trigger sends to Zapier. The actions run after the Add On processes an incoming action from Zapier.
apply_filters( 'pmproz_added_order_data', array $data, MemberOrder object $order, int $order->user_id );
Filter the data sent to Zapier when a new order is added, allowing customization of user and order details before transmission.
apply_filters( 'pmproz_updated_order_data', array $data, MemberOrder object $order, int $order->user_id );
Filter the data sent to Zapier when a membership order is updated, allowing modifications to order details and user information before transmission.
apply_filters( 'pmproz_after_change_membership_level_data', array $data, int $level_id, int $user_id, int $cancel_level );
Modify the data sent to Zapier when a user’s membership level changes, allowing adjustments to user details, level information, and cancellation status before transmission.
apply_filters( 'pmproz_after_checkout_data', array $data, int $user_id, object $level, MemberOrder object $order );
Modify the data sent to Zapier after a user completes checkout, allowing customization of user details, membership level information, and order data before transmission.
apply_filters( 'pmproz_prepare_request_webhook', string $webhook_url, array $data );
Filter the webhook URL that a trigger’s data is sent to. Check $data['trigger'] to change the URL for one trigger only.
apply_filters( 'pmproz_prepare_order_for_request', object $prepared_order, MemberOrder object $order );
Modify the order data sent with the New Order, Updated Order, and After Checkout triggers. $prepared_order is a plain object holding a copy of the order fields.
do_action( 'pmproz_after_add_member', int $user_id, int $level_id );
Runs after the add_member action gives a user a membership level.
do_action( 'pmproz_after_change_membership_level', int $user_id, int $level_id );
Runs after the change_membership_level action changes a user’s membership level.
do_action( 'pmproz_after_add_order', MemberOrder object $order );
Runs after the add_order action creates an order.
do_action( 'pmproz_after_update_order', MemberOrder object $order );
Runs after the update_order action saves an order.
Works with the free Paid Memberships Pro plugin. No paid plan needed. Create a free account or log in to download it and read the documentation.

