bitpay / magento2-plugin

Magento2.x payment plugin for Bitpay.com
MIT License
13 stars 24 forks source link

Painful to install due to outdated guide #36

Open CreamyG31337 opened 6 years ago

CreamyG31337 commented 6 years ago

I'm not an expert on magento or composer so I haven't made any changes myself, but please take a look at my issue here and try to make some improvements. The documentation (Guide) suggests one should download the latest release and there will be an app and lib folder to copy to your website root. There is not, plus the releases are quite old and people should probably be downloading a clone with all the commits. Anyways, one possible correct procedure is more like:

  1. create an /app/code/Bitpay/Core/ folder and put the archive contents inside it
  2. enable module
  3. composer require bitpay/php-client:~2.2
  4. run upgrade
  5. compile
  6. deploy

Or alternatively you could probably install it all with composer, but I'm not sure how since packagelist doesn't show the plugin, only the php client is there. composer.json is excluded by the .gitattributes file currently, so using the 'download as archive' option skips this file, so please keep that in mind too. It sounds like there's some 3rd way to install using the included scripts to repackage everything, but I don't see what that brings to the table.

pieterpoorthuis commented 6 years ago

We're working on making the repo available both on Packagist and the Magento marketplace. Some backwards compatibility issues are holding us back for now. Once resolved, we'll release the plugin.

JasperLawrence commented 5 years ago

the documentation is inaccurate, out of date and like that for Magento is complete shit. SHIT.

A week of successive ballaches, for one reason only, shit documentation. As above, directories that do not exist, interface elements misnamed and said to be in the wrong location, one fucking thing after another. This in 2019

pieterpoorthuis commented 5 years ago

I'm no longer working for BitPay... but this may be the repo you're looking for: https://github.com/bitpay/bitpay-checkout-magento2/tree/master/code/Bitpay/BPCheckout