On Thu, Apr 23, 2009 at 6:03 PM, Tim Fountain <[email protected]> wrote:

>
> On 23/04/2009, Vadim Gabriel <[email protected]> wrote:
>>
>>
>> 1. Should the gateways use the zend http component and it's adapters such
>> as the Curl to process the payments or use the PHP Curl extension as is?
>>
>
> Definitely use Zend_Http. If an application has already setup an instance
> of Zend_Http_Client (e.g. with settings for a HTTP proxy, or a custom
> useragent), it would be annoying to have to set those options up again to
> use the Payment component.
>

Fair enough i can see the drawbacks not using the Zend components can bring.


>
>
> 2. I have worked out one small gatewat already and i am adding/editing as i
>> go when i see fit. I would appreciate any feedback regarding the updates i
>> he made already (updated today) and throwing anything you might find
>> required or helpful.
>>
>
> What's there looks good. It'd be nice to have a few more use cases showing,
> for example, handling a payment that was declined, or showing validation
> errors to the user.
>

That's on the way as well. But basically each gateway will need to handle
the errors in it's own unique way. But all of the gateways will share the
same common functions to see if the payment was passed or declined and if it
was decelined it could print the error returned using the methods available.
If it was ok using the response array the developer could do what ever he
likes.

>
>
> I would also strongly recommend that you look into 3-D Secure authorisation
> and work out how you would build support for this into the component. It
> would be very difficult to add this in at a later date without breaking
> backward compatibility (which is a problem ActiveMerchant, the Ruby
> equivalent of this, is currently having).
>

Never heard of it, Could you elaborate?  Cause i am sure that the tranzila
gateway i wrote will work, And the other gateways listed will also work,
Hopefully with as few problems as possible, If any.

>
>
> --
> Tim Fountain
> http://tfountain.co.uk/




-- 
Vincent Gabriel.
Lead Developer, Senior Support.
Zend Certified Engineer.
Zend Framework Certified Engineer.
-- http://www.vadimg.co.il/

Reply via email to