Who is this for?

Store owners and developers who want to accept payments on Shopify, WooCommerce, or other e-commerce platforms using Monieswitch.

Overview

This guide covers:
  • Available integration options
  • Connecting Monieswitch to Shopify and WooCommerce
  • Using custom plugins or API integration
  • Best practices for secure payment processing

Prerequisites

1

Create Monieswitch Account

A Monieswitch account. Register at Monieswitch Dashboard.
2

Get API Key

API Key from your Monieswitch dashboard.
3

Set Up Backend Server

An e-commerce store on Shopify, WooCommerce, or another platform.

1. Integration Options

  • Use a Monieswitch payment app (if available) from the Shopify App Store. - Or, set up a custom payment gateway using Shopify’s manual payment method and your Monieswitch dashboard.

You can generate a payment link for each order and send it to your customer:
// Example: Create a payment link in PHP when an order is placed
$payload = [
  'amount' => 15000,
  'currency' => 'NGN',
  'description' => 'Order #12345',
  'customer' => [
    'email' => '[email protected]'
  ]
];
// Send this payload to the Monieswitch API as shown in previous guides

3. Example: Embedding Checkout

Embed the Monieswitch Checkout widget on your checkout page (see Checkout Integration Guide).

4. Best Practices

  • Always verify payment status via webhooks or API before fulfilling orders.
  • Secure your API keys and never expose them in frontend code.
  • Test your integration in a sandbox environment before going live.