Skip to content

Commit

Permalink
PayPal failed. The totals of the cart item amounts do not match order…
Browse files Browse the repository at this point in the history
… amounts. spree-contrib#129
  • Loading branch information
yushine committed Sep 14, 2015
1 parent 86985f3 commit bcc3ef2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/spree/paypal_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ def express
order = current_order || raise(ActiveRecord::RecordNotFound)
items = order.line_items.map(&method(:line_item))

additional_adjustments = order.all_adjustments.additional
additional_adjustments = order.all_adjustments
tax_adjustments = additional_adjustments.tax
shipping_adjustments = additional_adjustments.shipping

Expand Down

0 comments on commit bcc3ef2

Please sign in to comment.