Integration and Testing

Authorize.Net API questions and help with your payment integration.

Reply
Contributor
Posts: 46
Registered: ‎11-11-2010

"Error connecting to AuthorizeNet", transactions over a thousand?

[ Edited ]

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!

Contributor
Posts: 46
Registered: ‎11-11-2010

Re: "Error connecting to AuthorizeNet", transactions over a thousand?

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!

Posts: 2,765
Topics: 57
Kudos: 272
Blog Posts: 67
Registered: ‎12-05-2011

Re: "Error connecting to AuthorizeNet", transactions over a thousand?

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

Contributor
Posts: 46
Registered: ‎11-11-2010

Re: "Error connecting to AuthorizeNet", transactions over a thousand?

Hi @RichardH I'm using the PHP SDK, how can I check the AuthorizeNet SDK version I'm using? Thank you!
All Star
Posts: 699
Registered: ‎11-03-2016

Re: "Error connecting to AuthorizeNet", transactions over a thousand?

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?

 

 

Contributor
Posts: 46
Registered: ‎11-11-2010

Re: "Error connecting to AuthorizeNet", transactions over a thousand?

 

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!

 

 

All Star
Posts: 699
Registered: ‎11-03-2016

Re: "Error connecting to AuthorizeNet", transactions over a thousand?

Great to hear everything's working!