Posts

Android Payment Using MTN Mobile Money, Airtel Money, Africell Mobile Money and UTL m-sente, Free Code Project

Image
Step 1:
Go to google play store and download "Easy Pay Mobile Wallet" application

Step 2:
Use the App to create your account at easy Pay, and create an Mobile Money API that will allow you to transfer money across almost all networks in Africa.

Step 3:
Create a new android Empty Activity Using your android studio, named "EasyPayApp"

Step 4:
Copy the code Below to your "MainActivity.java" File

package com.tour.easypayapp; /* * Developed by Wagaana Alex * */ import android.content.Context; import android.os.AsyncTask; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.Button; import android.widget.EditText; import org.json.JSONObject; import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.OutputStream; import java.net.HttpURLConnection; import java.net.URL; public class MainActivity extends AppCompatActivity { @Override …

In three steps Add Mobile Payments to your application using MTN Mobile Money, Airtel Money, Africell Mobile Money and UTL m-sente, Payments to your Android Application, or any other JAVA application

Image
Note 1: Mobile money is the quickest way to transfer money in Uganda and other African countries.
Note 2: Android Operating system is the most used operating system in the world.

Step 1:
Go to google play store and download "Easy Pay Mobile Wallet" application

Step 2:
Use the App to create your account at easy Pay, and create an Mobile Money API that will allow you to transfer money across almost all networks in Africa.



Step 3:
Copy the code below and add it inside tour main activity class

public static class CallAPI extends AsyncTask { private String post_url="https://www.easypay.co.ug/api/"; private String client_id="your id from the app"; private String secret="your secret from the app"; private String transaction_action="mmdeposit"; private String transaction_amount=""; private String transaction_phone=""; private String currency="UGX"; …