I am in the process of building a music sales website for unsigned musicians.
I wish to establish a paypal chained payement system as follows.
Payment to 3 individual paypal accounts in PHP script.
PRIMARY: my payapl account which will pay the fees.
SECOND ACCOUNT: which will be retrieved from a database on my server.
THIRD ACCOUNT: the musicians account.
I need to be able to set the amounts payed to each account, I am able to this manually in your supplied script and only need to this upon each account setup.
A buyer will click on a “buy it now” button in my website.
I will need to supply account capabilities for the sign up of people as refferers to my website to become the second account in the chain payment.
These people will sign in with a username and password, then enter thier paypal account email to be stored in a database along with a referance number.
These people are refferers.
When a buyer comes to my website from one of these refferers I require a script to allow my site to refference the refferer from the ID in the URL, eg: “http://www.mysite.com/bobssongs/hissong?id=35464”
The refference number will call the email address from the database to asign the SECOND PAYMENT in the chain as above.
The PRIMARY and THIRD PAYMENT will be asigned manually in setup of page. I can alter the supplied script as required for each page myself.
