twint-ag / twint-magento-extension
TWINT payment extension for Magento 2
Installs: 20
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Type:magento2-module
Requires
- php: >=8.1
- magento/framework: >=103.0.4
- symfony/validator: >=6.4
- twint-ag/sdk: ^1.4.0
Requires (Dev)
- mockery/mockery: ^1.6
- phpspec/prophecy-phpunit: ^2.2
- phpunit/phpunit: ^10.5
- rector/rector: ^1.2
- slevomat/coding-standard: ^8.15
- symplify/easy-coding-standard: ^12.1
README
This module provides seamless integration of the TWINT payment gateway with your Magento 2 store. It supports both Regular and Express Checkout payment methods, offering a flexible and secure payment solution for your customers.
Key Features
- Regular Payment: Customers can use TWINT to complete purchases through the standard checkout process.
- Express Checkout: A fast checkout option for customers, to shorten the checkout process.
Language Support
This module supports the following languages:
- English (en_US/en_GB)
- German (de_DE/de_CH)
- French (fr_FR/fr_CH)
- Italian (it_IT/it_CH)
Adding or Customizing Languages
To customize or add language support, follow these steps:
- Locate Language Files: Translation files are located in the
i18n
folder. - Edit or Add Translations: use existing CSV files or create a new CSV for your desired language, following the Magento 2 translation format.
- Deploy Static Content (if in production mode):
php bin/magento setup:static-content:deploy <language_code>
Requirements
- PHP
>= 8.1
- PHP extension:
soap
- Magento 2.x (
magento/framework
version as>=103.0.4
) - TWINT account
Installation
- Install the Module via Composer:
composer require twint-ag/twint-magento-extension
- Enable the Module
bin/magento module:enable Twint_Magento
- Run setup upgrade and recompile dependencies
bin/magento setup:upgrade && bin/magento setup:di:compile
- Deploy static content (if in production mode)
bin/magento setup:static-content:deploy
- Clear cache (if needed):
bin/magento cache:clean && bin/magento cache:flush
Configuration
- Navigate to TWINT settings:
In your Magento admin panel, select TWINT from the main left sidebar. - Set Up TWINT Credentials:
Under the TWINT Credentials section, upload your TWINT certificate file and provide the necessary account details, including API credentials, to complete the integration setup. - Configure Payment Methods:
Navigate to TWINT Checkout and TWINT Express Checkout sections to configure the available payment options. Customize settings such as payment flow, button placement for Express Checkout, and other relevant details according to your store’s needs. - Save Configuration:
After completing the setup in each section, click Save to apply the changes.
Usage
Once installed and configured, TWINT will appear as a payment option in your Magento store during checkout. Customers can select TWINT, either for the full regular checkout process or via the streamlined Express Checkout button.
Support
For any issues or feature requests, please submit a GitHub issue or contact our support team at plugin@twint.ch.
License
This module is licensed under the MIT License. See the LICENSE file for more details.