Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

invalid amount issue resolved #1

Open
bellowsj opened this issue Mar 25, 2011 · 0 comments
Open

invalid amount issue resolved #1

bellowsj opened this issue Mar 25, 2011 · 0 comments

Comments

@bellowsj
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant