Magento Integration

MISpay offers a dedicated module for Magento, providing a robust and scalable solution for merchants using this powerful e-commerce platform.

📦 What It Does:

This Magento 2 extension allows merchants to offer MISPay’s BNPL (Buy Now, Pay Later) service during checkout. It integrates MISPay as a custom payment gateway, so customers can choose to pay in installments via MISPay.


🚀 Step-by-Step Installation Guide

✅ Step 1: Installation
composer require mispay/mispay-magento2-payment-method
bin/magento setup:upgrade

To enable it MISPay\_MISPayMethod;
bin/magento module:enable MISPay\_MISPayMethod
⚙️ Step 2: Configure Sandbox Settings in Admin
  1. Log in to Magento Admin
  2. Navigate to: Stores → Configuration → Sales → Payment Methods
  3. Locate MISPay
  4. Set:
    1. Enabled: ✅ Yes
    2. Test Mode: Yes
    3. API Keys: Enter sandbox credentials provided by MISPay (App ID, App Secret, and Widget Access Code)
  5. Click Save Config
  6. Run cache flush:
php bin/magento cache:flush
🧪 Step 3: Test in Sandbox Mode
  1. Go to your storefront.

  2. Add product to the cart.

  3. Proceed to checkout.

  4. Select MISPay as the payment method

    Test Credentials

    after completing setup, please notify MISpay support team, so they can provide you with:

    • test phone number with static otp
    • test credit card with static otp
  5. Complete the transaction, and try multiple senarios.

🌍 Step 4: Switch to Live Environment

once you complete your testing in the Sandbox enviroment. you can now enable MISpay on production:

  1. Go to: Stores → Configuration → Sales → Payment Methods → MISPay
  2. Set:
    • Test Mode: Yes
    • API Keys: Use live credentials from MISPay (App ID, App Secret, and Widget Access Code)
    • Enable: Yes
  3. Save configuration.
⚠️ Final Steps Before Launch
  • Ensure order statuses are syncing correctly
  • Check that the success/cancel URLs redirect properly