fixed a bug where the wrong price could get sent to amazon payments

This commit is contained in:
Jesse Grant
2013-01-14 16:52:16 -05:00
parent 45fd64e7c5
commit 7fdb605e8e

View File

@@ -25,7 +25,7 @@ class PreorderController < ApplicationController
# Then, if they confirm the payment, Amazon POSTs us their shipping details and phone number
# From there, we save it, and voila, we got ourselves a preorder!
@pipeline = AmazonFlexPay.multi_use_pipeline(@order.uuid,
:transaction_amount => Settings.price,
:transaction_amount => price,
:global_amount_limit => Settings.charge_limit,
:collect_shipping_address => "True",
:payment_reason => Settings.payment_description)