We are extending one of our websites to use the DirectLink service of
Ogone, which basically is a server-to-server solution for payments,
refunds etc. We do already use their Advanced E-Commerce solution that
works pretty much like PayPal.
I see the possibility of contributing this code to a new
sfPaymentOgonePlugin, but I'll have to check that with the responsible
stakeholders yet. Anyway, did you already plan how such functionality
would be integrated (API wise) in the payment plugin series?
Furthermore, where do technical questions regarding
sfPaymentTransaction et al. go? Is their API already finalized, or are
you still open for suggestions?
Bernhard
--
Software Architect & Engineer
Blog: http://webmozarts.com
I did not look too much into sfPaymentPlugin yet, but I noticed a few things:
* The classes ending on "Interface" should (as per symfony convention)
be interfaces really. F.i., create an interface
sfPaymentGatewayInterface and an abstract base class sfPaymentGateway.
That would be much clearer (and flexible).
* I don't like the fact that the dynamic setters are realized using
__call(). This may easen the implementation of payment services, but
it makes their usage more difficult, because code completion is not
available.
Don't take my points personal, I really appreciate your effort. :-)
Bernhard
I like what you proposed about sfPaymentStorageInterface and the
seperate storage plugins (sfPaymentStorageDoctrinePlugin,
sfPaymentStoragePropelPlugin). That sounds like a good idea.
Why do you want to configure any payment gateways in a YAML file? I
did not really understand this part.
Considering the discussion of gateways in seperate plugins or not: I
guess if Antoine and the other devs here have come to the conclusion
that seperate plugins are best, than we should go that way.
> Indeed for the naming of the class. This would be clearer. Do you want to register as a plugin dev and apply the changes ?
I would appreciate that. I won't be able to do it until I start work
on the Ogone adapter though.
Hi Marijn,
I like what you proposed about sfPaymentStorageInterface and the
seperate storage plugins (sfPaymentStorageDoctrinePlugin,
sfPaymentStoragePropelPlugin). That sounds like a good idea.
Why do you want to configure any payment gateways in a YAML file? I
did not really understand this part.
Considering the discussion of gateways in seperate plugins or not: I
guess if Antoine and the other devs here have come to the conclusion
that seperate plugins are best, than we should go that way.
Indeed for the naming of the class. This would be clearer. Do you want to register as a plugin dev and apply the changes ?
I would appreciate that. I won't be able to do it until I start work
on the Ogone adapter though.
Thanks for your reply. All of your points make absolutely sense. I
will look at you branch once I have time.