mwanziamutua/commerce-ipayafrica

iPayAfrica integration for Craft Commerce 4.0+

v1.0.0 2023-02-03 09:30 UTC

This package is auto-updated.

Last update: 2024-12-24 16:23:55 UTC


README

iPayAfrica for Craft Commerce icon

iPayAfrica for Craft Commerce

This plugin provides a iPayAfrica integration for Craft Commerce.

Requirements

This plugin requires Craft 4.0 and Craft Commerce 4.0 or later.

Installation

You can install this plugin from the Plugin Store or with Composer.

From the Plugin Store

Go to the Plugin Store in your project’s Control Panel and search for “iPayAfrica for Craft Commerce”. Then click on the “Install” button in its modal window.

With Composer

Open your terminal and run the following commands:

# go to the project directory
cd /path/to/my-project.test

# tell Composer to load the plugin
composer require mwanziamutua/commerce-ipayafrica

# tell Craft to install the plugin
./craft install/plugin commerce-ipayafrica

Setup

To add a iPayAfrica payment gateway, go to Commerce → Settings → Gateways, create a new gateway, and set the gateway type to “iPayAfrica”.

Tip: The username is the Vendor ID provided to you by iPayAfrica during registration and password is the hash key you generated in your dashboard. These settings can be set to environment variables. See Environmental Configuration in the Craft docs to learn more about that.