Magento 2
MorPOS Payment Gateway for Magento 2, to Magento 2 based stores Morpara MorPOS is a secure, flexible and easy payment gateway that integrates the payment system.
π₯ Download Plugin
You can download the MorPOS Magento 2 plugin from the link below:
π§ General Features
The module includes the following features:
Magento 2.2 and above compatible with
Hosted Payment Page
Seamless payment with embedded payment form
Multiple currencies: TRY, USD, EUR
Sandbox (test) mode
Easy configuration from the admin panel
Multi-store support
Payments for guest & registered users
CSP (Content Security Policy) compatible
API signing and security features
π Requirements
Server side:
Magento: 2.2+
PHP: 7.2+ (8.1+ recommended)
TLS 1.2 or higher
PHP extensions:
cURL,json,hash,openssl
βοΈ Installation
1) With Composer (recommended)
2) Manual
Download the ZIP file from the GitHub Releases page
Extract the module folder to app/code/MorPOS/PaymentGateway/ below
Run the activation and deployment commands β the same steps match the installation done with Composer
3) Via FTP
Upload the module files via FTP to the app/code/MorPOS/PaymentGateway/ directory and then run the Magento installation commands in the terminal.
π§ Configuration (Admin Panel)
For configuration:
Stores β Configuration β Sales β Payment Methods β MorPOS Payment Gateway
Required fields:
Merchant ID
MorPOS merchant identifier
Client ID
OAuth Client ID
Client Secret
OAuth Client Secret
API Key
MorPOS API key
Test Mode
Sandbox / Prod setting
Form Type
HPP or Embedded form
Order Status
Order status after successful payment
Minimum / Maximum Amount
Optional limits
Countries
Countries allowed for payment
π Where do you get the information? You can obtain it from the MorPOS panel or through the Morpara support team.
π Payment Flow
Customer adds a product to the cart
MorPOS method is selected at the payment step
Magento initiates the payment session with the MorPOS API
Customer is redirected to the payment page or the payment form opens in a modal
When the payment is completed MorPOS sends a callback to the store
The order is automatically updated
Customer sees the result screen
π Security Features
The module includes the following security practices:
SHA-256 signed API calls (MorPOS Docs requirement)
Client Secret & API Key are stored encrypted in the database
CSP whitelist configuration
HTTPS requirement
Sensitive data is not logged
π§ͺ Test Cards & Sandbox
The module includes sandbox support. For test card numbers and sample scenarios, see the MorPOS documentation.
π Troubleshooting
Payment method not visible?
Is the module active?
Is there a supported currency?
Is there a country / order amount restriction?
Payment cannot be initiated?
Are the credentials correct?
Is the TLS version adequate?
Is cURL installed?
Order not updated after callback?
Is the callback URL accessible?
Is there a firewall / DNS block?
π Internationalization (i18n)
The module includes Turkish and English translation files. Adding new languages is also possible.
π§© Module Structure (Important Directories)
π API Endpoints
/morpos/payment/start
POST
Start payment session
/morpos/payment/callback
POST
MorPOS callback
/morpos/payment/success
GET
Success redirect
/morpos/payment/cancel
GET
Cancel redirect
Last updated
