Skip to content
Advertisement

Stripe checkout is not working

We are use stripe payments method in a php script. We are getting the following error:

JavaScript

Please suggest how we can fix it

Advertisement

Answer

You created the charge with amount=1. As the error message explicitly says, the minimum amount is 50 cents. All amounts in Stripe’s API are in cents, so amount must be at least 50 when creating a charge.

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement