modena / module-payments
Modena Payments — payment gateway module for Magento 2
Package info
bitbucket.org/modenadev/modena-magento-payment-gateway
Type:magento2-module
pkg:composer/modena/module-payments
1.0.0
2026-04-09 10:53 UTC
Requires
- php: >=8.1
- magento/framework: >=103.0.0
- magento/module-catalog: >=104.0.0
- magento/module-checkout: >=100.4.0
- magento/module-payment: >=100.4.0
- magento/module-quote: >=101.2.0
- magento/module-sales: >=103.0.0
README
Install Magento
# From your workspace directory (e.g. ~/dev/magento/)
curl -s https://raw.githubusercontent.com/markshust/docker-magento/master/lib/onelinesetup | bash -s -- magento.test community 2.4.7
cd magento.test
Disable 2FA (local dev only)
bin/magento module:disable Magento_AdminAdobeImsTwoFactorAuth Magento_TwoFactorAuth
bin/magento setup:di:compile
bin/magento cache:flush
Create admin user
bin/magento admin:user:create --admin-user=admin --admin-password=admin123 --admin-email=admin@test.com --admin-firstname=Admin --admin-lastname=Admin
Install sample data
bin/magento sampledata:deploy
bin/magento setup:upgrade
bin/magento cache:flush
Install Modena Payments module
# Copy the module into Magento (symlinks don't work with Docker volumes)
mkdir -p src/app/code/Modena
cp -r /path/to/magento-modena src/app/code/Modena/Payments
# Sync to container
bin/copytocontainer app/code/Modena
# Enable
bin/magento module:enable Modena_Payments
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento cache:flush
After making changes to the module, re-copy and recompile:
cp -r /path/to/magento-modena src/app/code/Modena/Payments
bin/copytocontainer app/code/Modena
bin/magento setup:di:compile
bin/magento cache:flush
Access
- Store: https://magento.test
- Admin: https://magento.test/admin (admin / admin123)
Configure Modena Payments
- Admin > Stores > Configuration > Payment Methods
- Modena Payments — General: set mode to Test, enter Client ID, Client Secret, Signature Key
- Enable desired gateways (Slice, Credit, Business Leasing, Business Factoring, Click and Try, Direct)
- Save, then
bin/magento cache:flush
Useful commands
bin/magento cache:flush # clear cache
bin/magento setup:di:compile # recompile after PHP changes
bin/bash # shell into PHP container
bin/stop # stop containers
bin/start # start containers