To post a new support question, click the Post New Topic button below.
Current Version: 4.9.2 | Sytist Manual | Common Issues | Feature Requests
Please log in or Create an account to post or reply to topics.
You will still receive notifications of replies to topics you are part of even if you do not subscribe to new topic emails.
Square Expected Integer Value Error
Bruce Pham
290 posts
Thu Sep 27, 18 7:34 PM CST
Hi Tim,
I am having an abundance of EXPECTED INTEGER VALUE ERRORS when customers check out. I contact Square and they are saying it has to with the form I'm using. Somewhere the form is not converting the final dollar amount into a whole number.
All my prices are whole numbers with no cents. Once the discounts and tax are applied then there are cents. But the cents shouldn't affect the final number sent to Square.
I'm running out of ideas as to what is causing this error and customers are opting to not place orders out of frustration. Please let me know if there is any solution.
I am having an abundance of EXPECTED INTEGER VALUE ERRORS when customers check out. I contact Square and they are saying it has to with the form I'm using. Somewhere the form is not converting the final dollar amount into a whole number.
All my prices are whole numbers with no cents. Once the discounts and tax are applied then there are cents. But the cents shouldn't affect the final number sent to Square.
I'm running out of ideas as to what is causing this error and customers are opting to not place orders out of frustration. Please let me know if there is any solution.
Bruce Pham • Forever Studio • School Pictures At Their Best
Tim - PicturesPro.com
16,247 posts
(admin)
Fri Sep 28, 18 11:16 AM CST
The total sent to square is the grand total times 100. example: $23.21 X 100 = 2321.
The only way I can see that it would not be sending a whole number is if the grand total was something like 23.215. which it shouldn't be. Are you using 4 decimal points for prices anywhere?
Many people using square and no one else if have this error.
The only way I can see that it would not be sending a whole number is if the grand total was something like 23.215. which it shouldn't be. Are you using 4 decimal points for prices anywhere?
Many people using square and no one else if have this error.
Tim Grissett, DIA - PicturesPro.com
My Email Address: info@picturespro.com
My Email Address: info@picturespro.com
Bruce Pham
290 posts
Fri Sep 28, 18 3:29 PM CST
Hey Tim,
None of my prices are 4 decimal points. They are all whole dollar amounts, no cents. I will go back through and get rid of the .00 in some of the prices to see if that helps. This is a frustrating issue and i know it's not sytist. Square doesn't seem to have a solution. I did upload and old payment.php file and that seems to help.
I myself have seen this error when trying to help a customer so I know it happens. Hopefully we can figure it out.
None of my prices are 4 decimal points. They are all whole dollar amounts, no cents. I will go back through and get rid of the .00 in some of the prices to see if that helps. This is a frustrating issue and i know it's not sytist. Square doesn't seem to have a solution. I did upload and old payment.php file and that seems to help.
I myself have seen this error when trying to help a customer so I know it happens. Hopefully we can figure it out.
Bruce Pham • Forever Studio • School Pictures At Their Best
Tim - PicturesPro.com
16,247 posts
(admin)
Sun Sep 30, 18 4:17 AM CST
If square has any logs when payment is made, see if they can tell you the amount that is actually being sent with the payment.
Removing .00 from the prices won't do anything because the database is going to save it with that anyways.
Removing .00 from the prices won't do anything because the database is going to save it with that anyways.
Tim Grissett, DIA - PicturesPro.com
My Email Address: info@picturespro.com
My Email Address: info@picturespro.com
Please log in or Create an account to post or reply to topics.
Loading more pages