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