X-Git-Url: https://scm.cri.ensmp.fr/git/photoprint.git/blobdiff_plain/3c2f6847f02b7dc0b60fa586837e16635cef32cc..46df770d58b2dbf154a3da4d62d82ae30d39bc86:/skins/photoprint_order_cancel.py diff --git a/skins/photoprint_order_cancel.py b/skins/photoprint_order_cancel.py new file mode 100644 index 0000000..d5b5f81 --- /dev/null +++ b/skins/photoprint_order_cancel.py @@ -0,0 +1,6 @@ +##parameters=token=None +from Products.photoprint.utils import Message as _ +if token : + context.ppCancel(token) +context.setStatus(False, _('Your payment has been canceled. You can retry later.')) +return context.order_view() \ No newline at end of file