Payum / PayumBundle

Payum offers everything you need to work with payments. From simplest use cases to very advanced ones.
https://payum.gitbook.io/payum
MIT License
569 stars 142 forks source link

Compatibility with Symfony 2.1.* #21

Closed shivas closed 11 years ago

shivas commented 11 years ago

As documentation says it's 2.1.* standard, it doesn't work on it, as in configuration building 2.2.* method is used: http://api.symfony.com/2.2/Symfony/Component/Config/Definition/Builder/ArrayNodeDefinition.html#method_canBeEnabled

It doesn't exist in 2.1 branch: http://api.symfony.com/2.1/Symfony/Component/Config/Definition/Builder/ArrayNodeDefinition.html

Please fix requirements to support 2.1, as 2.2 is still beta, and most of people don't want to upgrade to 2.2 as 2.3 LTS comming out soon.

Error is when building configuration after install/cache clear:

$ ./app/console cache:clear
PHP Fatal error:  Call to undefined method Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition::canBeEnabled() in /xxx/vendor/payum/payum-bundle/Payum/Bundle/PayumBundle/DependencyInjection/Factory/Storage/AbstractStorageFactory.php on line 40
makasim commented 11 years ago

thanks for the feedback, I will revert that back

makasim commented 11 years ago

actually my current projects use sf2.1 too

makasim commented 11 years ago

I guess it is fixed