Skip to content

Commit

Permalink
use proper _total methods of Order model, include tax_total as tax_cart
Browse files Browse the repository at this point in the history
  • Loading branch information
tomash committed Nov 16, 2010
1 parent 7cb9aee commit 5b07492
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/views/checkout/_paypal_checkout.html.erb
Expand Up @@ -19,7 +19,8 @@
<!-- input id="amount" name="amount" type="hidden" value="58.97" /-->

<input id="currency_code" name="currency_code" type="hidden" value="<%= Spree::Paypal::Config[:currency_code] %>" />
<input id="handling_cart" name="handling_cart" type="hidden" value="<%= @order.shipment_cost %>" />
<input id="handling_cart" name="handling_cart" type="hidden" value="<%= @order.ship_total %>" />
<input id="tax_cart" name="tax_cart" type="hidden" value="<%= @order.tax_total %>" />

<!-- <input name="no_shipping" type="hidden" value="1" /> -->

Expand Down

0 comments on commit 5b07492

Please sign in to comment.