Skip to content

Instantly share code, notes, and snippets.

@nukturnal
Created November 8, 2012 06:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nukturnal/4037295 to your computer and use it in GitHub Desktop.
Save nukturnal/4037295 to your computer and use it in GitHub Desktop.
MPower Java Checkout Invoice Cancel URL
// 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