Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Step by Step Instructions for s2member integration?

by

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, 6 months ago by amin007.
Viewing 7 posts - 16 through 22 (of 22 total)
← 1 2
  • Author
    Posts
  • October 26, 2010 at 1:21 am #25582
    amin007
    Participant

    Nice :) Thank you for the recap… I have updated the documentation.

    November 1, 2010 at 12:24 pm #25583
    Bowromir
    Member

    Hi,

    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 #25584
    amin007
    Participant

    The 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 #25585
    Bowromir
    Member

    I’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:

    http://pastebin.com/Z6W30HEG

    Cheers,

    Bowe

    November 2, 2010 at 11:05 pm #25586
    amin007
    Participant

    Thank 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?

    http://www.example.com/wp-content/plugins/wp-affiliate-platform/api/post.php?secret=XX&ap_id=YY&sale_amt=ZZ

    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 #25587
    Bowromir
    Member

    That 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:

    http://mysite.com/wp-content/plugins/wp-affiliate-platform/api/post.php?secret=xx&ap_id=%%cv1%%&sale_amt=%%amount%%

    Anything that might be wrong there? Thanks again for your help!

    November 3, 2010 at 2:29 am #25588
    amin007
    Participant

    Thanks 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:

    http://mysite.com/wp-content/plugins/wp-affiliate-platform/api/post.php?secret=xx&ap_id=%%cv1%%&sale_amt=%%amount%%

    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?

  • Author
    Posts
Viewing 7 posts - 16 through 22 (of 22 total)
← 1 2
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ