I have a stripe account and am using the test API keys.
I have created a Plan with following info -
{
"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'm using checkout.js in my project. Once all the data is filled and we click on pay for the above plan, it raises an error 'Invalid Integer 994.999999999'.
This error is not raised for the $9.94, $9.96, $29.95 and other values tried by me.
Is this a checkout bug or something to do with my settings ??
Screenshot of the error -
jsfiddle reproducing the error - http://jsfiddle.net/f30z9uc6/2/