Check Mobile App
Read now
Start a Project

IPay88 Payment Gateway into Android

Save

In this article, we are going to learn how we can integrate the IPay88 payment gateway into android.

We are going to do this step by step

1. First, you need to download the .jar or .aar file of the SDK. Download the IPay88 SDK from this link.

2. Once downloaded you need to place the SDK in the libs folder and update your app level gradle file to read the SDK.

ipay88 payment gateway into android.
sdk location

3. Now we need to initialize the payment.

IPay88Data.kt class

Now we need to instantiate the payment process.

Here ResultDelegate class is responsible for the result (i.e success, failed, cancelled etc)

ResultDelegate.kt class

Create static variables to keep track of the result state i.e success, failed, canceled etc.

4. We also need to declare the IPayActivity in the manifest as well.

Add the following line in your Manifest file under the application tag.

Note: If you have declared minSdk to 21 then you might get the following error.

ipay88 error on higher android version

To fix the above issue add this line in your Manifest file under the application tag

5. Once your payment is initiated you should see a screen like this.

payment screen

6. Finally manage the different cases using static variables that we have created earlier.

I hope this blog will help you to understand how we can integrate IPay88 into android.

Enjoy this blog, head over here to read more android related blogs.

. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


Be the first to comment.

css.php

When I think in getting solutions for my Ecommerce Platform, I think of Webkul. They have been such a blessing in our business. We have spent thousands of dollars in support and modules from them. We love their support team. They work very closely with us, and they always go the extra mile when we need help.

Michael Urresta

Michael Urresta

Talk to Sales

Global

Live Chat
Start a Project

    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home