[login to view URL] integration with affiliate program script. PHP Expert Needed
$10-30 USD
Pagado a la entrega
I have an order form which works
now for [login to view URL] recurring
payments.
I need to create a custom variable
(Merchant Defined Field) to capture
this cookie Value:
$customaffiliateid = $_COOKIE['REFERRALCOOKIE'];
Something like this:
<input type="hidden" name="customfieldforaffiliateid" value="<? echo $_COOKIE["REFERRALCOOKIE"]; ?>">
Then send it to [login to view URL] as part
of the order information.
Then I need a webhook php script
written that will take the sale
info from [login to view URL] and
trigger my affiliate script
with a sale and give credit
to my affiliate script.
I need to put the [login to view URL] script
on my server.
I already have full integrations
and webhooks written for Stripe,
Paypal, and Braintree so I can show
you those examples.
The code is something like this:
// send data to [login to view URL]
$uu = "[login to view URL]" . $mo . "&affiliate=" . $_POST['custom'] . "&goods=" . $_POST['ipn_track_id'] . "&secret=secretword";
$c = file_get_contents($uu);
My problem is that I do not know how
to create custom fields for authorize.net.
I need a custom field to capture the cookie
of my affiliate's id: $_COOKIE['REFERRALCOOKIE'];
Example:
<input type="hidden" name="customfieldforaffiliateid" value="<? echo $_COOKIE["REFERRALCOOKIE"]; ?>">
And send that affiliate id to [login to view URL]
Then have [login to view URL] send the sale info along
with affiliate id both for initial and recurring commissions
to my affiliate script ([login to view URL]) using a webhook.
So the end result needs to be that whenever a sale is
completed an affiliate commission is recorded for
the correct affiliate. This needs to happen on both
initial and recurring payments.
I will provide ftp access. (Give me your ip so I can white list it)
I will also show you where to create a sandbox account.
So the job is:
1. Create a custom field with [login to view URL]
and send it and store it on [login to view URL]
2. Create a webhook that I can place on my server that
sends the sale info along with custom variable for the
affiliate id to the [login to view URL] file of my affiliate script.
3. End result a commission is recorded for the correct
affiliate on both sale and recurring billing.
Nº del proyecto: #17249425
Sobre el proyecto
Adjudicado a:
I have a total work experience of 11+ years in PHP and payment gateway integration, I can assure you the quality work, please award the project.
7 freelancers están ofertando un promedio de $26 por este trabajo
Hi, I have 5+ years experience in web and software development & various databases.. I will ready to start work immediately on this project. Looking forward to work with you Regards