What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.
We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.
Payment Error CodeAsked by gkriegs on April 30, 2013 at 11:43 PM
I am using stripe for CC payment, and I receive the following error on submit:Oops!Invalid amount. Amount must be a positive integer in cents.
Details: File: /www/v3/builds/fbd8319db10242573c1e12f80248ff87364bf032/lib/classes/Payments/Stripe/Stripe/ApiRequestor.php Line: 114
I can see the transactions on my stripe dashboard, and I've confirmed that the submit action is meant to take the user to a specific URL.
Any chance you could help me with this error?
style size font positive
This is another case with our Stripe Integration as I can't find any similar to our Support Forum. Can you please try to round up 19.99$ to 20$. See if the amount causing to happen. Also, please make sure that you're live Stripe API Keys and your account are set to Live Mode.
Waiting for the output with amount - so I can forward this to our developers.
Thanks for the help.
I'm thinking it might have something to do with test vs. live mode. After receiving your mail, I put both my stripe account and my jotform in live mode, and attempted to use the 4242424242424242 credit card. Here's the error I received...Oops!We couldn't charge this card because its Stripe token was created with an API key in test mode and now a charge is being attempted with an API key in live mode. If you'd like to charge this card, you should use a live API key to store the card. If you just want to test, you should use a test API key to charge the card. You can manage your API keys at https://manage.stripe.com/account/apikeys. If you have any questions, we can help at https://support.stripe.com/.Details: File: /www/v3/builds/69426dbdd25871dfe9507e7b0950f5f1d2b41253/lib/classes/Payments/Stripe/Stripe/ApiRequestor.php Line: 114
I am thinking the same. When you're paying using Valid Credit/Debit Cards, you should get and set the Live API Keys and set your Stripe account to "Live" mode.
When you want to test a transaction, use the Test API Keys and set your account to "Test" mode and use the Test Card we provide on the setup page which is 4242424242424242.
So, I guess everything was sorted now? Please confirm.