cancel
Showing results for 
Search instead for 
Did you mean: 

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

Babyface
Member
1 REPLY 1

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.

Trevor
Administrator Administrator
Administrator