1. Home
  2. Docs
  3. Cirilla Payment Gateway Addons
  4. Payment Gateways
  5. PayFast

PayFast

WidgetMechanismSupport
PayfastGatewayWebWebviewios, android, web

Getting started

 – Create an Payfast account to use Payfast’s services: https://www.payfast.co.za/registration

Usage

 Follow this steps:

Woocommerce website:

Add Payfast plugin to your Woocommerce:

  1. Go to WordPress Admin > Plugins > Add New from the left-hand menu
  2. In the search box type WooCommerce PayFast Gateway
  3. Click on Install now when you see WooCommerce PayFast Gateway to install the plugin
  4. Config plugin according instructions
  5. Go to Woocommerce -> Setting -> Tab Payments: enable Payfast

 Mobile app:

  1. Copy payfast_gateway package and add to packages folder in cirilla project.
  2. Import package in cirilla/pubspec.yaml

Example: 

payfast_gateway:
  path: ./packages/payfast_gateway

Then run flutter pub get in your project

  1. Add PayfastGatewayWeb(web view) to payment_method.dart file (remember import package like example)

Example:

import 'package:payfast_gateway/payfast_gateway_web.dart';

final Map<String, PaymentBase> methods = {
 PayfastGatewayWeb.key: PayfastGatewayWeb(),
};

Available Currencies

CountryAvailable Currencies
South African RandZAR 

https://support.payfast.co.za/portal/en/kb/articles/can-i-receive-payments-in-usd-eur-gbp-etc

Was this article helpful to you? Yes No

How can we help?