Skip to content

How to Create and Test a Postback Campaign

How to Create a Postback Campaign

  1. Login: Access the admin/vendor panel.
  2. Navigate to Campaigns: In the left menu, go to Marketplace → Campaigns.
  3. Create a New Campaign:
    • Select a banner type.
    • In the General Settings tab:
      • Enter the campaign name.
      • Choose the tool type as Sales Integration.
      • Select Custom Order Integration as the integration plugin.
    • Set your Campaign Target Link (e.g., your site’s landing page).
    • Fill in other details, such as the affiliate program and category.
  4. Configure Postback:
    • Go to the Postback tab and enable Postback Status.
    • Enter the Postback Domain Location (e.g., where users land after completing an order).
    • Under Campaigns, select Order Campaign.
    • The Postback URL is auto-updated—select any dynamic parameters (e.g., [CITY], [IP]) to track.
    • Save the campaign.
  5. Copy Postback URL: Edit the campaign, go to the Postback tab, and copy the URL for use in your order process.
  6. Test the Campaign:
    • Login to the affiliate panel and copy the affiliate link for the postback campaign.
    • Test the campaign to ensure everything works.

 


 

How to Create a Full Demo for a Postback Campaign

  1. Prepare the Demo Files:
    • Download the order_demo.php and postback_demo.php files from the Postback tab of your campaign postback tab.
    • Place the files on your server in a folder accessible via your domain, such as /postback_folder/.
  2. Set Up the Campaign:
    • Navigate to the campaign settings and update the Target URL to:
      https://yourdomain/postback_folder/order_demo.php.
    • In the Postback tab:
      • Click Download Order Demo and Download Postback Demo to get the demo files.
      • Save the campaign after configuration.
  3. Deploy the Demo Files:
    • Upload order_demo.php to:
      https://yourdomain/postback_folder/order_demo.php.
    • Upload postback_demo.php to:
      https://yourdomain/postback_folder/postback_demo.php.
  4. Run the Test:
    • Login to the affiliate panel and copy the Affiliate Link for the Postback campaign.
    • Open the affiliate link in a new browser tab to view the order form (order_demo.php).
  5. Fill in the Order Form:
    • On the order form, you will find three required fields:
      • Affiliate Campaign Link: Copy this from the affiliate panel under “Banners/Links”.
      • Integration Base URL: Enter the domain where the affiliate script is installed (e.g., https://yourdomain).
      • Campaign Postback URL: Copy this from the Postback tab in the campaign settings.
    • Follow the on-screen instructions to fill in the fields and save the settings.
  6. Process the Postback:
    • After saving the settings, press the Process Postback button.
    • Verify the response and ensure the postback has been processed correctly.
  7. Verify Results:
    • Check the affiliate and admin wallets for transactions.
    • View order details in Admin Panel → Activity → System Orders.
    • View logs details in Admin Panel → Activity → System Logs.
    • Scroll down on the Postback Demo page to verify the response:
      • HTTP Status: 200
      • Response: OKS-OFF
      • To Test Again:
        Press the blue Back to Order Demo button, then click the green Process Postback button again.

Note: Ensure that all dynamic and static parameters are correctly configured to meet the specific needs of your campaign.