Skip to content
This repository has been archived by the owner on Nov 18, 2021. It is now read-only.

Items not included in set_express_checkout() #7

Closed
javadecaf opened this issue Jan 23, 2012 · 0 comments
Closed

Items not included in set_express_checkout() #7

javadecaf opened this issue Jan 23, 2012 · 0 comments

Comments

@javadecaf
Copy link

First off, thanks for writing and sharing a great piece of code! In testing, I discovered that the items were not being displayed on the Express Checkout screen, a problem that was easily fixed, once I figured out how to do it. I simply copied your items processing loop from the do_direct_payment method into the set_express_checkout() method.

As a side note, I actually started with the version of the items processing loop found in do_express_checkout_payment(), but got an error because the TAXAMT NVP was missing from the output. The do_direct_payment() method included this NVP, so I used it instead, but it looks to me like TAXAMT might ought to have been included in do_express_checkout_payment() as well. I haven't completed testing on my implementation, so I don't know whether it will make any difference in my application or not. In any case, I wonder if you might want to consider moving the items processing loop to its own function, which would make problems such as this easier to fix. You may very well have good reasons for not doing it this way - just thought I'd make the suggestion. Thanks again and keep up the good work!

@drewjoh drewjoh closed this as completed Nov 5, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants