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
You are here: Home

songa

  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • October 17, 2012 at 8:19 pm in reply to: eMember – Can I integrate this with Warrior Plus system? #44260
    songa
    Member

    Hi there,

    here’s the only documentation I’ve found (regarding WSO Pro):

    [http://warriorplus.com/support/]

    I’ve upload an image of where you edit your listing here:

    You use a button provided by WSO Pro that automatically embeds a Buy Now Paypal Button.

    [http://imgur.com/5nVP0]

    —

    The other really popular merchant/affiliate platform is JVZoo.com

    A product/membership delivery system that integrates seamlessly with these platforms is really needed for WSO/product sellers!

    October 15, 2012 at 10:06 am in reply to: eMember – Can I integrate this with Warrior Plus system? #44258
    songa
    Member

    Hey there, I’m exactly trying to do this but here’s the problem: How can I add the needed “custom” field? WSO Pro uses a personal Button to track sales, so there’s no way to change that custom field inside Paypal

    I think I’d need to use a custom script, is there any chance you could provide something like that?

    By the way, I really believe that if you could come up with an easy integration of eStore or eMember with WSO Pro and JVZoo, it could sell extremely well inside the WSO Forum at [http://www.warriorforum.com/warrior-special-offers-forum/]

    Here’s a script I found inside the s2Member forum, but I don’t know if it would work.

    Regarding that central IPN example file…

    you might transform it a bit and do something like this.

    1. Configure the top of this file (as seen below).

    2. Upload this file to your server.

    3. Configure your 3rd party integration to forward IPNs to this script.

    Result… this script will receive IPNs being forwarded from your 3rd party integration. This script modifies important variables such as “custom” and “item_number” to a format that s2Member can understand. This script will then forward the IPN again (after having modified it a bit), over to your actual s2Member installation.

    <?php
    /*---- Configuration.
    */

    /* s2Member installation domain. */
    $config["custom"] = "www.mydomain.com";

    /* s2Member Membership Level# */
    $config["item_number"] = "1";

    /* s2Member Proxy IPN URL handler. */
    $config["proxy_ipn_handler_url"] = /* You'll get this from Dashboard: <code>s2Member -> PayPal Options -> IPN Integration -> Proxy IPN URL</code>. */
    "http://www.mydomain.com/?s2member_paypal_notify=1&s2member_paypal_proxy=proxy&s2member_paypal_proxy_verification=c28831a2ddfdeexXX2f8b722efa0";

    /*
    ---- Do NOT edit anything below, unless you know what you're doing.
    */
    @ignore_user_abort(true);
    header("HTTP/1.0 200 OK");
    header("Content-Type: text/plain; charset=utf-8");
    eval /* Clean buffers. */('while (@ob_end_clean ());');

    if( /* No <code></code>$_POST<code></code> vars? */empty($_POST) || !is_array($_POST))
    exit /* Exit now. There is nothing to process. */();

    $_p = (get_magic_quotes_gpc()) ? stripslashes_deep($_POST) : $_POST;
    $_p = trim_deep /* Now trim this array deeply. */($_p);

    $_paypal_ipn_server_ip = $_ip = /* Forge IP address to match the PayPal® IPN server here. */ "216.113.188.202";
    /* See list of IPs here: <https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/howto_api_golivechecklist>. */

    $_p["custom"] = $config["custom"]; $_p["item_number"] = $config["item_number"];
    echo (trim(curlpsr($config["proxy_ipn_handler_url"], http_build_query($_p, null, "&"), 20, 20, array("REMOTE_ADDR: ".$_ip, "HTTP_X_FORWARDED_FOR: ".$_ip))));

    unset($_paypal_ipn_server_ip, $_ip);
    /*
    ---- Do NOT edit anything below, unless you know what you're doing.
    */
    function trim_deep($value = FALSE)
    {
    return is_array($value) ? array_map("trim_deep", $value) : trim((string)$value);
    }
    function stripslashes_deep($value = FALSE)
    {
    return is_array($value) ? array_map("stripslashes_deep", $value) : stripslashes((string)$value);
    }
    function curlpsr($url = FALSE, $post_vars = array(), $max_con_secs = 20, $max_stream_secs = 20, $headers = array())
    {
    if(($url = trim($url)) && ($curl = curl_init()))
    {
    if /* Because cURL can't deal with complex arrays. */(is_array($post_vars))
    $post_vars = http_build_query($post_vars);
    $follow = (!ini_get("safe_mode") && !ini_get("open_basedir"));
    curl_setopt_array($curl, array(CURLOPT_URL => $url, CURLOPT_POST => true, CURLOPT_CONNECTTIMEOUT => $max_con_secs, CURLOPT_TIMEOUT => $max_stream_secs, CURLOPT_HEADER => false, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => $headers, CURLOPT_POSTFIELDS => $post_vars, CURLOPT_FOLLOWLOCATION => $follow, CURLOPT_MAXREDIRS => (($follow) ? 5 : 0), CURLOPT_ENCODING => "", CURLOPT_VERBOSE => false, CURLOPT_FAILONERROR => true, CURLOPT_FORBID_REUSE => true, CURLOPT_SSL_VERIFYPEER => false));
    $o = trim(curl_exec($curl));
    curl_close($curl);
    }
    return (!empty($o)) ? $o : false;
    }
    ?>

    May 9, 2012 at 6:56 am in reply to: eMember – exclude homepage from sitewide protection #44828
    songa
    Member

    Thanks a bunch, I’ll look into it right now.

    Thanks!

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)

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