vcatalano / py-authorize

A full-featured Python API for the Authorize.net payment gateway.
MIT License
42 stars 35 forks source link

Treat lineItems as a nested list field #46

Closed karjaneth closed 8 years ago

karjaneth commented 9 years ago

Line items are returned as part of the transaction detail object, and there can be 0 or more line item objects. Current functionality works properly for 0 or 1 line item, but if there are >1 line items the other line items are ignored silently. Simply adding lineItems to this list fixes it for me, and I believe this is the appropriate way to do this (although obviously I defer to the maintainers).

(off subject, this is literally the first time I've done a pull request on github, so if my etiquette is bad, please let me know)

vcatalano commented 8 years ago

Manually merged in changes.