tangentlabs/django-oscar-paypal — pull request #6 by elbaschid (2012-11-14 01:06:59+00:00)
Title: Fix issues with discounted items in expres

The indiviual line item price in paypal express is not taking discounts into account. This causes PayPal to reject the requested payment because all it requires the sum of all line prices to be equal to the basket total excluding shipping.

I fixed the gateway to use the correct property of the line item to get the price incl. tax and discounts.

In addition, I found an issue (running the tests) with the ``create_shipping_address`` method that has a different signature from the base class mixin. I corrected the signature assuming that overwriting the existing method is correct.

Cheers,
Seb