Closed raoulguillermo closed 2 years ago
Hello @raoulguillermo we made some changes in our main plugin that are not yet released into a version, a new version will be released soon, in the meantime you can use the "developer" branch of our m2 plugin to develop your application
Hi Ivascu,
How do i install the develop branche?
@raoulguillermo ,
You just switch the branch from main to → develop and download/use that branch.
Hi Ivascu,
How do i install the develop branche?
you can use git, first you need to remove the current plugin composer remove buckaroo/magento2
, next you create a folder in app/code
named Buckaroo
then you clone our plugin in that new folder git clone https://github.com/buckaroo-it/Magento2.git
, switch to developer branch using git checkout develop
, finally you activate the plugin
php bin/magento module:enable Buckaroo_Magento2
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
Ok i've tried installing. But i keep getting stuck. I have a clean magento 2 install. Should i install the graphql extension first? This seems to install the magento2 extension as well. If i just clone the both of them in the app dir. I also get errors.
Could you please tell me what the correct way of installing this version is? Along with the magento2 module?
@raoulguillermo better if you install both plugins in app/code/Buckaroo using git clone
, after cloning both repositories you should have 2 folders Magento2
and Magento2Graphql
after that you enable both plugins php bin/magento module:enable Buckaroo_Magento2 Buckaroo_Magento2Graphql
and you run di update php bin/magento setup:upgrade
, ps don't forget to set branch in Magento2
to develop
Hi Ivascu,
I've done the above. But getting this error.
root@magento-2:/var/www/html# bin/magento setup:di:compile Compilation was started. Repositories code generation... 1/9 [===>------------------------] 11% < 1 sec 131.0 MiBClass 'Buckaroo\Magento2Graphql\Resolver\AbstractCartResolver' not found#0 /var/www/html/setup/src/Magento/Setup/Module/Di/Code/Reader/ClassesScanner.php(136): require_once()
@raoulguillermo make sure the graphQl plugin(folder) is named Magento2Graphql
, php may not properly load the psr-4 classes if the folder is named incorrectly
@raoulguillermo make sure the graphQl plugin(folder) is named
Magento2Graphql
, php may not properly load the psr-4 classes if the folder is named incorrectly
That works! Thanks!
Hi,
I tried installing the module but running into some errors. After running setup:di:compile i get the following error.
Class Buckaroo\Magento2\Model\Transaction\Status\ProcessResponse does not exist
Class Buckaroo\Magento2Graphql\Resolver\Cart\ProcessTransactionOutput\Interceptor generation error: The requested class did not generate properly, because the 'generated' directory permission is read-only. If --- after running the 'bin/magento setup:di:compile' CLI command when the 'generated' directory permission is set to write --- the requested class did not generate properly, then you must add the generated class object to the signature of the related construct method, only.
Buckaroo magento 2 version 1.42