stripe-bundle
stripe-bundle copied to clipboard
Can't install to Symfony 3.2
When I tried to install the bundle using composer, I received the following output at the console:
composer require flosch/stripe-bundle Using version ^0.1.9 for flosch/stripe-bundle ./composer.json has been updated Loading composer repositories with package information Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages. Problem 1 - Can only install one of: stripe/stripe-php[v3.23.0, v5.5.0]. - Can only install one of: stripe/stripe-php[v5.5.0, v3.23.0]. - Can only install one of: stripe/stripe-php[v3.23.0, v5.5.0]. - flosch/stripe-bundle 0.1.9 requires stripe/stripe-php ~3.23 -> satisfiable by stripe/stripe-php[v3.23.0]. - Installation request for flosch/stripe-bundle ^0.1.9 -> satisfiable by flosch/stripe-bundle[0.1.9]. - Installation request for stripe/stripe-php (locked at v5.5.0) -> satisfiable by stripe/stripe-php[v5.5.0]. Installation failed, reverting ./composer.json to its original content.
How can I solve this issue?
Hey @diriy, that means that your are requesting incompatible packages.
This bundle is a bit out of date, and requires a version of Stripe (v3) which is not the last one (currently seems to be v5.5)
However, this is not a problem with symfony ; I am still using this bundle in several projets of Symfony 3.3.10 :)
I guess that you have also required Stripe SDK (v5) directly in your composer.json ?
FYI I plan to support Stripe v5 in the near future, just did not have the time to dig into it for now.