I was recently wanting to sell products and receive payment via PayPal. After hacking Quickfile and LM PayPal for a while, I realised that neither would really suit my requirements. Instead I tried to write a PayPal API module that works out of the box, but also allows other modules to plug in to it.
PayPal API has hooks for actions when validated PDT or IPN posts are received from PayPal. It also has support for manual and dynamic creation of various types of PayPal buttons, including multiple items. These can be created plain, or encrypted using OpenSSL for creating the encryption certificates.
If anyone is interested to give it a whirl, they can download it at http://devel.greatviolinists.com/paypal_api.rar ... have a look at the help as it gives some instructions on implementing OpenSSL.
Comments
Looks impressive!
Your Paypal API module is exactly what I need. You should apply for a CVS account and maintain your module on Drupal, though. Users would be able to file bugs and issues and your module would have a lot of exposure.
I will test it out later this week.
Question: when creating button, does it let us specify the country of the buyer? Specifying a country helps displaying a defaut payment page using the buyer country language. For example, if the button specify France as the buyer country, clicking on the button will show a French Paypal payment page.
I guess I'll have my answers later when I try your module.
/*_*/
http://www.xmacinfo.com
I've added in country
I've added in country options, so try downloading it once more. I've only added the countries that PayPal claims to support - and even then it's a bit random. They claim to support Spanish (but I couldn't get it working), and they claim not to support Japanese, but that did work. Weird.
You are quick!
Thanks a lot.
Basically all I want is French. I'll try your module during the coming week end.
/*_*/
http://www.xmacinfo.com