lib/veritrans/post_data.rb in veritrans-1.1.3 vs lib/veritrans/post_data.rb in veritrans-1.2.0

- old
+ new

@@ -53,11 +53,11 @@ :city, :country_code, :postal_code, :phone, :email, - :customer_specification_flag + :customer_specification_flag # billing_address_different_with_shipping_address ] # +:shipping_flag, # +:shipping_first_name, # +:shipping_last_name, @@ -67,11 +67,11 @@ # +:shipping_country_code, # +:shipping_postal_code, # +:shipping_phone, # +:shipping_method, Shipping =[ - :shipping_flag, + :shipping_flag, # required_shipping_address :shipping_first_name, :shipping_last_name, :shipping_address1, :shipping_address2, :shipping_city, @@ -100,14 +100,19 @@ # +:commodity_num,+ # +:commodity_name1,+ # +:commodity_name2+ PurchaseParam =[ :commodity_id, - :commodity_unit, - :commodity_num, + :commodity_unit, # commodity_qty + :commodity_num, # commodity_price :commodity_name1, :commodity_name2 ] + + # AliasesParam = { + # :commodity_unit => :commodity_qty, + # :commodity_num => :commodity_price + # } # +:order_id,+ # +:session_id,+ # +:merchanthash,+ # +:card_capture_flag+