Tips and Tricks HQ Support Portal › Forums › WP Affiliate Platform › Step by Step Instructions for s2member integration?
Tagged: s2member, third party integration, WP Affiliate
- This topic has 21 replies, 3 voices, and was last updated 14 years, 1 month ago by amin007.
-
AuthorPosts
-
October 26, 2010 at 1:21 am #25582amin007Participant
Nice Thank you for the recap… I have updated the documentation.
November 1, 2010 at 12:24 pm #25583BowromirMemberHi,
I’ve purchased the plugin and I’m currently using S2Member for my memberships. I’ve followed this guide exactly but somehow it is not working. Here’s what I did
1: Created a page template, created my PayPal buttons and modified:
<input type=”hidden” name=”custom” value=”mysite.com” />
into
<input type=”hidden” name=”custom” value=”mysite.com|<?php echo $_COOKIE; ?>” />
2: Enabled remote POST functionality in WP-Affliate
3: Inserted the notification URL + Secret in the S2Member Payment Notifications settings.
4: Created a new affiliate account and shared the affiliate ID with myself and a testing buddy.
The PayPal buttons still work fine and everything works like it should, but affiliate sales are not being tracked.
Any ideas what I’ve done wrong or what I could triple check?
Cheers,
Bowe
November 2, 2010 at 1:42 am #25584amin007ParticipantThe first thing that comes to my mind is that the button is placed in an area where PHP is not executing. Can you please post a link to the page where you have the button so I can check it out?
November 2, 2010 at 1:43 pm #25585BowromirMemberI’ve set up a test page here:
http://bp-tricks.com/ross-test-page/
I’m pretty experienced in Theme design, and place the code directly in a new page template. Here’s my exact code:
Cheers,
Bowe
November 2, 2010 at 11:05 pm #25586amin007ParticipantThank you for the links. Your button is fine. The next thing that I would check is that the remote POST is not resulting in a 404.
Can you please fill in the correct values in the following string and place it directly in the browser and let me know if it awards the commission?
replace XX with your secrect code
replace YY with the affiliate ID that you are testing with
replace ZZ with some test amount (example, 25)
November 3, 2010 at 12:27 am #25587BowromirMemberThat works!
Total Clicks : 8
Number of Sales : 1
Total Sales Amount : 25 USD
Total Commission : 6.25 USD
Remote POST is not resulting a 404.
Weird.. Here’s the link I filled into S2Member:
Anything that might be wrong there? Thanks again for your help!
November 3, 2010 at 2:29 am #25588amin007ParticipantThanks for testing that. Now, we have verified that the cookie value is getting included in the custom field and that the post payment commission works fine. Now, we need to make sure s2Member is actually calling the following script after the payment:
Is there any debug option available for S2Member so we can get some confirmation that this is happening? Maybe a settings is not set correctly?
-
AuthorPosts
- You must be logged in to reply to this topic.