Sample function using Paypal Adaptive Payments

This project received 7 bids from talented freelancers with an average bid price of $244 USD.

Get free quotes for a project like this
Project Budget
Total Bids
Project Description

This is very simple & fast project for those who knows what they are doing so do not bid high.

If you do good job you will get next project.

All you have to do is to write sample function using Paypal Adaptive Payments for chained

payments and refunds like described below.

1. Create blank page with 3 links. Link 1, Link 2, Link 3

Each link after clicked start process of paypal user preapproval authorization

for script to distribute payments and refund in the paypal user behalf.

In other words paypal use must give script permission to distrubute chained

payment from that paypal account and to refund purchase made from that paypal


The purpose is to use each link on separate paypal account so

after done script will be authorized for 3 paypal accounnt.

2. Create blank page with 1 sales link or button

Seller is paypal account from Link 1

Web Owner is paypal account Link 2

Affiliate is paypay account from Link 3

Create 1 paypal purchase link or button selling "Test product" for $2

Purchase will be made from paypal account 4 (not prepaproval authorized like other 3)

After purchase success at paypal:

Store all info sent by paypal about customer including, trasaction ID, paypal email, name, phone, address

Sent 5% of purchase amount to Web Owner paypal account

Sent 50% of purchase to Affiliate paypal account

3. Create bank page with search box and search button.

It must be possible to search with paypal transaction or paypal email address.

If not found show "not found" message

if found show all info which is stored in DB for this transaction and below that

show refund link.

After click on refund link script must re-fund the buyer from seller account

and then refund Seller from Affiliate and Web Owner account so all

previous transaction will be reversed.

If search record is found but already refunded that record must show

with note "Refunded" and don't show refund link anymore.

Skills Required

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online