{"id":84549,"date":"2018-04-19T14:24:53","date_gmt":"2018-04-19T14:24:53","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/paid-memberships-pro-zapier-add-on\/"},"modified":"2024-04-09T10:29:23","modified_gmt":"2024-04-09T10:29:23","slug":"pmpro-zapier","status":"closed","type":"plugin","link":"https:\/\/nn.wordpress.org\/plugins\/pmpro-zapier\/","author":442239,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.2.2","stable_tag":"1.2.2","tested":"6.5.8","requires":"5.2","requires_php":"","requires_plugins":null,"header_name":"Paid Memberships Pro - Zapier Add On","header_author":"Paid Memberships Pro","header_description":"Integrate activity on your membership site with thousands of other apps via Zapier.","assets_banners_color":"2e99c8","last_updated":"2024-04-09 10:29:23","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/www.paidmembershipspro.com\/add-ons\/pmpro-zapier\/","header_author_uri":"https:\/\/www.paidmembershipspro.com","rating":5,"author_block_rating":0,"active_installs":1000,"downloads":21251,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0":{"tag":"1.0","author":"strangerstudios","date":"2020-04-22 01:57:03"},"1.1":{"tag":"1.1","author":"strangerstudios","date":"2021-06-09 13:31:25"},"1.1.1":{"tag":"1.1.1","author":"strangerstudios","date":"2021-06-09 14:43:59"},"1.2.0":{"tag":"1.2.0","author":"andrewza","date":"2022-01-28 09:37:02"},"1.2.1":{"tag":"1.2.1","author":"strangerstudios","date":"2023-11-19 13:22:30"},"1.2.2":{"tag":"1.2.2","author":"andrewza","date":"2024-04-09 10:29:23"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":1},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2756096,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2756096,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":2756096,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":2756096,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1","1.1.1","1.2.0","1.2.1","1.2.2"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[17862,17864,141701],"plugin_category":[],"plugin_contributors":[189393,78328],"plugin_business_model":[216238],"class_list":["post-84549","plugin","type-plugin","status-closed","hentry","plugin_tags-paid-memberships-pro","plugin_tags-pmpro","plugin_tags-zapier","plugin_contributors-paidmembershipspro","plugin_contributors-strangerstudios","plugin_business_model-commercial","plugin_committers-andrewza","plugin_committers-strangerstudios"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/pmpro-zapier_2e99c8.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Integrate activity on your membership site with thousands of other apps via Zapier (requires Paid Memberships Pro). <a href=\"https:\/\/www.paidmembershipspro.com\/add-ons\/pmpro-zapier\/\">Extended documentation can be found at PaidMembershipsPro.com<\/a>.<\/p>\n\n<p>Our Zapier integration includes the following triggers and actions to send information to Zapier and connect with third-party apps. A \"Trigger\" will send data to Zapier when changes are made on your Membership site. An \"Action\" will process incoming data when a change is sent to your Membership site via Zapier and a connected third-party app.<\/p>\n\n<h4>Triggers<\/h4>\n\n<p><em>New Order<\/em><\/p>\n\n<p><em>Updated Order<\/em><\/p>\n\n<p><em>Changed Membership Level<\/em><\/p>\n\n<p><em>After Checkout<\/em><\/p>\n\n<h4>Actions<\/h4>\n\n<p>When creating the Action component of a Zap, use the webhook URL provided on the Actions tab of the PMPro Zapier settings and pass in parameters matching those given below.<\/p>\n\n<p><em>add_member<\/em><\/p>\n\n<p>The following parameters can be passed into the add_member Action:<\/p>\n\n<ul>\n<li>user_email (required)<\/li>\n<li>level_id (required)<\/li>\n<li>user_login<\/li>\n<li>full_name<\/li>\n<li>first_name<\/li>\n<li>last_name<\/li>\n<\/ul>\n\n<p>Note that user_email and level_id are required parameters; you must also pass in at least one of user_login, full_name, first_name, or last_name.<\/p>\n\n<p><em>change_membership_level<\/em><\/p>\n\n<p>The following parameters can be passed into the change_membership_level Action:<\/p>\n\n<ul>\n<li>user_id<\/li>\n<li>user_email<\/li>\n<li>user_login<\/li>\n<li>level_id (required)<\/li>\n<\/ul>\n\n<p>Note that level_id is a required parameter; you must also pass in at least one of the following user identifiers is also required: user_id, user_email, or user_login.<\/p>\n\n<p><em>add_order<\/em><\/p>\n\n<p>The following parameters can be passed into the add_order Action:<\/p>\n\n<ul>\n<li>user_id<\/li>\n<li>user_email<\/li>\n<li>user_login<\/li>\n<li>level_id<\/li>\n<li>subtotal<\/li>\n<li>tax<\/li>\n<li>couponamount<\/li>\n<li>total<\/li>\n<li>payment_type<\/li>\n<li>cardtype<\/li>\n<li>accountnumber<\/li>\n<li>expirationmonth<\/li>\n<li>expirationyear<\/li>\n<li>status<\/li>\n<li>gateway<\/li>\n<li>gateway_environment<\/li>\n<li>payment_transaction_id<\/li>\n<li>subscription_transaction_id<\/li>\n<li>affiliate_id<\/li>\n<li>affiliate_subid<\/li>\n<li>notes<\/li>\n<li>checkout_id<\/li>\n<li>billing_name<\/li>\n<li>billing_street<\/li>\n<li>billing_city<\/li>\n<li>billing_state<\/li>\n<li>billing_zip<\/li>\n<li>billing_country<\/li>\n<li>billing_phone<\/li>\n<\/ul>\n\n<p><em>update_order<\/em><\/p>\n\n<p>The following parameters can be passed into the update_order Action:<\/p>\n\n<ul>\n<li>order, order_id, code, or id (required)<\/li>\n<li>user_id<\/li>\n<li>user_email<\/li>\n<li>user_login<\/li>\n<li>level_id<\/li>\n<li>subtotal<\/li>\n<li>tax<\/li>\n<li>couponamount<\/li>\n<li>total<\/li>\n<li>payment_type<\/li>\n<li>cardtype<\/li>\n<li>accountnumber<\/li>\n<li>expirationmonth<\/li>\n<li>expirationyear<\/li>\n<li>status<\/li>\n<li>gateway<\/li>\n<li>gateway_environment<\/li>\n<li>payment_transaction_id<\/li>\n<li>subscription_transaction_id<\/li>\n<li>affiliate_id<\/li>\n<li>affiliate_subid<\/li>\n<li>notes<\/li>\n<li>checkout_id<\/li>\n<li>billing_name<\/li>\n<li>billing_street<\/li>\n<li>billing_city<\/li>\n<li>billing_state<\/li>\n<li>billing_zip<\/li>\n<li>billing_country<\/li>\n<li>billing_phone<\/li>\n<\/ul>\n\n<p><em>has_membership_level<\/em><\/p>\n\n<p>The following parameters can be passed into the has_membership_level Action:<\/p>\n\n<ul>\n<li>user_id<\/li>\n<li>user_email<\/li>\n<li>user_login<\/li>\n<li>level_id (required)<\/li>\n<\/ul>\n\n<p>Note that level_id is a required parameter; you must also pass in at least one of the following user identifiers is also required: user_id, user_email, or user_login.<\/p>\n\n<!--section=installation-->\n<h4>Prerequisites<\/h4>\n\n<ol>\n<li>Create a Zapier account at http:\/\/zapier.com<\/li>\n<\/ol>\n\n<h4>Download, Install and Activate!<\/h4>\n\n<ol>\n<li>Upload the <code>pmpro-zapier<\/code> directory to the <code>\/wp-content\/plugins\/<\/code> directory of your site.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>The settings page is at Memberships --&gt; PMPro Zapier in the WP dashboard.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='i%20found%20a%20bug%20in%20the%20plugin.'><h3>I found a bug in the plugin.<\/h3><\/dt>\n<dd><p>Please post it in the issues section of GitHub and we'll fix it as soon as we can. Thanks for helping. https:\/\/github.com\/strangerstudios\/pmpro-zapier\/issues<\/p><\/dd>\n<dt id='i%20need%20help%20installing%2C%20configuring%2C%20or%20customizing%20the%20plugin.'><h3>I need help installing, configuring, or customizing the plugin.<\/h3><\/dt>\n<dd><p>Please visit our premium support site at http:\/\/www.paidmembershipspro.com for more documentation and our support forums.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.2.2 - 2023-12-05<\/h4>\n\n<ul>\n<li>ENHANCEMENT: Improved compatibility with Multiple Memberships Per User (@dparker1005)<\/li>\n<\/ul>\n\n<h4>1.2.1 - 2022-08-12<\/h4>\n\n<ul>\n<li>ENHANCEMENT: New filter <code>pmproz_prepare_order_for_request<\/code> added to allow manipulating the $order data that is sent with every trigger.<\/li>\n<li>BUG FIX: Fixes an issue where order data would be blank in Zapier and similar services. Improved compatibility with v2.9+ of Paid Memberships Pro.<\/li>\n<\/ul>\n\n<h4>1.2.0 - 2021-14-09<\/h4>\n\n<ul>\n<li>ENHANCEMENT: Add first_name and last_name variables to after checkout trigger.<\/li>\n<li>ENHANCEMENT: Added functionality to regenerate api key as admin. Add ?pmproz_generate_api_key=1 to a URL while logged-in as admin to regenerate api key.<\/li>\n<li>ENHANCEMENT: Added localized date function. Date formats are now translatable.<\/li>\n<li>ENHANCEMENT: Improved localization for missing strings and wrong text domains. <\/li>\n<li>BUG FIX: Fixed an issue where the API key was regenerating whenever settings were saved.<\/li>\n<\/ul>\n\n<h4>1.1.1 - 2021-06-09<\/h4>\n\n<ul>\n<li>NOTE: Bumping version to 1.1.1 to force update for users who have a broken 1.1 version.<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>ENHANCEMENT: New trigger added for after checkout.<\/li>\n<li>ENHANCEMENT: Additional hooks added in to allow customizing data passed through. Please see documentation for more information about this.<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Launched in the WordPress.org repository, set to V1.0<\/li>\n<\/ul>\n\n<h4>.3<\/h4>\n\n<ul>\n<li>BUG FIX\/ENHANCEMENT: Changed the webhook handler URL to go through '{home_url}\/?pmpro_zapier_webhook=1&amp;api_key={api_key}' instead of directly to the webhook file. IMPORTANT! You will need to update any Zaps you made prior to version .3.<\/li>\n<\/ul>\n\n<h4>.2<\/h4>\n\n<ul>\n<li>Getting ready for WordPress.org repository.<\/li>\n<\/ul>\n\n<h4>.1<\/h4>\n\n<ul>\n<li>Initial version of the plugin.<\/li>\n<\/ul>","raw_excerpt":"Integrate activity on your membership site with thousands of other apps via Zapier.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/nn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/84549","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/nn.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/nn.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=84549"}],"author":[{"embeddable":true,"href":"https:\/\/nn.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/strangerstudios"}],"wp:attachment":[{"href":"https:\/\/nn.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=84549"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/nn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=84549"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/nn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=84549"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/nn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=84549"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/nn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=84549"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/nn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=84549"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}