Skip to content

Commit d77a30c

Browse files
committed
Merge pull request dcramer#12 from benma/master
Fix typo in the required fields of doExpressCheckoutPayment
2 parents a62207e + 4db002f commit d77a30c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

paypal/pro/helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def doExpressCheckoutPayment(self, params):
120120
Check the dude out:
121121
"""
122122
defaults = {"method": "DoExpressCheckoutPayment", "paymentaction": "Sale"}
123-
required = ["returnurl", "cancelurl", "amt", "token payerid"]
123+
required = ["returnurl", "cancelurl", "amt", "token", "payerid"]
124124
nvp_obj = self._fetch(params, required, defaults)
125125
if nvp_obj.flag:
126126
raise PayPalFailure(nvp_obj.flag_info)

0 commit comments

Comments
 (0)