Jump to content

Recommended Posts

Hello everyone, recently I have been trying to figure out how I can create a script to work with my affiliates CPA offers some what like an incentive site. In fact they have info on the post back and what not here

This feature allows you to receive instant notice of every lead that credits to your account.
We will post information to the URL(s) that you provide via GET variables. For example, if your postback URL is
   http://yoursite.com/postback.php
we will post the information in the following format:
   http://yoursite.com/postback.php?campid=xxx&name=xxx&rate=xxx&sid=xxx&status=xxx


Explanation of postback variables:
Variable 	Description
campid	ID number of the campaign credited
sid	The SubID that was passed in the campaign link
rate	Commission earned (Will be negative if status is revoked)
status	Status of the lead. 1 for payable, 2 for revoked
name	Name of the campaign


All postbacks will originate from one of the following IP addresses:
   72.52.163.143
   72.52.163.144
You should configure your script to only accept postbacks from these IPs.


If your server is down, or the postback otherwise fails, we will retry every two hours, up to ten times. If every attempt fails, you'll receive an email notice.

You may have all of your lead notices post to a single URL, or you may use different postback URLs depending on the SubID of the lead. To use a postback URL for all leads, leave the Prefix field blank. If you only want leads with a certain prefix to be posted to a URL, enter the prefix, such as "SITE2-". You can enter a URL more than once, to provide more than one prefix to use.

 

But so far from what I have been reading you can't accomplish post backs with php.

 

Any suggestions are greatly appreciated.

Link to comment
https://forums.phpfreaks.com/topic/183146-script-to-work-with-affliate-cpa-offers/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.