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

Enabling AUTO_REDIRECT_TO_NOT_AFFILIATE_URL causes HTTP POST to fail logging

by

Tips and Tricks HQ Support Portal › Forums › WP Affiliate Platform › WP Affiliate Troubleshooting › Enabling AUTO_REDIRECT_TO_NOT_AFFILIATE_URL causes HTTP POST to fail logging

Tagged: hide affiliate URL, HTTP Post

  • This topic has 1 reply, 2 voices, and was last updated 12 years, 3 months ago by admin.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • February 14, 2013 at 4:10 am #8573
    crazedpilot
    Member

    Affiliate tracking works perfectly when using the example code

    which assembles $prepared_data and them submits it with the

    file_get_contents($get_url);

    EXCEPT, when I enable AUTO_REDIRECT_TO_NOT_AFFILIATE_URL . Then

    what happens is it truncates the string of variables sent.

    So, if I pass the secret key, affiliate id, amount, etc via file_get_contents,

    the resulting data that WPAffiliate shows in the logfile only

    containts the secret key, nothing more.

    If I change NOT_AFFILIATE_URL back to zero, everything works again

    perfectly.

    Can this be fixed? I’d like to hide the affiliate URL, but of course

    keep tracking my affiliate commissions :)

    Thanks!

    February 15, 2013 at 2:45 am #53845
    admin
    Keymaster

    I am assuming that you are using a developer API integration method where you have done some custom coding to do the 3rd party integration. Which of our API documentation did you follow? Post a link to the documentation page so I know exactly what you are upto.

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • 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