- This topic has 1 reply, 2 voices, and was last updated 11 years, 9 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
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
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!
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.