This is the Payfast module for Drupal Commerce 2.x. Please feel free to contact the Payfast support team should you require any assistance.
You will need Drupal 9 or 10 with the latest version of Drupal Commerce 2 installed.
- In your composer.json add the following under "repositories": [
{
"type": "package",
"package": {
"name": "payfast/drupalcommerce-aggregation",
"version": "1.5.0",
"type": "drupal-module",
"source": {
"url": "https://github.com/Payfast/drupalcommerce-aggregation.git",
"type": "git",
"reference": "master"
}
}
}
- In your composer.json add the following under "extra": { "installer-paths": {
"modules/commerce/modules": [
"payfast/drupalcommerce-aggregation"
]
- Require the module using composer.
composer require 'payfast/drupalcommerce-aggregation:^1.5.0'
- Log in to your Drupal Admin panel.
- Navigate to Extend and filter by Commerce Payfast Aggregation.
- Check the Checkbox and click the Install button.
- Navigate to Commerce -> Configuration -> Payment gateways and click on Add payment gateway.
- Select Payfast Aggregation and configure as required.
- Click Save.
Please click here for more information concerning this module.
Please submit pull requests with any tweaks, features or fixes you would like to share.