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

PayStack Gateway

WidgetMechanismSupport
PayStackGatewayNative libraryios, android
PayStackGatewayWebWebviewios, android, web

Getting started

 – Create an PayStack account to use PayStack’s services: https://paystack.com/

Usage

 Follow this steps:

Woocommerce website:

Add PayStack plugin to your Woocommerce:

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

PayStack plugin guide: https://wordpress.org/plugins/woo-paystack/#installation

 Mobile app:

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

Example: 

paystack_gateway:
  path: ./packages/paystack_gateway

Then run flutter pub get in your project

  1. Add PayStackGateway(native view) or PayStackGatewayWeb(web view) to cirilla/lib/payment_method.dart file ( use only one of them and remember import package like example)

Example:

import 'package:paystack_gateway/paystack_gateway.dart';

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

Or

import 'package:paystack_gateway/paystack_gateway_web.dart';

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

Available Currencies

CountryAvailable Currencies
GhanaGHS
NigeriaNGN, USD
South AfricaZAR

https://support.paystack.com/hc/en-us/articles/360009973779-What-currency-is-available-to-my-business-

Was this article helpful to you? Yes No

How can we help?