I have created a script that utilizes paypal already for use at a site ([login to view URL], which never got off the ground so dont try to buy anything). As far as I know you can only buy one item at a time from paypal. Or you could group the item together. Any other modifications would be no trouble. Its in Perl, made to run on a unix host.