You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: