Skip to content

Commit

Permalink
Fix shipping amount option in Sage gateway
Browse files Browse the repository at this point in the history
Signed-off-by: Cody Fauser <cody@jadedpixel.com>
  • Loading branch information
Darrick Wiebe authored and Cody Fauser committed Jul 12, 2008
1 parent 9ca5ac8 commit 321145b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG
@@ -1,5 +1,6 @@
= ActiveMerchant CHANGELOG

* Fix shipping amount option in Sage gateway [Darrick Wiebe]
* Improved message and error message handling [Soleone]
* Get Wirecard working in the Live environment [Soleone]
* Remove dead code in PayPal Common API files [cody]
Expand Down
2 changes: 1 addition & 1 deletion lib/active_merchant/billing/gateways/sage/sage_core.rb
Expand Up @@ -34,7 +34,7 @@ def initialize(options = {})
def add_invoice(post, options)
post[:T_ordernum] = options[:order_id].slice(0, 20)
post[:T_tax] = amount(options[:tax]) unless options[:tax].blank?
post[:T_shipping] = amount(options[:tax]) unless options[:tax].blank?
post[:T_shipping] = amount(options[:shipping]) unless options[:shipping].blank?
end

def add_reference(post, reference)
Expand Down

0 comments on commit 321145b

Please sign in to comment.