Last active
December 11, 2015 11:29
-
-
Save nukturnal/4594357 to your computer and use it in GitHub Desktop.
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
<?php | |
// Onsite Payment Request requires the mpower customer account alias as the parameter | |
if ($invoice->create("MPOWER_CUSTOMER_USERNAME_OR_PHONENO")) { | |
echo $invoice->getStatus(); | |
echo $invoice->response_text; | |
echo $invoice->getReceiptUrl(); | |
} else { | |
echo $invoice->getStatus(); | |
echo $invoice->response_text; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment