I have a stripe account and am using test API keys.
I created a plan with the following information -
{ "amount": 995, "created": 1418800758, "currency": "usd", "id": "c06e1791-1c6a-45fe-9c26-8f0c07dda967", "interval": "month", "interval_count": 1, "livemode": false, "metadata": {}, "name": "Pro2", "object": "plan", "statement_description": null, "statement_descriptor": null, "trial_period_days": null }
I am using checkout.js in my project. As soon as all the data is completed and we click on the payment of the above plan, the error "Invalid Integer 994.999999999" occurs.
This error does not occur for $ 9.94, $ 9.96, $ 29.95 and other values ββthat I used.
Is it a validation error or something to do with my settings?
Screenshot with error -

jsfiddle reproduces the error - http://jsfiddle.net/f30z9uc6/2/
source share