I built a generic gateway for EventHQ (www.eventhq.co.uk) where users can plug in their payment gateway details and hook the app up to their merchant account. It supports Authorize.net, Moneris, SagePay, Barclaycard ePDQ, PayPal (standard and payments pro). It handles both payments and (where available) refunds.
In the current version I built it as a vendor package called in the beforeSave() callback of the Payment model. The save operation would include credit card details and if payment was required, triggers a transaction. If the transaction succeeds great - the record complete with transaction data is saved. If the transaction fails then the appropriate error messages are added to Cakes validation errors stack. Its worked well and processed quite a bit of money over the past 12 months. But... 3D Secure - its not clear to me right now how you can implement the necessary 3D Secure checks into something that operates from models/ behaviors/datasources as calls to 3D Secure services apparently have to be issued from the users browser, not from a behind the scenes process. Whether Cakes HTTPSocket will emulate that ok I'm not sure. I'm currently thinking along the lines of having some sort of plugin that gets called via an iframe. Would be happy to chat further about solving this whole issue as its a pain-point for us right now. As an aside we have also looked at http://www.nsoftware.com/ibiz/epayment/ as a possible prebuilt library that could be integrated somehow. Cheers, Ian On Mar 17, 10:54 pm, Jon Bennett <[email protected]> wrote: > > 4. different component per gateway > > I've gone this route, but it's quite hard coded into the all, and > certainly the database. if you find a nicer way, I'd be interested. > > J > > -- > jon bennett -www.jben.net- blog.jben.net Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" 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/cake-php?hl=en
