modena/module-payments

Modena Payments — payment gateway module for Magento 2

Maintainers

Package info

bitbucket.org/modenadev/modena-magento-payment-gateway

Type:magento2-module

pkg:composer/modena/module-payments

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

1.0.0 2026-04-09 10:53 UTC

This package is auto-updated.

Last update: 2026-04-20 18:11:00 UTC


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

Configure Modena Payments

  1. Admin > Stores > Configuration > Payment Methods
  2. Modena Payments — General: set mode to Test, enter Client ID, Client Secret, Signature Key
  3. Enable desired gateways (Slice, Credit, Business Leasing, Business Factoring, Click and Try, Direct)
  4. 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