In this module, I integrated two payments gateway of OnePay, that is the Domestic ATM Card and International Card.
- Under the root of your website, please run the command lines bellowing:
- composer remove php-cuong/magento2-module-core
- composer require php-cuong/magento2-module-core
- composer require php-cuong/magento2-onepay-payment-gateway
- php bin/magento setup:upgrade
- php bin/magento setup:static-content:deploy
- php bin/magento setup:di:compile
- php bin/magento indexer:reindex
- php bin/magento cache:flush
- Go to the Admin Panel of the Magento Store and navigate to the GiaPhuGroup → OnePay Payment Gateway → Configuration
- The configuration information:
- International card: https://mtf.onepay.vn/developer/?page=modul_quocte
- Domestic card: https://mtf.onepay.vn/developer/?page=modul_noidia
- Add a product to shopping cart.
- Go the the checkout page.