Hi,
I am using the C# - SDK sample code with few adjust to integrate in a customer's website. Code works very well in Sandbox, using my developer credentials. Then, when I turn the environment to Production put my Customer's credentials and live customer's portal set to Test Mode, the code does not work and returns a error message saying there was some error trying to process the transaction. Message comes without any error number.
I spent several hours on internet trying to get an answer but unfortunatly I did not find answer.
Also I called Authorize.net but they could not offere me any help without a error number.
Code below shows where in the code I made changes to production server.
I wonder if someone could help with this issue.
Thank you in advance.
JS
โ03-29-2016 09:27 PM
Can you run in debug to see the raw response?
โ03-30-2016 04:47 AM
response = null
Thank you ,
JS
โ03-30-2016 09:02 PM
download the source from Github
read about debugging dll
https://msdn.microsoft.com/en-us/library/605a12zt.aspx
โ03-31-2016 05:41 AM
Hi,
I amalready using the git hub source code with minimum changes and everything works perfect on sandbox.
For me seems that the same code does not works on production mode because can not reach production server.
Should I put the production server url somewhere in the code? If so, where?
thank you,
JS
โ03-31-2016 05:00 PM
Shouldn't need to change it
the url is under the api endpoint table here.
โ03-31-2016 05:44 PM
I checked all documentation and all required fields are present in the code. Also, I put it back to sandbox and everything works fine. I am even receiveing the auto-receipt issue by authorizenet.
But, when I turn back to Production, no success.
PS. : I realized that in Sandbox even not informing the address, the system process and return an approved transaction. But on auto-receipt there's an information saying address has been verified ( see below).
============== RESULTS ==============
Response : This transaction has been approved.
Auth Code : DDR8MD
Transaction ID : 2154349550
Address Verification : Street Address: Match -- First 5 Digits of Zip: Match
โ04-04-2016 11:04 PM
So it did get the transaction in production?
Another thing is to raise an issue on Github for the SDK, see if the developer have more insight
โ04-05-2016 05:04 AM
Unfortunately, no.
Receipt shown was issued when using Sandbox.
I am really upset with this, mainly because I sold the ideia about Authorize.net to my customer and now isn't working. I guess I will move to PayPal or other provider.
I just do not understand why I a sdk code provided for Authorize, that works in sandbox, simply does not works in production, since the only change is set environment to Production.
Thank you for your help.
JS
โ04-05-2016 09:03 AM
@jsw32821 Is your production gateway still in test mode? It may also help to see your entire request in XML with any sensitive information removed.
Richard
โ04-05-2016 11:05 AM