Skip to main content

Android Java

shopify

Android Java

Native Android development

Integrate Hesabe Payment Gateway into your Android application using Java. Complete encryption, API handling, and WebView integration for seamless payment processing.

📦 Kit Contents

You will find the following files in the comprehensive Android Java Kit:

🔒

HesabeCrypt.java

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

⚙️

Constants.java

Contains constants for Base URL, Merchant Code, Access Code, Secret Key & IV (used for Encryption)

🏠

MainActivity.java

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

🌐

WebViewActivity.java

Contains the Android WebView which uses webkit engine to display Hesabe Payment page in android activity.

🔌

ApiInterface.java

Use to invoke checkout endpoint of Hesabe API

🔄

RetrofitClientInstance.java

Used to create instance of Retrofit for API communication

📦 Required Libraries

📦

Retrofit Library

You will need to include Retrofit - a type-safe REST client for Android and Java that helps to consume RESTful web services.

📥 Download & Support

📦

Download Kit

Complete Android Java integration kit with examples

🔧

Technical Support

For technical integration assistance