From 4db002f15ca12cccae0d56684db199b38da55d53 Mon Sep 17 00:00:00 2001 From: Marko Bencun Date: Thu, 27 Feb 2014 16:22:55 +0100 Subject: [PATCH] Fix typo in the required fields of doExpressCheckoutPayment ("token payerid"). --- paypal/pro/helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paypal/pro/helpers.py b/paypal/pro/helpers.py index 0154ee2..cce8137 100644 --- a/paypal/pro/helpers.py +++ b/paypal/pro/helpers.py @@ -120,7 +120,7 @@ def doExpressCheckoutPayment(self, params): Check the dude out: """ defaults = {"method": "DoExpressCheckoutPayment", "paymentaction": "Sale"} - required = ["returnurl", "cancelurl", "amt", "token payerid"] + required = ["returnurl", "cancelurl", "amt", "token", "payerid"] nvp_obj = self._fetch(params, required, defaults) if nvp_obj.flag: raise PayPalFailure(nvp_obj.flag_info)