Requires Magento v. 2.3+ (tested versions: 2.2.11 2.3.1, 2.3.5, 2.3.5-p2, 2.4.0-p1, 2.4.1)
Before you start:
If you are using some of TRIC's plugins for shipping, you have to make sure that you as a minimum are running the versions below. This is to ensure that Swiipe Checkout will function together with TRIC's plugins.
Required:
TRIC GLS version 2.0.8
TRIC Pacsoft 1.2.0
If you are using other plugins which has an influence on the checkout, you either have to deactivate those or make sure that they are compatible with Swiipe Checkout.
1. Set up through SSH
When you are on the server, you have to make sure that your current working directory contains the “vendor” directory.
- Extend composer.json with our repository:
composer config repositories.swiipe composer "https://plugin-repo.swiipe.com/magento2plugins/composer-dk/composer-satis"
2. Setup automated commands to prepare our code after module installation/update.
composer config scripts.post-install-cmd "[ -d ./vendor/swiipe/checkout_dk ] && cp -r ./vendor/swiipe/checkout_dk/pub ./pub/pub && cp -r ./vendor/swiipe/checkout_dk/pub ./pub || echo 0"
composer config scripts.post-update-cmd "[ -d ./vendor/swiipe/checkout_dk ] && cp -r ./vendor/swiipe/checkout_dk/pub ./pub/pub && cp -r ./vendor/swiipe/checkout_dk/pub ./pub || echo 0"
3. Fetch the module.
composer require swiipe/checkout_dk
4. Run Magento CLI commands to ensure that Swiipe module is active.
php bin/magento module:enable Swiipe_Checkout \
&& php bin/magento setup:upgrade \
&& php bin/magento setup:di:compile \
&& php bin/magento cache:flush
You might need to recreate your static content for your site language, e.g.:
php bin/magento setup:static-content:deploy -f da_DK
Depending on which language you use, you might want to add the following languages:
en_US sv_SE
2. Log in to your admin panel
Log in to your Magento admin-panel.
To ensure that Swiipe Checkout works correctly, you need to make sure that "Enable Onepage Checkout" is set to "Yes" and “Display Billing Address On” is set to "Payment Page".
Go to "Stores" -> "Configuration" -> "Sales" and then "Checkout".
Here you will find the settings for "Enable Onepage Checkout" and "Display Billing Address On".
3. Before you start setting up the settings
Make sure that you are on the "Default Config" in the "Scope" section, which you can find in the top left corner on the "Configuration" page, before beginning the installation of the Swiipe plugin.
4. Swiipe settings
After installing Swiipe, return to your Magento admin panel and go to "Stores" -> "Configuration".
Click on "Swiipe" and see the different subsections that are now available.
To set up the Swiipe Checkout, click on the section called "Settings".
5. Copy and save the the API-key
Open a new window and go to the Swiipe Portal. After you have logged in, go to the "API-key" page. Here you will find the API-key which you have to insert under the Swiipe settings in your Magento admin panel. Copy the key and save it for later.
Remember to choose the webshop in the dropdown menu which you can find in the top right corner.
6. Activate the Swiipe plugin
Insert the API-key which you copied from the Swiipe Portal in the previous step.
Click on "Save Config" in the top right corner of the page.
Change the scope from "Default Config" to the shop where you want to activate Swiipe Checkout under "Current Configuration Scope" to the left.
Under "Enable Swiipe" choose "Yes".
Click on the "Save Config" button to the right.
The Swiipe plugin is now installed and can be seen on your webshop.
Congratulations! Swiipe Checkout is now live on your webshop.
Kommentarer
0 kommentarer
Log ind for at kommentere.