Widget | Mechanism | Support |
PayfastGatewayWeb | Webview | ios, 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:
- Go to WordPress Admin > Plugins > Add New from the left-hand menu
- In the search box type WooCommerce PayFast Gateway
- Click on Install now when you see WooCommerce PayFast Gateway to install the plugin
- Config plugin according instructions
- Go to Woocommerce -> Setting -> Tab Payments: enable Payfast
- Payfast plugin guide: https://support.payfast.co.za/portal/en/kb/articles/how-do-i-integrate-payfast-with-woocommerce
Mobile app:
- Copy payfast_gateway package and add to packages folder in cirilla project.
- Import package in
cirilla/pubspec.yaml
Example:
payfast_gateway:
path: ./packages/payfast_gateway
Then run flutter pub get in your project
- 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
Country | Available Currencies |
South African Rand | ZAR |
https://support.payfast.co.za/portal/en/kb/articles/can-i-receive-payments-in-usd-eur-gbp-etc