X-Git-Url: https://scm.cri.mines-paristech.fr/git/photoprint.git/blobdiff_plain/bddfc31eaf67003a04f79f7cf168b8d840920fd6..1b83cf35c475d8736a960cb62e756116e99045dc:/skins/order_view.py diff --git a/skins/order_view.py b/skins/order_view.py index 5ed50bf..308844c 100755 --- a/skins/order_view.py +++ b/skins/order_view.py @@ -20,8 +20,7 @@ options['wfhistory'] = wtool.getInfoFor(context, 'review_history', 'order_workfl toBePaid = wfstate == 'recorded' if toBePaid : - paymentRequest = context.getPaymentRequest() - options['paymentRequest'] = paymentRequest + options['checkout'] = context.ppSetExpressCheckout() if cart.locked and \ cart.pendingOrderPath == context.getPhysicalPath() :