I've just about got the getpaid.paypal module hammered into shape - it works on my machine, but there are some caveats.
It's using the IPN response from Paypal to finish the order workflow, so the cart will only work properly if the Paypal servers can reach it - either through port mapping on your NAT router or running on a public IP. It's not internationalized - I have no i18n experience, and the i18n stuff in the code is left over from a long time ago. Not tested at all on Plone 2.5 - it may work, may not. Testing must be done. Does not handle shipping yet - I needed this for online purchases only, so getting the shipping working wasn't on my plate for the first push. I've also had to override the cart wizard completely to make this happen - I've tried to create an order in as close to the same state as possible, but there may be some issues with other third party add-ons. I made no concessions to another payment processor - include this in your buildout (both getpaid.paypal, and getpaid.paypal-overrides in the [zcml] section), and paypal is what you use. That's mostly having to do with the ZCML overrides I had to do to make this all work. Without a more flexible plugin architecture, ugliness like this will be necessary to handle web-based payment processors. But it's not all negative - here's what it does so far: - You can add as many items to the cart as you want. - Clicking the "checkout" button takes you to a splash page that then automatically redirects you to Paypal. It puts the order in 'CHARGING' state as well. - at the end of filling in the Paypal information, you get a 'Back to store' button, that goes back to an overridden /@@getpaid-thank-you, that gives you your order number. - when Paypal validates the card, it sends an IPN notification to the site, which verifies the IPN with Paypal, compares the contents to the order referred to by Paypal, and, based on the success or failure of the paypal payment process, it either changes the workflow to 'CHARGED' or 'PAYMENT_DECLINED'. To get further functionality, there will likely have to be changes made in the getpaid architecture. For example, there is no way to clear failed orders or orders that have been 'pending' by hand. There is also no clear 'pay by check or by phone' functionality. But that's a discussion for another time. So hammer on it - let me know what works, and what doesn't. One thing I've seen, though - Paypal's sandbox, by default, sets all their merchant accounts to 'review payments'. This will make it seem as if the IPN is not working. You have to disable review in order to make the 'Charged' message come from Paypal, instead of the 'Deferred' message. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "getpaid-dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/getpaid-dev?hl=en -~----------~----~----~----~------~----~------~--~---
