projects
/
photoprint.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
localisation++
[photoprint.git]
/
skins
/
photoprint_order_cancel.py
1
##parameters=token=None
2
from
Products
.
photoprint
.
utils
import
Message
as
_
3
if
token
:
4
context
.
ppCancel
(
token
)
5
context
.
setStatus
(
False
,
_
(
'Your payment has been canceled. You can retry later.'
))
6
return
context
.
order_view
()