Skip to content
Zohaib edited this page Apr 4, 2023 · 1 revision

This page describes the ExpressPay Flutter SDK Setup guide.

1. Info Setup

You should get the following information from the administrator to begin working with the Payment Platform.

Info Description
CLIENT_KEY Unique key to identifying the account in Payment Platform (used as request parameter)
CLIENT_PASS Password for Client authentication in Payment Platform (used for calculating hash parameter)

Where to get this information? Follow the introduction guide.

2. iOS Setup

The ExpressPay Flutter SDK credentials are the mirror of the Payment Platform fields. See above.

  1. Call the SDK initialization in the main.dart or any part of your code before start payment process:
ExpresspaySdk.instance.config(
  key: MERCHANT_CLIENT_KEY, 
  password: MERCHANT_CLIENT_PASSWORD, 
  enableDebug: true
);

One more thing

  1. In case the SDK is not initialized the SDK will through the exception "SDK is not configured".

  2. To use the testing environment, please use test cards.

ExpressPay

The ExpressPay Flutter SDK - https://expresspay.sa

Clone this wiki locally