HomeHome Product Discus... Product Discus...SmithCartSmithCartCanCan't test authorize.net - "An unexpected error occurred on a receive"
Previous
 
Next
New Post
5/1/2012 9:58 AM
 

DNN 6.1.5
Microsoft SQL Server 2005 - 9.00.3042.00
Smith Cart 4.93

 

I am getting an error whenever I try to test authorize.net. I have set up a test page with the Buy Now module, created an authorize.net test account and gave the plugin my api login, transaction key and checked the Test Mode box. I added a creditcard payment method and created a $1 product. When I go to the page with the Buy Now module, add the item to the cart, proceed to checkout, fill out all information and use the credit card #4222222222222 and submit order, I get this error (when logged in):

 

Error processing payment. Please try again. DotNetNuke.Services.Exceptions.ModuleLoadException: The underlying connection was closed: An unexpected error occurred on a receive. ---> System.Exception: The underlying connection was closed: An unexpected error occurred on a receive. at Smith.DNN.Modules.BuyNow.Confirm.PostEx(String url, NameValueCollection values) at Smith.DNN.Modules.BuyNow.Confirm.ProcessTransaction(BillingAccountInfo accountDetails, CustomerInfo customerDetails, String amount, Boolean recurring, String interval, Int32 occurances) --- End of inner exception stack trace ---
 
 
I also pulled this log from my server:

2012-05-01 10:21:26,610 [DevWeb1][Thread:5][ERROR] Smith.DNN.Modules.BuyNow.Confirm - FriendlyMessage="Error processing payment. Please try again." ctrl="ASP.desktopmodules_smith_buynow_confirm_ascx" exc="System.Exception: The underlying connection was closed: An unexpected error occurred on a receive.

   at Smith.DNN.Modules.BuyNow.Confirm.PostEx(String url, NameValueCollection values)

   at Smith.DNN.Modules.BuyNow.Confirm.ProcessTransaction(BillingAccountInfo accountDetails, CustomerInfo customerDetails, String amount, Boolean recurring, String interval, Int32 occurances)"

2012-05-01 10:21:55,580 [DevWeb1][Thread:5][ERROR] Smith.DNN.Modules.BuyNow.Confirm - FriendlyMessage="Error processing payment. Please try again." ctrl="ASP.desktopmodules_smith_buynow_confirm_ascx" exc="System.Exception: The underlying connection was closed: An unexpected error occurred on a receive.

   at Smith.DNN.Modules.BuyNow.Confirm.PostEx(String url, NameValueCollection values)

   at Smith.DNN.Modules.BuyNow.Confirm.ProcessTransaction(BillingAccountInfo accountDetails, CustomerInfo customerDetails, String amount, Boolean recurring, String interval, Int32 occurances)"

2012-05-01 10:28:57,078 [DevWeb1][Thread:5][ERROR] Smith.DNN.Modules.BuyNow.Confirm - FriendlyMessage="Error processing payment. Please try again." ctrl="ASP.desktopmodules_smith_buynow_confirm_ascx" exc="System.Exception: The underlying connection was closed: An unexpected error occurred on a receive.

   at Smith.DNN.Modules.BuyNow.Confirm.PostEx(String url, NameValueCollection values)

   at Smith.DNN.Modules.BuyNow.Confirm.ProcessTransaction(BillingAccountInfo accountDetails, CustomerInfo customerDetails, String amount, Boolean recurring, String interval, Int32 occurances)"

2012-05-01 10:32:25,303 [DevWeb1][Thread:6][ERROR] Smith.DNN.Modules.BuyNow.Confirm - FriendlyMessage="Error processing payment. Please try again." ctrl="ASP.desktopmodules_smith_buynow_confirm_ascx" exc="System.Exception: The underlying connection was closed: An unexpected error occurred on a receive.

   at Smith.DNN.Modules.BuyNow.Confirm.PostEx(String url, NameValueCollection values)

   at Smith.DNN.Modules.BuyNow.Confirm.ProcessTransaction(BillingAccountInfo accountDetails, CustomerInfo customerDetails, String amount, Boolean recurring, String interval, Int32 occurances)"

2012-05-01 10:40:19,053 [DevWeb1][Thread:6][ERROR] Smith.DNN.Modules.BuyNow.Confirm - FriendlyMessage="Error processing payment. Please try again." ctrl="ASP.desktopmodules_smith_buynow_confirm_ascx" exc="System.Exception: The underlying connection was closed: An unexpected error occurred on a receive.

   at Smith.DNN.Modules.BuyNow.Confirm.PostEx(String url, NameValueCollection values)

   at Smith.DNN.Modules.BuyNow.Confirm.ProcessTransaction(BillingAccountInfo accountDetails, CustomerInfo customerDetails, String amount, Boolean recurring, String interval, Int32 occurances)"

 

 

 

Any ideas on how to fix this?

 
 
New Post
5/1/2012 1:30 PM
 
Hi Colin,
In the SmithCart payment gateway setup which gateway have you selected from the dropdown? Is the product you are trying to purchase setup as a recurring billing product?


Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
5/1/2012 2:11 PM
 

For the Payment Gateway I have Slected Authorize.Net (AIM). The product is not recurring.

 
New Post
5/1/2012 2:51 PM
 
From the error message it looks like your dev server is having trouble establishing a connection to the gateway. Make sure that you have configured your IIS bindings to allow SSL (port 443) and also that you dont have port 443 blocked inbound and outbound for your dev server in your firewall and security software.


Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
5/2/2012 7:56 AM
 

We have all of those settings correct. We did issue our own SSL so it's not trusted. Could that be it?

 
New Post
5/7/2012 4:24 PM
 
Hi Collin,

Can you try temporarily uninstalling your SSL and testing a transaction to see if the SSL is causing this issue?

Thanks,
 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartCanCan't test authorize.net - "An unexpected error occurred on a receive"