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

iDev Affiliate and WP eStore Integration

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore F.A.Q/Instructions › iDev Affiliate and WP eStore Integration

Tagged: affiliate, iDev Affiliate Integration, integration

  • This topic has 23 replies, 5 voices, and was last updated 14 years, 2 months ago by amin007.
Viewing 9 posts - 16 through 24 (of 24 total)
← 1 2
  • Author
    Posts
  • May 23, 2010 at 2:28 pm #19813
    amin007
    Participant

    To be honest with you I don’t know what to do on the iDev side. Some of my users wanted to integrate iDev with eStore so I did whatever they asked me to do on the eStore side.

    You should be able to ask iDev something like the following to find the answer though:

    “Which integration method should I choose to award commission from a post payment processing script? The post payment processing script is the IPN handling script in this case.”

    May 31, 2010 at 10:20 am #19814
    william
    Member

    Ok,

    I got it to work with the Generic Tracking Pixel Method, but with Amin007’s code above.

    Oh yes, and by changing mysite.com in the above Prepared URL with my actual site name (blush).

    SO now I need to get fancy and pass on a commission % based on the sales amount in the prepared URL. I used this code but that did not work. What syntax should I use?

    This was not working for me:

    $prepared_url = “http://www.xxx.com/idevaffiliate/sale.php?profile=72198&idev_saleamt=”.$sale_amount.”&idev_ordernum=”.$order_num.”&ip_address=”.$ip.”&idev_option_1=”.$customer_name”&idev_commission=0.25 * “.$sale_amount.”;

    Thanks,

    William

    May 31, 2010 at 1:56 pm #19815
    amin007
    Participant

    Don’t you need to change the profile number to something that matches your account?

    profile=72198

    May 31, 2010 at 7:45 pm #19816
    william
    Member

    No, the profile number is ok. The prepared url DOES work correctly without this line:

    &idev_commission=0.25 * “.$sale_amount.”;

    so I thought it must be in the syntax or the placing of those “”.

    If I make it a fixed number it works OK too:

    &idev_commission=2.50;

    June 1, 2010 at 12:33 am #19817
    amin007
    Participant

    I thought you just pass in the sale amount and it will calculate the commission for you so not sure why you have to pass in the exact commission amount. In my original example I didn’t have the commission amount (idev_commission) field in the prepared URL.

    Anyway, there is a mistake in your prepared URL that I just noticed. You should be able to do the following if you need to pass in the commission amount. First calculate the commission amount like the following:

    $commission_amt = 0.25 * $sale_amount;

    Now use the value of this variable to pass in the commission amount:

    &idev_commission=".$commission_amt."

    So instead of &idev_commission=0.25 * ".$sale_amount." use the following:

    &idev_commission=".$commission_amt."

    June 1, 2010 at 7:55 am #19818
    william
    Member

    Thanks very much Amin, that did the trick!

    June 2, 2010 at 12:54 pm #19819
    hunter
    Member

    HI, Looking like a interesting thread going on. Its good that people are actually willing to share their views on this topic.

    April 14, 2011 at 2:55 pm #19820
    lorenzogiacomini
    Member

    Could someone help me?

    I need to use iDevAffiliate with WP eStore.

    I’m not able to find the “eStore_get_custom_field_value1()” function in the “eStore_payment_submission.php”.

    Is something changed in the source code?

    Thanks

    Lorenzo Giacomini

    April 15, 2011 at 12:10 am #19821
    amin007
    Participant

    You don’t need to pass in the IP address anymore by manually editing the fields as I have added that in the plugin. I have updated the instruction. Please read the first thread to complete your integration:

    https://support.tipsandtricks-hq.com/forums/topic/idev-affiliate-and-wp-estore-integration

  • Author
    Posts
Viewing 9 posts - 16 through 24 (of 24 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