Désactivation d'options obsolètes.
[photoprint.git] / skins / photoprint_order_cancel.py
diff --git a/skins/photoprint_order_cancel.py b/skins/photoprint_order_cancel.py
new file mode 100644 (file)
index 0000000..d5b5f81
--- /dev/null
@@ -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