def transaction_details(amount, creditcard, gateway_options)
      { 'Description' => gateway_options[:customer],
        'Amount' => double_money(amount),
        'Tax' => double_money(gateway_options[:tax]),
        'Subtotal' => double_money(gateway_options[:subtotal]),
        'Shipping' => double_money(gateway_options[:shipping]),
        'Discount' => double_money(gateway_options[:discount]),
        'OrderID' => gateway_options[:order_id] }
    end
def transaction_details(amount, creditcard, gateway_options)
      { 'Description' => gateway_options[:customer],
        'Amount' => double_money(amount),
        'Tax' => double_money(gateway_options[:tax]),
        'Subtotal' => double_money(gateway_options[:subtotal]),
        'Shipping' => double_money(gateway_options[:shipping]),
        'Discount' => double_money(gateway_options[:discount]),
        'OrderID' => gateway_options[:order_id] }
    end
http://wiki.usaepay.com/developer/soap-1.4/objects/transactiondetail