The marketplace allows users to upload their own scripts for administrator approval and earn money from their code. In addition to providing a role based system to allow secure uploads and various administrative priveleges for reviewing scripts, creating a proper payment system with commission was important. Providing a secure way to house and serve files was also important here since many downloads can easily be spoofed with a valid URL, various checks and storing files outside of public directories ensures premium scripts aren’t leaked for free.
What We Accomplished
Using the PayPal adaptive payments gateway in conjuction with the standard PayPal API, we were able to create a chained payment system to provide the site with commission and the script author with funds from sales.
This creates instant payment for both the authors and site owners while minimizing the number of transactions and reducing total fees.