Integration and Testing

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

Reply
Member
Posts: 1
Registered: ‎09-29-2011

Problem when processing credit card payment on test gateway.

I have implemented the AIM using VB.net.  I am testing on local host  (x_test_request = false and URL = https://test.authorize.net/gateway/transact.dll) opening the page with HTTP and everything works well when I process a credit card payment (using Net.HttpWebRequest).

 

The problem comes when I try to do the same from my external server.

 

I get the following exertion:

 

System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure……….

 

 

I am using self-signed certificate, I have opened the page with HTTP and HTTPS and still get the same exception.

 

Why does it work on local host and not on external server? 

Does authorize.net allow self-signed certificate when testing?

 

Any help is much appreciated.

 

Thanks

Administrator
Posts: 591
Registered: ‎08-21-2009

Re: Problem when processing credit card payment on test gateway.

This error probably indicates that your external server isn't up to date on root SSL certificates.  You'll want to talk to the server administrator to make sure that they can recognize the certificates on Authorize.Net.