Created
November 8, 2012 06:51
-
-
Save nukturnal/4037295 to your computer and use it in GitHub Desktop.
MPower Java 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
// Globally setting cancel URL, the piece of code below | |
// should be included with the checkout shop setup code | |
MPowerStore store = new MPowerStore() | |
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