/mod-drupalcommerce

Payfast Drupal Commerce Module

Primary LanguagePHPGNU General Public License v2.0GPL-2.0

mod-drupalcommerce

Payfast module v1.4.0 for for Drupal Commerce 2.x

This is the Payfast module for Drupal Commerce 2.x. Please feel free to contact the Payfast support team should you require any assistance.

Installation

You will need Drupal 9 or 10 with the latest version of Drupal Commerce 2 installed.

Option 1 - Manual install

  1. Unzip and copy the payfast folder to the /modules/contrib/commerce/modules directory.
  2. Log into the admin dashboard and install Commerce Payfast on the Extend page.
  3. Navigate to Commerce -> Configuration -> Payment gateways and click on Add payment gateway.
  4. Select Payfast and configure as required.
  5. Click Save.

Option 2 - Automatic install

  1. In your composer.json add the following under "repositories": [
{ "type": "package", "package": { "name": "payfast", "version": "1.4.0", "type": "drupal-module", "source": { "
   url": "https://github.com/Payfast/mod-drupalcommerce.git", "type": "git", "reference": "master" } } },
  1. In your composer.json add the following under "extra": { "installer-paths": {
"modules/commerce/modules": [ "payfast" ]
  1. Require the module using composer.

composer require 'payfast:^1.4.0'

Please click here for more information concerning this module.

Collaboration

Please submit pull requests with any tweaks, features or fixes you would like to share.