Hi,
I have no problem authorizing values under a thousand; however, I'm trying to authorize an amount over a thousand and I keep getting this "Error connecting to AuthorizeNet" in my log files.
This is what my "sandbox" account log file shows, but the same thing happens in "production".
starting authroize Transaction : 06:47:29 transaction_type:AuthOnly customerProfileId:31896825 customer_payment_profile_id:32624126 transaction_id: amount:1041.1999|-| card_type: error_message:Error connecting to AuthorizeNet
Does anyone know why I can't connect to AuthorizeNet when I'm doing a transaction over a thousand?
Thank you!
12-01-2016 11:08 PM - edited 12-01-2016 11:09 PM
I thought this was an issue with a "maximum transaction limit" setup on my account but I just tried submitting a transaction over a thousand using the "Virtual Terminal" on both my "production / sandbox" accounts and it get's submitted successfully.
This being the case, I guess there has to be an issue with submitting this request to the AuthorizeNet API; maybe it's the way the "amount" is listed/formated in the API request on transactions over a thousand?
Thank you!
12-02-2016 07:39 AM
Hello @olimits7
An amount above $1000.00 should not cause this problem. Are you connecting to the API or using an SDK? If an SDK, which language platform and version?
Richard
12-02-2016 07:39 AM
12-02-2016 07:59 AM
Hi @olimits7
You can query the version in the ANetEnvironment class, or just find the version string in the ANetEnvironment.php file (buried in vendor/authorizenet/authorizenet/lib/net/authorize/api/constants/)
I too am concerned about the formatting of the amount in your log, particularly the number of digits after the decimal. Can you log what amount you're passing in to the function before the transaction gets sent and see if it's formatted that way before the transaction request is built?
12-02-2016 09:57 AM
Well, we figured out the issue...we were sending the amount with a comma; so when we sent "1,000" it wouldn't work but "1000" worked. #foreheadsmack haha.
Thank you!
12-02-2016 10:06 AM
Great to hear everything's working!
12-02-2016 11:00 AM