Share » Forums » Developer » Need help with implementing my...

Need help with implementing my payment gateway in 3.9

Need help with implementing my payment gateway in 3.9

Tuesday 06 February 2007 6:52:46 am - 3 replies

Modified on Sunday 11 February 2007 1:25:42 pm by H-Works Agency

Author Message

/dev/null

Sunday 11 February 2007 4:56:09 pm

You should try using the 'eZRedirectGateway' class which supports redirection!
<i>http://pubsvn.ez.no/nextgen/trunk/kernel/shop/classes/ezredirectgateway.php</i>

eZ Paypal provides for much of this functionality.
<i>http://zev.ez.no/svn/extensions/ezpaypal
http://zev.ez.no/svn/extensions/ezpaypal/classes/ezpaypalgateway.php</i>

<i>/dev/null

tv: moral orel - god\'s image</i>

eZpedia community documentation project: http://ezpedia.org

H-Works Agency

Monday 12 February 2007 3:27:03 am

Thanx but i can't use redirection : My module has to provide the redirection through a card type form.

That is my problem.

EZP is Great

kracker (the)

The Doctor

Monday 12 February 2007 8:53:32 am

Well ...

That's reasonable enough. I would borrow ideas from the redirect gateway's implementation.

Adapt your gateway to use those ideas at the point where you return from your card type form submission, before the workflow event ends ... for starters.

It's going to take an experienced eZ / PHP developer to implement your own unique api's required php code into the workflow event to support (in effect) both feature sets of both types of payment gateway classes.

There really is no big secret in this area of eZ publish, you write a workflow event of type payment gateway, there are several examples in eZ publish itself and in other payment gateway extensions of how you can implement the code eZ publish needs to support these base features within eZ publish, the rest of the code needed is for your own api, you write to support your own payment gateway's api.

A redirect to a url is not much different from background curl request to a url...
This is an area for development not talk, no?

Cheers,
//kracker

<i>Sole - Selling Live Water - Respect Pt 3</i>

Member since: 2001.07.13 || http://ezpedia.se7enx.com/

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu