Skip to content
This repository has been archived by the owner on Sep 10, 2019. It is now read-only.

stripe gateway error #42

Open
quake opened this issue Feb 2, 2017 · 2 comments
Open

stripe gateway error #42

quake opened this issue Feb 2, 2017 · 2 comments

Comments

@quake
Copy link

quake commented Feb 2, 2017

Hi, installed solidus_gateway gem version 1.1.1, got this error message when submitting a payment request to stripe

Amount must be at least 50 JPY

I've confirmed that the total amount of order is 2000 JPY, could you help to check?

@Senjai
Copy link
Contributor

Senjai commented Feb 2, 2017

Hi @quake, I haven't worked with Yen with Stripe.

I'm unsure how to help you debug your problem with the information provided. I'd verify that the amount going to stripe is correct. You can do this by placing a binding.pry in the stripe gateway in your local development environment, right before it's sent. You can then inspect the payload being sent to stripe.

If the data is correct, you will need to contact Stripe.
If the data is incorrect, please reply with more details.

See https://learn.co/lessons/debugging-with-pry if you're not familiar with

@quake
Copy link
Author

quake commented Feb 2, 2017

I think that it's related to activemerchant/active_merchant#1148
will check the code internal later, thanks @Senjai

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

No branches or pull requests

2 participants