webdna / commerce-braintree

Braintree gateway for Craft Commerce
Other
2 stars 10 forks source link

Updating to Craft Commerce 3 #25

Closed panosdigital closed 4 years ago

panosdigital commented 4 years ago

Hi!

Is this plugin compatible with Craft Commerce 3?

When I try to upgrade to the latest version I get the following output:

Performing update with Composer ... error: An error occurred

Output:

<warning>Package "craftcms/vue-asset" listed for update is not installed. Ignoring.</warning>
<warning>Package "danielstjules/stringy" listed for update is not installed. Ignoring.</warning>
Loading composer repositories with package information
Updating dependencies

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - kuriousagency/commerce-braintree 2.3.2 requires craftcms/commerce ^2.0.0-beta.12 -> satisfiable by craftcms/commerce[2.2.15, 2.2.14, 2.2.13, 2.2.12, 2.2.11, 2.2.10, 2.2.9, 2.2.8, 2.2.7, 2.2.6, 2.2.5, 2.2.4, 2.2.3, 2.2.2, 2.2.1, 2.2.0, 2.1.13, 2.1.12.1, 2.1.12, 2.1.11, 2.1.10, 2.1.9, 2.0.0-beta.12, 2.0.0-beta.12.1, 2.0.0-beta.13, 2.0.0-beta.13.1, 2.0.0-beta.14, 2.0.0-beta.15, 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.1.0, 2.1.0.1, 2.1.0.2, 2.1.1, 2.1.1.1, 2.1.2, 2.1.3, 2.1.3.1, 2.1.4, 2.1.5, 2.1.5.1, 2.1.5.2, 2.1.6, 2.1.6.1, 2.1.7, 2.1.8] but these conflict with your requirements or minimum-stability.
    - kuriousagency/commerce-braintree 2.3.2 requires craftcms/commerce ^2.0.0-beta.12 -> satisfiable by craftcms/commerce[2.2.15, 2.2.14, 2.2.13, 2.2.12, 2.2.11, 2.2.10, 2.2.9, 2.2.8, 2.2.7, 2.2.6, 2.2.5, 2.2.4, 2.2.3, 2.2.2, 2.2.1, 2.2.0, 2.1.13, 2.1.12.1, 2.1.12, 2.1.11, 2.1.10, 2.1.9, 2.0.0-beta.12, 2.0.0-beta.12.1, 2.0.0-beta.13, 2.0.0-beta.13.1, 2.0.0-beta.14, 2.0.0-beta.15, 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.1.0, 2.1.0.1, 2.1.0.2, 2.1.1, 2.1.1.1, 2.1.2, 2.1.3, 2.1.3.1, 2.1.4, 2.1.5, 2.1.5.1, 2.1.5.2, 2.1.6, 2.1.6.1, 2.1.7, 2.1.8] but these conflict with your requirements or minimum-stability.
    - kuriousagency/commerce-braintree 2.3.2 requires craftcms/commerce ^2.0.0-beta.12 -> satisfiable by craftcms/commerce[2.2.15, 2.2.14, 2.2.13, 2.2.12, 2.2.11, 2.2.10, 2.2.9, 2.2.8, 2.2.7, 2.2.6, 2.2.5, 2.2.4, 2.2.3, 2.2.2, 2.2.1, 2.2.0, 2.1.13, 2.1.12.1, 2.1.12, 2.1.11, 2.1.10, 2.1.9, 2.0.0-beta.12, 2.0.0-beta.12.1, 2.0.0-beta.13, 2.0.0-beta.13.1, 2.0.0-beta.14, 2.0.0-beta.15, 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.1.0, 2.1.0.1, 2.1.0.2, 2.1.1, 2.1.1.1, 2.1.2, 2.1.3, 2.1.3.1, 2.1.4, 2.1.5, 2.1.5.1, 2.1.5.2, 2.1.6, 2.1.6.1, 2.1.7, 2.1.8] but these conflict with your requirements or minimum-stability.
    - Installation request for kuriousagency/commerce-braintree 2.3.2 -> satisfiable by kuriousagency/commerce-braintree[2.3.2].

<warning>Running update with --no-dev does not mean require-dev is ignored, it just means the packages will not be installed. If dev requirements are blocking the update you have to resolve those problems.</warning>
mcjackson18 commented 4 years ago

Hi @baronetto, this version of the plugin is only compatible with Commerce 2. We are planning on updating it for Commerce 3 but at the moment I can't give you an ETA.

bymayo commented 4 years ago

@mcjackson18 Is there much different between 2 and 3? E.g. Have you tried just removing the requirement of Commerce 2?

spyrospassas commented 4 years ago

@mcjackson18 hoping Commerce 3 compatibility is not too far...

panosdigital commented 4 years ago

@mcjackson18 Would there be any issue if we upgraded to Craft v.3.4 while using Craft Commerce 2?

mcjackson18 commented 4 years ago

Requirements now changed to allow for Commerce 3 in 2.3.3.