#Inchoo Payway
Magento extension for Croatian HT PayWay payment gateway (T-Com PayWay).
It supports PayWay standard model of integration where customer is redirected and payment is done on PayWay side.
- Using PayWay standard model, customer is redirected to payment pages upon completing checkout. This way credit card info is not passed through your servers, which makes this payment PCI compliant
- Orders that are unpaid for 1h are automatically canceled to restore allocated inventory
Ensure that you have added https://composer.inchoo.io/ as composer repo in your composer.json and then simply run:
composer require inchoodev/module-search-preview
Or alternatively:
- Copy contents of extension to folder app/code. If folder does not exist, create it
- Execute
php -f bin/magento module:enable Inchoo_Paywayfrom Magento 2 root folder to enable the extension - Execute
php -f bin/magento setup:upgradefrom Magento 2 root folder to install the extension - Go to admin to Stores > Configuration > Sales > Payment methods > HT PayWay and adjust settings to suit your needs
NOTE: Extension works only with HRK currency.
Configuration can be accessed by going to Stores > Configuration > Sales > Payment methods > HT PayWay from admin panel. Following can be adjusted:
- Enabled - Should integration be available on checkout
- Title - Title that will be displayed on checkout for this payment method
- Shop ID - Shop ID from your PayWay account
- Secret key - Secret key from your PayWay account
- Language - Language of payment pages, to which customer is redirected upon completing checkout
- Test mode - In test mode, customer is redirected to PayWay test servers. In this mode, card is not charged and test card numbers can be used to simulate purchasing.
- Debug - Debug mode enables more verbose logs
- Payment from Applicable Countries, Payment from Specific Countries - Regulates from which countries payment is acceptable
- Auto cancel unpaid orders - Unpaid orders by default remain in pending state. If you wish them to be automatically canceled, you can enable this option. Requires Magento cron to be set up correctly.
- Use Order Increment ID - If set to "Yes" Order increment ID will be sent to payway instead of Order ID (default)