Hi everybody,
First off, Antoine I think its great you're taking the time to get
everybody together:-)
Unfortunately I wont be able to do any coding on this during the
course of this week, not only because I have no time but also because
I think that the current architecture in my branch isn't solid enough.
Let me elaborate on the latter for a bit.
First off we need to do some investigation on the processes of
transaction/payment handling with the different providers before we
can come up with a flow for the user and thus the architecture of the
transaction/payment adapter objects and their interfaces. Before we
have established what their common practices and differences are it's
useless to start coding, we will end up with a lot of rewriting.
Second we need to think of a way to store the data in a decent way.
Our current implementation with interfaces seemed a great start
because any ORM generated object could simply adept the interface… The
problem is that interfaces don't know about magic methods which are
very common for ORM objects so we need to recreate all those methods
for different ORM, not really DRY so to say. Besides that it would be
hard to create a single (or multiple) module and their respective
forms that guide the user through the transaction/payment process.
My comments might feel a little weird since I'm the one already
committing code but that was how I found out about these problems. If
we don't want to create yet another payment plugin my suggestion would
be to think about these problems.
One last thought, I really doubt we need to separate out all the
different providers in different plugins. I strongly urge everyone to
consider moving all providers into just this plugin, if only for
testing purposes and convenience for end users.
Kindest regards,
Marijn
On Jul 21, 5:09 pm, Antoine Leclercq <
antoine.lecle...@gmail.com>
wrote:
> Hi all,
> We've been working on the plugin during the last weeks, reviewing and
> testing various options, checking also how we could make the plugin as
> flexible but easy to use as possible.
>
> We should release a first base by the end of the week (checkhttp://
wiki.github.com/letscod/sfPaymentPlugin). It is going to be strongly
> inspired from the discussion we've had on the symfony-users mailing list (
http://groups.google.com/group/symfony-users/browse_thread/thread/9be...),