- This topic has 1 reply, 1 voice, and was last updated 13 years, 6 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 › Problems with registering sale with WP Affiliate
Hi,
My developer is trying integrate the WP Affilaite platform with our order process. We are doing this when PayPal returns the user to our site.
This is the code we are using:
$secret = “db8d30451e67”;
$referrer = $_COOKIE;
$prepared_data = “?secret=”.$secret.”&ap_id=”.$referrer.”&sale_amt=”.$sale_amt;
$get_url = “http://webcaptioning.com/wp-content/plugins/wp-affiliate-platform/api/post.php”.$prepared_data;
// Execute this GET Request
file_get_contents($get_url);
It seems to return a well formed URl and we don’t get any errors but there are no sales registered.
Any thoughts on what might be wrong?
Thanks,
Alex
We fixed it!