spree-contrib/better_spree_paypal_express — pull request #120 by IrvinFan (2014-08-20 20:53:35+00:00)
Title: Only include additional adjustments so that total matches to get thr...

...ough PaypalExpress checkout

When a tax rate is inclusive (included in price) the current code still include the adjustments and send it to PaypalExpress API. Paypal will reject the transaction because subtoal + adjustments doesn't match the order total.

The fix in this PR excludes included_adjustments (tax and shipping) so that the total matches.