Path

ez.no / developer / forum / developer / ezcurlgateway


eZCurlGateway

You need to be logged in to post messages in the forums. New users may register here. Please read the forum guidelines before posting.

Brookins Consulting

Member since:
Thursday 03 April 2003

Posts: 44

Brookins Consulting, Bronze Partner

Tuesday 13 December 2005 3:42:29 am

Hello, this forum is for the continued community support and development of the eZCurlGatway extension.

Last Documented Version: 1.0.1
Last SVN Revision: Rev 823
Log Message: Rev 823 - 2005-12-13 11:26:10 +0100 (Tue, 13 Dec 2005)
http://pubsvn.ez.no/websvn/listin...eway%2F&rev=823&sc=1

News:
12/13/2005 - Updated Repository; Minor text typo in eZCurlGatway, Please update to Rev 823
12/13/2005 - I am proud to announce that Brookins Consulting has released a brand new kind of eZ publish payment gateway class extension called, eZCurlGatway.

About: eZCurlGatway provides eZ publish a way to securely submit credit card payment information from customers through a credit card payment processing service like Authorize.Net transparent to the customer.

eZCurlGatway is implemented as the base class extended by eZ Authorize, in the complete eZ publish payment gateway solution, eZ Authorize, a feature rich, payment gateway and true eZ publish extension which provides eZ publish the ability to accept credit card payments from customers during checkout in an eZ publish e-commerce store without redirecting the customer throughout the process.

Cheers,
Graham Brookins

Contribution:
http://ez.no/community/contribs/workflow/ezcurlgateway

SVN:
http://pubsvn.ez.no/community/trunk/extension/ezcurlgateway
SVN Log:
http://pubsvn.ez.no/websvn/log.ph...ay%2F&rev=0&sc=1&isdir=1
SVN Log RSS:
http://pubsvn.ez.no/websvn/rss.ph...%2F&rev=823&sc=1&isdir=1

eZ Partner | North American Experience
http://brookinsconsulting.com/experience

Up

Paul Forsyth

Community moderator Moderator

Member since:
Friday 07 March 2003

Posts: 1535

WebDeal AS, Silver Partner

Tuesday 13 December 2005 10:32:04 am

You should make this extension separate from eZAuthorise and provide examples of how to actually use curl.

For example, you mention ezauthorizegateway in an error statement, and only show curl in use within eZAuthorizeAIM of the other extension.

paul
Up

Dylan McDiarmid

Member since:
Monday 07 March 2005

Posts: 2

Brookins Consulting, Bronze Partner

Tuesday 13 December 2005 11:50:29 am

Paul,
This extension is already meant to be seperate from eZAuthorize. The ezauthorize error mention was a typo and has been fixed, thanks for catching it.

Currently the class is very sparse, as most of the meat would be put in the classes that extend it. I wanted it to be more of a framework that I (and others of course) could use as a guide to implement curl payment gateways, like eZRedirectGateway is for redirect gateways, instead of a class that provided things like specific curl functionality.

I would certainly be open to suggestions though. Is there any functionality you see being generic enough to include as a method in eZCurlGateway? The one thing I don't really want to do is make it a wrapper for curl functions, as I prefer to leave it up to the developer to choose how he wants to implement the curl functions themselves. So for examples of using curl, I would recommend any developer to use the php manual (http://php.net/curl ), the official curl site (http://curl.haxx.se ), and to search for other open-source implementations of the payment gateway they are writing for to see what curl options they are using.

Cheers,
Dylan
Up

Paul Forsyth

Community moderator Moderator

Member since:
Friday 07 March 2003

Posts: 1535

WebDeal AS, Silver Partner

Tuesday 13 December 2005 11:59:47 am

I really do think you should have some concrete examples of how to instigate the curl connection and use the results in that extension.

As it stands the only part that uses curl in the extension is the name.

Paul

Up

Dylan McDiarmid

Member since:
Monday 07 March 2005

Posts: 2

Brookins Consulting, Bronze Partner

Tuesday 13 December 2005 12:30:38 pm

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.
Up

kracker

Member since:
Friday 07 March 2003

Posts: 726

Tuesday 13 December 2005 12:38:19 pm

like these kinds of code like implementations?
http://curl.haxx.se/libcurl/php/examples/simplepost.html

gleam out some of the ezauthorize implementation
specifics (supporting methods) backwards into ezcurlgateway ...

right now, it's more like a class you have only to override,
where it could have more functionality provided by the base
class (which could still be overridden) as needed

what is curl? one of many different possible get/post operations
via http an https, a url and a http uri formated parameter list?

//kracker
beastie boys | remote control

Member since: 2001.07.13 || http://ezpedia.org/

Up

john polo

Member since:
Sunday 04 December 2005

Posts: 36

Wednesday 25 January 2006 5:13:51 pm

We would luv to have more information about this gateway. I would really like to have users deal with my site only because i dont need validation for my users who i know already. All i need to do is to collect information about it via my site.
Up

You need to be logged in to post messages in the forums. New users may register here. Please read the forum guidelines before posting.