Skip to content

eMerchantPay/opencart4-emp-plugin

Repository files navigation

emerchantpay Gateway Module for OpenCart

Software License

This is a Payment Module for OpenCart, that gives you the ability to process payments through emerchantpay's Payment Gateway - Genesis.

Requirements

  • OpenCart 4.0.2.X (due to architectural changes, this module is incompatible with older OpenCart versions)
  • GenesisPHP v2.0.5 - (Integrated in Module)
  • PCI-certified server in order to use emerchantpay Direct

GenesisPHP Requirements

Installation via Extension Installer

  1. Download the emerchantpay Payment Gateway, extract the contents of the folder
  2. Create a compressed zip file of the folder upload with name emerchantpay.ocmod.zip (excluding README.md)
  3. Login inside the OpenCart Admin Panel
  4. Navigate to Extensions -> Installer and click on button Upload and choose the zip file emerchantpay.ocmod.zip
  5. Navigate to Extensions -> Payments and click install on emerchantpay Direct and/or emerchantpay Checkout
  6. Set the login credentials (Username, Password, Token) and adjust the configuration to your needs.

Enable OpenCart SSL

This steps should be followed if you wish to use the emerchantpay Direct Method.

  • Ensure you have installed a valid SSL Certificate on your PCI-DSS Certified Web Server and you have configured your Virtual Host properly.
  • Login to your OpenCart Admin Panel
  • Navigate to Settings -> your Store -> Server
  • Set Use SSL to Yes in Security tab and save your changes
  • Set the HTTPS_SERVER and HTTPS_CATALOG settings in your admin/config.php to use https protocol
  • Set the HTTPS_SERVER setting in your config.php to use https protocol
  • Set the site_ssl setting to true in your system/config/default.php file
  • It is recommended to add a Rewrite Rule from http to https or to add a Permanent Redirect to https in your virtual host

Supported Transactions & Payment Methods

  • emerchantpay Direct Payment Method

    • Authorize
    • Authorize (3D-Secure)
    • Sale
    • Sale (3D-Secure)
  • emerchantpay Checkout Payment Method

    • Apple Pay
    • Argencard
    • Aura
    • Authorize
    • Authorize (3D-Secure)
    • Baloto
    • Bancomer
    • Bancontact
    • Banco de Occidente
    • Banco do Brasil
    • BitPay
    • Boleto
    • Bradesco
    • Cabal
    • CashU
    • Cencosud
    • Davivienda
    • Efecty
    • Elo
    • eps
    • eZeeWallet
    • Fashioncheque
    • Google Pay
    • iDeal
    • iDebit
    • InstaDebit
    • InitRecurringSale
    • InitRecurringSale (3D-Secure)
    • Intersolve
    • Itau
    • Multibanco
    • MyBank
    • Naranja
    • Nativa
    • Neosurf
    • Neteller
    • Online Banking
      • Interac Combined Pay-in (CPI)
      • Bancontact (BCT)
      • BLIK (BLK)
      • SPEI (SE)
      • LatiPay (PID)
    • OXXO
    • P24
    • Pago Facil
    • PayPal
    • PaySafeCard
    • PayU
    • POLi
    • Post Finance
    • PSE
    • RapiPago
    • Redpagos
    • SafetyPay
    • Sale
    • Sale (3D-Secure)
    • Santander
    • Sepa Direct Debit
    • SOFORT
    • Tarjeta Shopping
    • TCS
    • Trustly
    • TrustPay
    • UPI
    • WebMoney
    • WebPay
    • WeChat

Note: If you have trouble with your credentials or terminal configuration, get in touch with our support team

You're now ready to process payments through our gateway.

Development

  • Install dev packages
composer install
  • Run PHP Code Sniffer
composer php-cs
  • Run PHP Mess Detector
composer php-md
  • Pack installation archive (Linux or macOS only)
composer pack