Created
November 15, 2012 22:54
-
-
Save nukturnal/4082097 to your computer and use it in GitHub Desktop.
MPower Java OPR Request
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Onsite Payment Request requires the mpower customer account alias as the parameter | |
if (invoice.create("MPOWER_CUSTOMER_USERNAME_OR_PHONENO")) { | |
System.out.println ("OPR Token" + invoice.getToken()); | |
System.out.println ("Status" + invoice.getStatus()); | |
System.out.println ("Response Message" + invoice.getResponseText()); | |
} else { | |
System.out.println("Status" + invoice.getStatus()); | |
System.out.println("Response Message" + invoice.getResponseText()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment