> ## Documentation Index
> Fetch the complete documentation index at: https://docs.monieswitch.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Integrating Monieswitch with E-commerce Platforms

> Step-by-step instructions for connecting Monieswitch to Shopify, WooCommerce, or other e-commerce platforms.

### Who is this for?

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

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

<Steps>
  <Step title="Create Monieswitch Account">
    **A Monieswitch account**. Register at [Monieswitch
    Dashboard](https://dashboard.monieswitch.com/register).
  </Step>

  <Step title="Get API Key">
    **API Key** from your Monieswitch dashboard.
  </Step>

  <Step title="Set Up Backend Server">
    **An e-commerce store** on Shopify, WooCommerce, or another platform.
  </Step>
</Steps>

## 1. Integration Options

<Tabs>
  <Tab title="Shopify">
    * 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.
  </Tab>

  <Tab title="WooCommerce">
    * Install the Monieswitch WooCommerce plugin (if available).
    * Or, use the WooCommerce REST API and Monieswitch API to automate order payment and
      reconciliation.
  </Tab>

  <Tab title="Other Platforms">
    * Use Monieswitch’s API to create payment links or embed checkout in your
      custom store.
    * Integrate using platform-specific plugins or scripts.
  </Tab>
</Tabs>

## 2. Example: Using Payment Links

You can generate a payment link for each order and send it to your customer:

```php theme={"system"}
// Example: Create a payment link in PHP when an order is placed
$payload = [
  'amount' => 15000,
  'currency' => 'NGN',
  'description' => 'Order #12345',
  'customer' => [
    'email' => 'customer@example.com'
  ]
];
// 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](/guides/integrate-monieswitch-checkout-web).

***

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

***

<Success>
  Visit our [Support](/help/support) page or join the [Monieswitch
  Community](https://slack.com) for assistance.
</Success>
