solidus_gateway icon indicating copy to clipboard operation
solidus_gateway copied to clipboard

stripe gateway error

Open quake opened this issue 8 years ago • 2 comments

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?

quake avatar Feb 02 '17 06:02 quake

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

Senjai avatar Feb 02 '17 10:02 Senjai

I think that it's related to https://github.com/activemerchant/active_merchant/pull/1148 will check the code internal later, thanks @Senjai

quake avatar Feb 02 '17 11:02 quake