Skip to content

Latest commit

 

History

History
36 lines (21 loc) · 1.16 KB

README.md

File metadata and controls

36 lines (21 loc) · 1.16 KB

Payfast payment gateway for Craft Commerce

This plugin provides a Payfast integration for Craft Commerce.

Requirements

This plugin requires Craft 3.6 and Craft Commerce 3.3 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 Payfast 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 wearechilli/commerce-payfast

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

Setup

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

Tip: The API Key settings can be set to environment variables. See Environmental Configuration in the Craft docs to learn more about that.