Skip to content

Commit

Permalink
Merge pull request dcramer#12 from benma/master
Browse files Browse the repository at this point in the history
Fix typo in the required fields of doExpressCheckoutPayment
  • Loading branch information
spookylukey committed Feb 27, 2014
2 parents a62207e + 4db002f commit d77a30c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paypal/pro/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d77a30c

Please sign in to comment.