IOS

Integrate Hesabe Payment Gateway into your iOS application using Swift. Modern encryption, networking, and WebView integration for seamless payment processing.

IOS Integration Steps

You will find the following files in the comprehensive iOS Swift Kit:

HesabeCrypt.swift

Used for encryption & decryption of Request & Response packets. Use encrypt() function for encrypting the packet and decrypt() for decrypting.

HesabeModels.swift

Contains models (structs) for Request and Response data structures

Constants.swift

Contains constants for API Endpoint URLs, Access Code, Secret Key, IV, Merchant Code, and Response URLs

HesabeGatewayVC.swift

Provides guidance on how to invoke the Checkout API to integrate with Hesabe Payment API 2.0 and redirect to Payment URL.

ViewController.swift

Calls HesabeGatewayVC, creates and sends PaymentRequest object, handles Response.

Download Kit

Complete iOS Swift integration kit with examples

Example KitDownload Link
Download IOS Swift KitClick here