|
|
How do I
track affiliate sales through PayPal?
|
Note: Do not use an Encrypted PayPal button.
Custom variables will not be passed with encrypted buttons and
affiliate sales will not record. |
|
Version 3
and higher
supports sales tracking through PayPal's Instant Payment
Notification (IPN) system. Follow the steps below to
initiate this tracking. For Version 3 users, change
all file extensions from aspx to asp.
-
Pass the
Affiliate ID to PayPal when the customer adds an item to
their cart. To do this, add the line of code shown
below to your PayPal order forms and Affiliate Wiz will
insert the AffiliateID.
<script
language=javascript src=http://www.yourdomain.com/affiliatewiz/paypal.aspx></script>
Here
is an example:
<form
target="paypal"
action="https://www.paypal.com/cgi-bin/webscr"
method="post">
<input type="hidden" name="cmd"
value="_cart">
<script
language=javascript src=http://www.yourdomain.com/affiliatewiz/paypal.aspx></script>
<input
type="hidden"
name="business" value="youremail@yourdomain.com">
<input type="hidden" name="item_name"
value="Test Product">
<input type="hidden" name="item_number"
value="874578">
<input type="hidden" name="amount"
value="$1.00">
<input type="image" src="images/x-click-but22.gif"
border="0" name="submit">
<input type="hidden" name="add"
value="1">
</form>
Be
sure to change yourdomain.com/affiliatewiz/ to the proper
URL to Affiliate Wiz. The paypal.aspx script is
located in the folder where you installed Affiliate Wiz.
-
Modify your
PayPal settings to post the sales information back to
Affiliate Wiz. Post to aw.aspx and append
?Task=PayPal
For example:
http://www.yourdomain.com/affiliatewiz/aw.aspx?Task=PayPal
Make this change by logging
into PayPal and selecting Instant Payment Notification
Preferences.

Check the box to enable the Instant Payment Notification
then enter the URL to aw.aspx and include ?Task=PayPal.

For example...
http://www.yourdomain.com/affiliatewiz/aw.aspx?Task=PayPal
-
Place
a test order and make sure the sale is recorded.
|
|