Hi guys, I just pushed on github a small package to use PayPal transactions with Iliad:
http://github.com/NicolasPetton/PayPal The GNU Smalltalk project can be reached at: http://smalltalk.gnu.org/project/paypal It only supports ExpressCheckout transactions for now (even if adding other kind of transactions should be easy) and probably needs some refactorings/bug fixes ;) How to use it: -------------- 1. Give your account infos: account := PayPal.Account new user: '[email protected]'; password: 'password'; signature: 'querty'; yourself. 2. Create a transaction and show it from a widget: transactionWidget := PayPal.ExpressCheckoutTransaction new account: account; currency: 'EUR'; amount: 200; yourself. aWidget show: transactionWidget onAnswer: [:paypalResponse | self doSomethingWith: paypalResponse] To use the sandbox environment, send #beSandbox to the transactionWidget. Once the transaction is completed, the response will contain infos about the status (#ack), the payer, its address, and possible transaction errors. Cheers, Nico
signature.asc
Description: Ceci est une partie de message numériquement signée
_______________________________________________ help-smalltalk mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-smalltalk
