After long hours of wrestling with Plone, Zope 3, and formlib, I have found a relatively clean way to write an off-site payment processor such that (a) zero, one, or many such processors can be selected at one time, (b) the configuration forms for all of the active ones are available under GetPaid's "@@manage-getpaid-payment-processor" view, and (c) each of them has a "Checkout" button that displays beneath both the cart page and the cart view, with several buttons forming a stack.
If you want to take a look at my progress, here's my development buildout: https://getpaid.googlecode.com/svn/getpaid.buildout/branches/brandon-no-overrides Further steps necessary at this point are: - Provide a second plug-in point for payment processors that need to control the very last step of checkout rather than the first. - Clean up the interface and code a bit more. - Write documentation, and update what documentation already exists to match what I've actually done here (as usual, actually implementing the solution showed me things that couldn't work about the initial design that I can now correct). - Make the check-out buttons actually work. :-) Right now, they are just there to show that the views are rendering; a few tweaks will be necessary - and, ugh, actual testing against the off-site APIs! - to get them fully working again. Maybe the initial authors of each of them could be recruited to let me know if their processors still work, once I've completed the three steps above? :-) - Decide what on earth to do with Order objects and the off-site process. Oh, and, a question: does anyone know what the following code does? http://getpaid.googlecode.com/svn/getpaid.core/trunk/src/getpaid/core/options.py Thanks for any pointers. :-) -- Brandon Craig Rhodes [email protected] http://rhodesmill.org/brandon --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
