AltaPay has made it much easier for you as merchant/developer to receive secure payments in your Magento 2 web shop.
-
Magento 2.2 and below
For Magento 2.3 and above please see AltaPay for Magento2 Community
Run the following commands in Magento 2 root folder:
composer require altapay/magento2-payment
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
- Magento 2 with sample data should be installed on publically accessible URL
- Cypress should be installed
- For subscription test, "Push It Messenger Bag" product should be configured as subscription product
- These tests are for only Credit Card, Klarna DKK, and AltaPay subscription (Credit Card for subscription)
- In case, you don't want to test any of the above-mentioned payment methods, please leave it blank in the config file. i.e "CC_TERMINAL_NAME":""
- Install dependencies
npm i
- Update "cypress/fixtures/config.json"
- Execute
./node_modules/.bin/cypress run
in the terminal to run all the tests
See Changelog for all the release notes.
Distributed under the MIT License. See LICENSE for more information.
For more details please see AltaPay docs