Forums / Developer / eZCurlGateway / Comment44943

Author Topic

Dylan McDiarmid

Tuesday 13 December 2005 3:30:38 am

Comment44943

It was my intention that eZAuthorize be the concrete example. The trouble with doing curl examples is that you need a real curl interface to send and get information from, so I figured a "proof of concept" working example with a real gateway is going to be the best example to look at. Similarly, the stock class eZRedirectGateway doesn't redirect anywhere or create a payment object by itself, it needs to be told what object to create and where to go be an extending class. But by reading the ezpaypal class, it's relatively easy to figure out how and where these things need to be done.

Your right about the name though, the only thing curl has to do with this is it's name and purpose. Providing basic examples isn't going to change that, although if I get some extra time and a better feel for where people are encountering difficulties understanding how to implement a gateway using the class, I'll try to add some more in depth explanations. If you would like to create a gateway using this, I'm sure Graham and I would be more than happy to assist you with any specific questions you have.