Opencart

OpenCart SΓΌrΓΌmΓΌarrow-up-right PHP SΓΌrΓΌmΓΌarrow-up-right Lisans

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


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

Component
Minimum
Recommended

OpenCart

4.0

4.1.0.3

PHP

8.0

8.2+

TLS

1.2

1.3

PHP Extensions

  • cURL

  • json

  • hash

  • openssl

OpenCart Features

  • Admin Panel Access

  • Database Access

  • HTTPS recommended

  • Session SameSite Policy: 'Lax'


πŸš€ Installation

  1. Download the ZIP file via GitHub Releasesarrow-up-right download

  2. OpenCart β†’ Extensions β†’ Installer β†’ Upload ZIP

  3. Extensions β†’ Payments β†’ MorPOS Payment Gateway β†’ Install

  4. Edit β†’ Enter credentials β†’ Test Connection β†’ Save

Method 2: Manual Installation (Developers)

Method 3: FTP Upload

  1. Download and extract the ZIP file

  2. upload/ upload the contents to the OpenCart root directory

  3. Follow the steps in Method 2


βš™οΈ Configuration

  1. Extensions β†’ Payments β†’ MorPOS Payment Gateway β†’ Edit

  2. Fill in the required fields:

Field
Description
Example

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

  1. Test Mode (Sandbox): Enable for development/testing

  2. Form Type: Hosted (recommended) or Embedded

  3. Order Status: Set successful/failed order statuses

  4. Test Connection β†’ A green confirmation should appear β†’ Save


πŸ”§ Payment Flow

  1. Customer reviews products in the cart

  2. Proceeds to checkout and selects MorPOS

  3. System verifies the cart and creates the order

  4. Hosted: Redirected to the MorPOS page

  5. Embedded: Form is loaded within the page

  6. Callback is received from MorPOS β†’ Order status is updated

  7. 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

  1. Fork the repo β†’ Make changes β†’ Pull Request

  2. Follow coding standards: PSR-4, PHPDoc

  3. Test: Installation, payment flows, multi-currency, security, compatibility


πŸ“„ License

MIT License - details in LICENSE


πŸ†˜ Support

Last updated