A postback lets another site or app report a sale to AffiliatePro by calling a URL. The campaign form includes demo files to test the whole flow.
1. Create the campaign
- Log in to your AffiliatePro admin panel.
- Click Marketing → Campaigns and create a campaign with Tool Type = Sale Integration.
- In Integration Setup, choose Postback, set Enable Postback, enter the Postback domain location, choose the Campaign and pick the Dynamic Params you need.
- Save. Copy Your Generated Postback URL.
2. Install the demo
- Under Demo files and instructions, download the order demo and the postback demo, and unzip them.
- Upload order_demo.php and postback_demo.php to a folder on your server (for example /postback_folder/).
- Set the campaign Campaign Target Link to your order_demo.php address and save.
3. Run the test
- Log in as an affiliate and copy the campaign link.
- Open it in a private window. The demo order form opens.
- Fill in the affiliate campaign link, your AffiliatePro address and the campaign postback URL, then send the postback.
- The demo shows the response (HTTP 200 means it was received).
Check the result in Reports → All Orders, Reports → Transactions and the affiliate wallet. View postback instructions in the form has the full step list.