Opencart
MorPOS for OpenCart, for OpenCart 4.x stores Morpara MorPOS is a secure and easy-to-use payment gateway plugin that integrates the payment system. Customers are redirected through a secure Hosted Payment Page (HPP) flow or Embedded Payment Form can use.
π¦ Versions
OpenCart 4.x: 4.x branch
OpenCart 3.x: 3.x branch
OpenCart 2.3.x: 2.3.x branch
OpenCart 2.x: 2.x branch
ZIP files are suitable for OpenCart admin panel or manual installation.
β¨ Features
π OpenCart Integration: Seamlessly adds MorPOS as a payment method for OpenCart 4.x
π Secure Payments: Hosted Payment Page (HPP) and Embedded Payment Form
π Multi-Currency: TRY, USD, EUR
π³ Multiple Payment Options: Credit cards, debit cards and installment payments
π§ͺ Test Mode: Sandbox for development/testing
π§ Easy Configuration: Connection test and admin panel
π‘οΈ Security Features: TLS 1.2+, signed API communication, cart/order verification
π Multi-Language: Turkish and English support
π Requirements
Server Requirements
OpenCart
4.0
4.1.0.3
PHP
8.0
8.2+
TLS
1.2
1.3
PHP Extensions
cURLjsonhashopenssl
OpenCart Features
Admin Panel Access
Database Access
HTTPS recommended
Session SameSite Policy: 'Lax'
π Installation
Method 1: Extension Installer (Recommended)
Download the ZIP file via GitHub Releases download
OpenCart β Extensions β Installer β Upload ZIP
Extensions β Payments β MorPOS Payment Gateway β Install
Edit β Enter credentials β Test Connection β Save
Method 2: Manual Installation (Developers)
Method 3: FTP Upload
Download and extract the ZIP file
upload/upload the contents to the OpenCart root directoryFollow the steps in Method 2
βοΈ Configuration
Extensions β Payments β MorPOS Payment Gateway β Edit
Fill in the required fields:
Merchant ID
The merchant ID you received from MorPOS
12345
Client ID
OAuth client identifier
your_client_id
Client Secret
OAuth client secret key
your_client_secret
API Key
API authentication key
your_api_key
Test Mode (Sandbox): Enable for development/testing
Form Type: Hosted (recommended) or Embedded
Order Status: Set successful/failed order statuses
Test Connection β A green confirmation should appear β Save
π§ Payment Flow
Customer reviews products in the cart
Proceeds to checkout and selects MorPOS
System verifies the cart and creates the order
Hosted: Redirected to the MorPOS page
Embedded: Form is loaded within the page
Callback is received from MorPOS β Order status is updated
Customer sees the success/failure page
π οΈ Debugging
Use test cards and sandbox mode
Check payment flows step by step
Troubleshooting tables: TLS, PHP, OpenCart version
π Internationalization
Turkish (tr-tr) and English (en-gb)
To add a new language, copy and translate the language files
π€ Contributing
Fork the repo β Make changes β Pull Request
Follow coding standards: PSR-4, PHPDoc
Test: Installation, payment flows, multi-currency, security, compatibility
π License
MIT License - details in LICENSE
π Support
Last updated
