mirror of
https://github.com/apigy/selfstarter.git
synced 2026-01-07 21:43:50 -05:00
fixed a bug where the wrong price could get sent to amazon payments
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user