Sylius/Sylius — pull request #275 by makasim (2013-08-19 19:52:43+00:00)
Title: [PoC] Sylius payum integration

_**Note**: This PR on a very early stage. Everything is kept as simple as possible. For previous discussion see https://github.com/Sylius/SyliusPaymentsBundle/issues/10_

The integration steps:

* install payum.
* configure payum
* extend desired payment details
* configure models storages
* add `CaptureOrderWithXXXAction`
* add `PaymentMethod` witch match payum context name set in config.

There are lots of open question:

* Where to ask for credit card (if it is required)? It could be asked on payment method selection method (after user choose one) or inside `CaptureOrderWithXXXAction`.
* Should be relation between `Order` and `XXXPaymentDetails`. I think yes but the implementation could be a bit tricky: because we have to use ClassTableInheritahce with ability to dynamically add child classes to map.
* One new step has to be done after `FinalizeStep`. This step would start the payment process in display action and manage order regarding a payment status in forward one.

There could be some other question I cannot remember currently. I would ask them as they come to my mind.

Since it is proof of concept everybody are welcome to discuss\criticize\ask about this PR. I am looking forward for the feedback. If there enough interest from your side I keep moving it further