- This topic has 1 reply, 2 voices, and was last updated 12 years, 2 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 › Affiliate platform – can I pass more parameters to the remote post url?
I use remote post url to notice the commission info to WP Aff platform, I can got paypal’s transaction ID after customers completed his order, my question is can i save this unique ID to the database of WP Aff Platform and display them? So i can know this sale is related to which item in paypal.
For example, i hope the url below could add a param to pass transaction_id to the WAP system.
Thanks.
Yes, you can pass the transaction ID and save it with the commission. Refer to the optional parameters section in the following documentation:
http://www.tipsandtricks-hq.com/wordpress-affiliate/awarding-commission-via-http-get-or-post-189
You would pass the transaction ID like so:
http://www.example.com/wp-content/plugins/wp-affiliate-platform/api/post.php?secret=xxx&referrer=xxx&sale_amt=xxx&txn_id=xxx