pixers / payum-dotpay

Dotpay integration for Payum
BSD 3-Clause "New" or "Revised" License
5 stars 8 forks source link

Problem with configuration #2

Closed padalec closed 7 years ago

padalec commented 8 years ago

Hi there, when I try to run this code: `

    $extension = $container->getExtension('payum');
    $extension->addGatewayFactory(new DotpayGatewayFactory());

    $container->addCompilerPass(new BuildRegistryPass());
    $container->addCompilerPass(new BuildGatewayFactoryPass());

`

this method: addGatewayFactory doeasn't exists and this class new BuildRegistryPass() is deprecated Can you help me?

michallkanak commented 8 years ago

Hi, I'm sorry, but this plugin actually supports only "payum/core" in "^1.1.3" version. I will update this for new payum version in future

padalec commented 8 years ago

Hi, it's not good information for me so I try to fix this and make PR when done.

michallkanak commented 7 years ago

@padalec check please: https://github.com/pixers/payum-dotpay#symfony2---how-to-add-dotpaygateway-v20-for-payum-bundle--20 and let me know how it works now