These are chat archives for Payum/Payum

18th
Mar 2016
Jan Ropertz
@janrop
Mar 18 2016 12:53
Hey @makasim you just replied to an issue at github I had a question on. https://github.com/Sylius/Sylius/issues/4396#issuecomment-198329204 Firstup: Thanks for your help :) Sadly I still do not know how to proceed. Is there anywhere I could read about the relationship between Payum, Sylius and Sylius/PayumBundle? Would you recommend reading up on Payum alone first?
sylius/payumbundle integrates the payment gateway (payum) with the shop (sylius)
Jan Ropertz
@janrop
Mar 18 2016 13:50
@davidfuhr thanks I'll read up on that. Would I have to work inside of the Sylius\Bundle\PayumBundle to make a new PaymentProvider work?
David Fuhr
@davidfuhr
Mar 18 2016 13:52
i've never worked with sylius.. but if you want to implement a new payment service provider (like paypal, klarna, ...) this has nothing to do with sylius in the beginning
Max Kotliar
@makasim
Mar 18 2016 15:00
@janrop what gateway are you looking for?

@davidfuhr is absolutely right if you need a new gateway you first have to create payum extension (nothing to do with sylius). if you do everything right It works with Sylius without any changes there (except the configuration)

If you do not find a gateway among already supported you create your own. payum/skeleton may help you a lot

Jan Ropertz
@janrop
Mar 18 2016 15:20
its already implemented, but not included with the standard version ("payum/sofort") just requiring payum/sofort does not seem to do the trick since php app/console payum:gateway:debug tells me "Unrecognized option "sofort" under "payum.gateways.sofort_ueberweisung""
Max Kotliar
@makasim
Mar 18 2016 15:24
As I told you there is not a gateway factory in the bundle
that's why the bundle does not "see" the sofort extension
It could be easily added. Look at already implemented gateway factories (I posted there a link to one of them)
Jan Ropertz
@janrop
Mar 18 2016 15:26
Do you mean Payum/Sofort or Payum/Payum by "the bundle"?
Jan Ropertz
@janrop
Mar 18 2016 15:42
Because there is a "SofortGatewayFactory.php" in the Payum/Sofort Bundle. I suppose it should be in: /vendor/payum/payum-bundle/DependencyInjection/Factory/Gateway ?
and registered like this v
The factory you mentioned about works for the payum bundle 2.x version but Sylius still works with old 1.x version of the payum bundle