Jeff Epstein September 25, 2010 • Announcements
We have created a 3 step process to explain how you can integrate our custom incentive engine into your website.
Simply, follow these steps:
1. Save our cookie "hash" value and transactionID into your DB
2. In IPN page (call by Paypal after a sale) look in DB for a "hash" that matches the transactionID
3. Use zferral's API:
https://<subdomain/>.zferral.com/api/<token>/event/call.<format>
Call it by POST
XML request format:
<?xml version="1.0" encoding="UTF-8"?>
<event>
<campaign_id>ZFERRAL CAMPAIGN ID</campaign_id>
<revenue>TRANSACTION AMOUNT</revenue>
<customer_id>CUSTOMER ID</customer_id> ( <-- optional param)
<referer>HASH FROM COOKIE (saved erlier in DB)</referer>
<unique_id>SOME UNIQUE ID (ex. transactionId)</unique_id>
</event>
The API Docs are located here: http://zferral.com/api-docs/event
As always, contact techsupport@zferral.com with questions!
Jeff Epstein August 21, 2010 • Tips & Tricks
<img src="http://partners.zferral.com/e/3?rev= $rev&customerId=$customerId&uniqueId=$uniqueId"style="border: none; display: none" alt=""/>
PHP: Let's assume you got your total amount paid by user stored in $orderTotal php variable, his email in $customerEmail and order number in $orderId variable. This may be different depending on your ecommerce/webapp.
<img src="http://partners.zferral.com/e/3?rev=<?php echo $orderTotal; ?>&customerId=<?php $customerEmail; ?>&uniqueId=<?php echo $orderId; ?>" style="border: none; display: none" alt=""/><img src="http://partners.zferral.com/e/3?rev={*$orderTotal*}&customerId={*$customerEmail*}&uniqueId={*$orderId*}" style="border: none; display: none" alt=""/>
Ruby on Rails: Let's assume you got your total amount paid by user stored in 'orderTotal' Ruby variable passed, his email in 'customerEmail' and order number in 'orderId' variable. This may be different depending on your ecommerce/webapp.
<img src="http://partners.zferral.com/e/3?rev=<%= orderTotal %>&customerId=<%= customerEmail %>&uniqueId=<%= orderId %>" style="border: none; display: none" alt=""/>
Questions? Please email techsupport@zferral.com.
Jeff Epstein August 07, 2010 • Tips & Tricks
Follow these steps to ensure your purchases and commissions are being accurately tracked by zferral.
Follow these steps to embed the zferral tracker on your Paypal Buy Now button.
FOR NEW BUTTONS, if you have EXISTING Buttons Please Scroll Down to (Existing Buttons)
FOR EXISTING BUTTONS
To edit existing PayPal Buy Now Buttons that send your customers to a URL that you specify after a purchase, complete the following tasks:
ENSURING ACCURACY
In order to ensure there are no duplicate purchases tracked (due to page reloading) we STRONGLY RECOMMEND you pass to zferral a 'uniqueId' where your company should pass us an parameter that is unique for them (i.e. order id, payment id or something similar).
Jeff Epstein August 03, 2010 • Tips & Tricks
Follow these 6 steps to be fully integrate your affiliate commission payouts with PayPal!
Questions? Email us: support@zferral.com





Jeff Epstein July 24, 2010 • Tips & Tricks
When you create an account at zferral.com you are logged into your Company Panel. This is your dashboard to manage all the aspects of your custom affiliate or referral program.
From this dashboard you can manage everything, here is a quick look at the Quick Action Menu:

Read the next article on titled; "Your Affiliate Panel" for more information