1. Download the plugin from https://stripe.com/docs/plugins/magento/install#download
I downloaded the composer version
2. Place the file in the same directory as your composer.json. Typically this is the root magento folder. Copy it by FTP or whatever.
3. SSH into the machine or if a dev instance using docker then docker exec -it <magento2dev> bin/bash to get to the console (I test using docker - I will document this later also, highly recommended).
4. Switch to the folder you put the file in and tar -xvf stripe-magento2-x.x.x.tgz
5. composer require stripe/stripe-php:^6
- 6. php bin/magento setup:upgrade
php bin/magento cache:flush- php bin/magento cache:clean
7
- php bin/magento setup:di:compile
- php bin/magento setup:static-content:deploy
- php bin/magento setup:static-content:deploy
Then go to the backend and configure it from stores->configuration.
No comments:
Post a Comment