eggification
[photoprint.git] / skins / photoprint_order_confirm.py
diff --git a/skins/photoprint_order_confirm.py b/skins/photoprint_order_confirm.py
deleted file mode 100644 (file)
index 3fe68d1..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-##parameters=token=None, PayerID=None
-# -*- coding: utf-8 -*-
-
-from Products.photoprint.utils import Message as _
-options = {}
-if token and PayerID and context.ppPay(token, PayerID) :
-    context.setStatus(True, _(u'Your payment has been accepted by PayPal.'))
-    # options['current_sell_step'] = 'confirmation'
-    return context.order_view()
-else :
-    context.setStatus(False, _('Your payment has been canceled.<br/>'
-                               'You can retry with an other account / credit card by cliking on the PayPal button.<br/>'))
-
-    return context.order_view()