Last active
October 12, 2015 12:58
-
-
Save nukturnal/4030123 to your computer and use it in GitHub Desktop.
MPower PHP Checkout Invoice Return URL
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 | |
// Globally setting return URL, the piece of code below | |
// should be included with the checkout shop setup code | |
MPower_Checkout_Store::setReturnUrl("http://www.myawesomeshop.com/confirm.php"); | |
// Setting the return URL on an invoice instance. | |
// This will overwrite any global settings for return URL | |
$invoice->setReturnUrl("http://www.myawesomeshop.com/confirm.php"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment