{"id":368,"date":"2010-10-20T00:48:21","date_gmt":"2010-10-20T00:48:21","guid":{"rendered":"http:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/?p=368"},"modified":"2018-05-15T23:58:29","modified_gmt":"2018-05-15T23:58:29","slug":"integrating-s2member-plugin-with-the-wp-affiliate-software","status":"publish","type":"post","link":"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/integrating-s2member-plugin-with-the-wp-affiliate-software-368","title":{"rendered":"Integrating s2Member Plugin with the WP Affiliate Software"},"content":{"rendered":"<p>The WP Affiliate Platform plugin can be easily integrated with the <a href=\"http:\/\/wordpress.org\/extend\/plugins\/s2member\/\" target=\"_blank\" rel=\"noopener\">s2Member<\/a> plugin.<\/p>\n<h3>Minimum Requirement<\/h3>\n<p>You must be using the official shortcodes or functions provided by S2Member plugin to create your payment buttons. S2Member offers shortcodes that you can use to embed your membership payment button on posts, pages or template files. If you are not using them then the affiliate plugin integration won&#8217;t work.<\/p>\n<h3>Integration Steps<\/h3>\n<p>We have worked with the developer of the s2Member plugin and came up with an easier integration option between the two plugins (A big thank you to the developer of s2Member plugin). This integration works with both the free and premium versions of the s2Member plugin.<\/p>\n<p><strong>Step 1:<\/strong>\u00a0Go to the following interface in WP Affiliate Platform plugin and check the box next to <strong>Enable Remote POST<\/strong>:<\/p>\n<p>WP Affiliate -&gt; Settings -&gt; Integration Related -&gt; Additional Integration Options<\/p>\n<p><strong>Step 2:<\/strong> Go to s2Member&#8217;s options -&gt;API\/Notifications Menu. Under &#8220;Payment Notification URL&#8221; make sure there is a value that looks like the following (this will be automatically generated for you so you just need to verify that this value is there and save it):<\/p>\n<p><code> http:\/\/www.your-domain.com\/wp-content\/plugins\/wp-affiliate-platform\/api\/post.php?secret=XXXX&amp;ap_id=%%cv1%%&amp;sale_amt=%%amount%%&amp;buyer_email=%%payer_email%%&amp;txn_id=%%txn_id%%<br \/>\n<\/code><br \/>\nThe value &#8220;XXXX&#8221; will be replaced with the secret code generated when you completed Step 2.<\/p>\n<p><strong>Step 3:<\/strong> If you are selling access to Specific Posts\/Pages with S2Member then do the following otherwise you can ignore this step.<\/p>\n<p>In order to have the sales from specific posts\/pages be tracked by the WP Affiliate plugin, you need to copy the URL from step 2 into all the relevant fields on the s2Member -&gt; API Notifications page, including Specific Post\/Page ~ Sales Notifications.<\/p>\n<p>All Done! Now, when a member pays for a membership, the affiliate commission will be awarded to the correct affiliate if he\/she was referred by an affiliate.<\/p>\n<p><strong>Note:<\/strong> the &#8220;CV1&#8221; parameter passed by the S2Member plugin will contain the affiliate ID so do not use this for any other custom fields (if you are not adding any custom fields to the PayPal button then you do not need to worry about this).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The WP Affiliate Platform plugin can be easily integrated with the s2Member plugin. Minimum Requirement You must be using the official shortcodes or functions provided by S2Member plugin to create your payment buttons. S2Member offers shortcodes that you can use to embed your membership payment button on posts, pages or template files. If you are [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","footnotes":""},"categories":[12],"tags":[11,27],"class_list":{"0":"post-368","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-3rd-party-cart-integration","7":"tag-3rd-party-integration","8":"tag-s2member-integration","9":"entry"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Integrating s2Member Plugin with the WP Affiliate Software - WordPress Affiliate Platform<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/integrating-s2member-plugin-with-the-wp-affiliate-software-368\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/integrating-s2member-plugin-with-the-wp-affiliate-software-368#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/integrating-s2member-plugin-with-the-wp-affiliate-software-368\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/#\/schema\/person\/b3a690506213824832751de546a340fb\"},\"headline\":\"Integrating s2Member Plugin with the WP Affiliate Software\",\"datePublished\":\"2010-10-20T00:48:21+00:00\",\"dateModified\":\"2018-05-15T23:58:29+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/integrating-s2member-plugin-with-the-wp-affiliate-software-368\"},\"wordCount\":366,\"commentCount\":13,\"keywords\":[\"3rd party Integration\",\"S2Member Integration\"],\"articleSection\":[\"3rd Party Cart Integration\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/integrating-s2member-plugin-with-the-wp-affiliate-software-368#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/integrating-s2member-plugin-with-the-wp-affiliate-software-368\",\"url\":\"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/integrating-s2member-plugin-with-the-wp-affiliate-software-368\",\"name\":\"Integrating s2Member Plugin with the WP Affiliate Software - WordPress Affiliate Platform\",\"isPartOf\":{\"@id\":\"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/#website\"},\"datePublished\":\"2010-10-20T00:48:21+00:00\",\"dateModified\":\"2018-05-15T23:58:29+00:00\",\"author\":{\"@id\":\"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/#\/schema\/person\/b3a690506213824832751de546a340fb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/integrating-s2member-plugin-with-the-wp-affiliate-software-368\"]}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/#website\",\"url\":\"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/\",\"name\":\"WordPress Affiliate Platform\",\"description\":\"Take control of your affiliates and drive more sales\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/#\/schema\/person\/b3a690506213824832751de546a340fb\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/3a21ab4072e533cf470d80fc2f0fd3639872824ade4e23709397e109b24f8857?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/3a21ab4072e533cf470d80fc2f0fd3639872824ade4e23709397e109b24f8857?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/3a21ab4072e533cf470d80fc2f0fd3639872824ade4e23709397e109b24f8857?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"url\":\"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Integrating s2Member Plugin with the WP Affiliate Software - WordPress Affiliate Platform","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/integrating-s2member-plugin-with-the-wp-affiliate-software-368","twitter_misc":{"Written by":"admin","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/integrating-s2member-plugin-with-the-wp-affiliate-software-368#article","isPartOf":{"@id":"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/integrating-s2member-plugin-with-the-wp-affiliate-software-368"},"author":{"name":"admin","@id":"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/#\/schema\/person\/b3a690506213824832751de546a340fb"},"headline":"Integrating s2Member Plugin with the WP Affiliate Software","datePublished":"2010-10-20T00:48:21+00:00","dateModified":"2018-05-15T23:58:29+00:00","mainEntityOfPage":{"@id":"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/integrating-s2member-plugin-with-the-wp-affiliate-software-368"},"wordCount":366,"commentCount":13,"keywords":["3rd party Integration","S2Member Integration"],"articleSection":["3rd Party Cart Integration"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/integrating-s2member-plugin-with-the-wp-affiliate-software-368#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/integrating-s2member-plugin-with-the-wp-affiliate-software-368","url":"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/integrating-s2member-plugin-with-the-wp-affiliate-software-368","name":"Integrating s2Member Plugin with the WP Affiliate Software - WordPress Affiliate Platform","isPartOf":{"@id":"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/#website"},"datePublished":"2010-10-20T00:48:21+00:00","dateModified":"2018-05-15T23:58:29+00:00","author":{"@id":"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/#\/schema\/person\/b3a690506213824832751de546a340fb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/integrating-s2member-plugin-with-the-wp-affiliate-software-368"]}]},{"@type":"WebSite","@id":"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/#website","url":"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/","name":"WordPress Affiliate Platform","description":"Take control of your affiliates and drive more sales","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/#\/schema\/person\/b3a690506213824832751de546a340fb","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/3a21ab4072e533cf470d80fc2f0fd3639872824ade4e23709397e109b24f8857?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/3a21ab4072e533cf470d80fc2f0fd3639872824ade4e23709397e109b24f8857?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3a21ab4072e533cf470d80fc2f0fd3639872824ade4e23709397e109b24f8857?s=96&d=mm&r=g","caption":"admin"},"url":"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/wp-json\/wp\/v2\/posts\/368","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/wp-json\/wp\/v2\/comments?post=368"}],"version-history":[{"count":0,"href":"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/wp-json\/wp\/v2\/posts\/368\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/wp-json\/wp\/v2\/media?parent=368"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/wp-json\/wp\/v2\/categories?post=368"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/wp-json\/wp\/v2\/tags?post=368"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}