- This topic has 1 reply, 2 voices, and was last updated 12 years, 8 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 General Questions › Affiliate Sales through a custom Shopping Cart
I did search the forum for an answer, but was unable to find anything identical to this problem.
My client has a shopping cart they are happy with – we have converted their site (sans the shopping cart) to WordPress, and are now trying to get this plugin to work. Getting the ‘clicks’ to register was easy – I’ve even been able to pass the ap_id through just about the entire shopping cart process (getting stuck @ one spot). Before I spend any more time on this, though, I would like to know:
Once the order is placed, if I keep the ‘out-of-the-box’ settings as they are, do I just send (via POST) the affiliate ID to (wp-content/plugins/wp-affiliate-platform/api/post.php)? It’s kind of annoying to keep making conditional statements for each possible page, so I’m thinking of adding the ID to the session, then on the purchase page, populate the URL – what do you all think?
Yes, your thinking is correct. Basically, you just need to make an API call using one of the following options after the sale is complete and pass in the details to the API:
or
http://www.tipsandtricks-hq.com/wordpress-affiliate/api-awarding-commission-via-wordpress-hook-501