You must sing agreement to transfer all right to this script to us.
This project is to write simple PHP script supporting clickbank.com payments with payment verification using Instant Payment Notification (IPN)
Here information
http://www.clickbank.com/help/affiliate-help/affiliate-tools/instant-notification-service/
http://www.clickbank.com/blog/2008/10/02/using-clickbank-instant-notification/
Step for player purchase
1. Player login to existing account with email and password (not need for registration, account already exists – I will add account in phpAdmin for test)
2. Choose product to buy from 7 products. Each product successfully paid for (and verified with IPN) will give player number of points (different number of point for each)
Purchase MUST be verified with IPN
All customer data received from paypal must be stored in database for each purchase (that includes receipt number and email used for purchase).
In other worlds for all purchase transaction script must store all data received from IPN call from clickbank.com
3. Player click add to card and then pay at clickbank website.
4. Player is redirect back to our website and points are added to player account after click bank IPN call to server.
Player will not return to the script page but just to some static html page so the only way to add point will be to process IPN call from clickbank server.
That is all what is needed for purchase steps.
No need for special member area, admin or anything else. Just that purchase script with IPN verification and data collection.
Important:
Refund IPN call must be supported.
Clickbank make refund IPN call after player purchase refunded. After such point must be reduced (but not below 0) and user account must be suspended (but not deleted). So add to DB field suspended yes/no and if suspended don’t allow player to login to account.
In database must be field named “AFFILIATE”. Field will either be empty or has string (I willl add AFFILIATE id in php admin for test)
Purchase link must be created regular clickbank way
http://ITEM.VENDOR.pay.clickbank.net .
ITEM is product ID (1 of 7)
If AFFILIATE field not empty create also invisible iframe with this link http://AFFILIATE.VENDOR.hop.clickbank.net/ProductName
Must be some simple set up table where I can add:
- amount of point for each product
- name for each product
- our Vendor ID
- notification email to send confirmation email after each purchase
- notification status (0 or 1), if 0 don’t send those email
I can add all adate in phpAdmin so I don’t need any admin.