Mobile SDKs


The PayFORT Mobile SDK allows you to securely integrate the payment functions. It also allows you to easily accept In-App payments. Instead of the traditional, time-consuming, and complex way of being redirected to the mobile browser to complete the payment, In-App payments can be completed through our FORT Mobile SDK. In turn, this gives the your customers a smooth, pleasing user-experience by using In-App payment functions through the native applications.

Features of PayFort SDKs



Mobile SDK Integration Workflow

mobilesdk workflow

When your customer initiates the payment on your merchant app, your app requests Payfort server for a new token every time, then process the customer's payment. When PayFort server sends a successful response to your site your backend is notified of successful payment and your backend server confirms the same with Payfort server.

Here is the description of mobile sdk integration workflow:

  1. The Merchant’s application initiates the FORT Mobile SDK and passes the parameters to the FORT Mobile SDK.
  2. The FORT Mobile SDK starts a secure connection and passes the received parameters to the FORT API to be validated.
  3. The FORT API returns the validation response.
  4. The FORT Mobile SDK submits the cardholder’s data to the FORT API to process the order.
  5. The FORT API validates and processes the order with the third parties.
  6. The FORT API returns the FORT response.
  7. The FORT Mobile SDK returns the response to the corresponding callback method.

For more details on PayFORT Android SDK Integration visit this link

For more details on PayFORT iOS SDK Integration visit this link

Mobile SDK Libraries


You can download the two available FORT mobile sdk libraries from this section.

iOS

The FORT Mobile SDK supports all devices running iOS 8+

Get Started

SDK 2.1 for iOS

Android

The FORT Mobile SDK supports all devices running Android 4.1.x (API level 16).

Get Started

SDK 1.5 for Android


Mobile SDK Token



SDK Token Endpoints

Sandbox

POST  https://sbpaymentservices.payfort.com/FortAPI/paymentApi

Live

POST  https://paymentservices.payfort.com/FortAPI/paymentApi

SDK Token Request


Placeholder for sample code.

You can check out the full list of parameters that are required for SDK Token request by visiting this link

SDK Response


Placeholder for sample JSON response.

Go to Full API


Check out our full API by visiting this link

Check out iOS integrations by visiting this link

Check out Android integrations by visiting this link

Need further help?


Thanks for using PayFort.com. If you need any help or support, then message our support team at support@payfort.com.