This plugin provides a Payfast integration for Craft Commerce.
This plugin requires Craft 3.6 and Craft Commerce 3.3 or later.
You can install this plugin from the Plugin Store or with Composer.
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.
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
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.