Mason, I noticed you were having an issue with an Invalid Amount response. I had this same problem and found that the reason is that you need to use value instead of amount. In your fps_pay method you had: :transaction_amount => Remit::RequestTypes::Amount.new(:currency_code => 'USD', :amount => amount),
It should be: :transaction_amount => Remit::RequestTypes::Amount.new(:currency_code => 'USD', :value => amount), and then it works like charm.
p.s. I really appreciate what your doing here. The remit gem has terrible documentation and I much else to try to help me understand how to use it. If you can continue with your remit_rails_example project it would be a great help to people like me who are trying to make it work with Amazon FPS.
Thanks,
Jason
Mason, I noticed you were having an issue with an Invalid Amount response. I had this same problem and found that the reason is that you need to use value instead of amount. In your fps_pay method you had: :transaction_amount => Remit::RequestTypes::Amount.new(:currency_code => 'USD', :amount => amount),
It should be: :transaction_amount => Remit::RequestTypes::Amount.new(:currency_code => 'USD', :value => amount), and then it works like charm.
p.s. I really appreciate what your doing here. The remit gem has terrible documentation and I much else to try to help me understand how to use it. If you can continue with your remit_rails_example project it would be a great help to people like me who are trying to make it work with Amazon FPS.
Thanks,
Jason