Tips and Tricks HQ Forum

Support Forum for Tips and Tricks HQ Products

Register or log in - lost password?

Search the Forum

Tips and Tricks HQ Forum » WP eStore Forum » WP eStore F.A.Q/Instructions

iDev Affiliate and WP eStore Integration

(23 posts) (5 voices)
  • Started 1 year ago by amin007
  • Latest reply from amin007
  • Related Topics:
    1. eStore, eMember, Affiliate Platform, pdf Stamper, and mailchimp integration
    2. Integration with Affiliate, eStore, and e Member
    3. I noticed there is MailChimp integration with eStore, how about WP-Affiliate?
    4. WP eStore and JROX JAM Affiliate Manager Integration
    5. eStore/PDF Stamper/Wordpress v3.21/MailChimp/ and now ---->goMobi integration

Tags:

  • iDev Affiliate Integration
« Previous123Next »
  1. amin007
    Key Master

    Yeah, modify the customer name variable to use the following:

    $customer_name = $this->ipn_data['first_name']."%20".$this->ipn_data['last_name'];

    Posted 1 year ago #
  2. MikeM
    Member

    Thanks. That worked.

    Mike M

    Posted 1 year ago #
  3. william
    Member

    Hi,
    I too bought iDevAffiliate to enable my Affiliates to have 1 admin centre across
    my multiple websites. Do I understand correctly that I need to modify the WP eStore php files (mentioned above) on all the domains I am tracking sales/leads for?
    (logic says yes). If so, can I modify 1 lot and then copy it across or are php files website specific. I am not much of a programmer so not sure if php files contain certain values that are updated.

    Thanks for your help.

    William

    Posted 1 year ago #
  4. amin007
    Key Master

    You can modify one PHP file and copy it accross to all your sites.

    Posted 1 year ago #
  5. william
    Member

    Sorry, I must be missing a step somewhere.
    What integration method should I choose on the iDev side? I cannot see WP eStore in the
    looong list, choosing Paypal BuyNow & Subscriptions requires a php page, and the
    only other option I see is Generic Tracking Pixel; which I saw you addressed in another post as not working.

    Thanks for your insights.

    Regards,

    William

    Posted 1 year ago #
  6. amin007
    Key Master

    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."

    Posted 1 year ago #
  7. 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

    Posted 1 year ago #
  8. amin007
    Key Master

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

    profile=72198

    Posted 1 year ago #
  9. 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;

    Posted 1 year ago #
  10. amin007
    Key Master

    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."

    Posted 1 year ago #

RSS feed for this topic

« Previous123Next »

Reply »

You must log in to post.

Tips and Tricks HQ Forum is proudly powered by bbPress

Tips and Tricks HQ  | WP Shopping Cart  | WP Affiliate Software  | WordPress Membership Plugin