an ASP.NET Open Source CMS & eCommerce platform
Search:
Skip Navigation LinksHome > DotShoppingCart Forums > Support > Using DotShoppingCart > Credit Card transaction error using CyberSource
Last Post 4/13/2008 4:16:50 PM By lukezy. 7 replies.
4/8/2008 12:18:14 PM
cleveland75
Posts: 8
Joined: 4/23/2008
Credit Card transaction error using CyberSource

I'm trying to setup DSC with a Credit Card payment using CyberSource as the gateway.  The CyberSource account is still in test mode, not “live” yet.  I’ve entered the MerchantID and Key File from CyberSource.  When I generate a test order, this is the error message that is showing up in the order status…

"Order Processor (CreditCardAuthorization) failed due to The type initializer for 'CyberSource.WSSecurity.Signature' threw an exception.. Status changed to (Delayed - Order Under Review)"

Does anyone know what is causing this error?  CyberSource tech support said the transaction is not reaching their system.  I’m using a temporary test SSL cert (self-server generated).  The real third party SSL cert will be installed later on.  Is the temporary test SSL cert causing the problem?

thanks,
nick

4/8/2008 2:48:33 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Credit Card transaction error using CyberSource

You don't need SSL for Cybersource payment module. I created a document entry here for the instructions to set up Cybersource payment gateway.

DotShoppingCart Staff
4/9/2008 11:31:08 AM
cleveland75
Posts: 8
Joined: 4/23/2008
Re: Credit Card transaction error using CyberSource

I followed your instructions...
1) Install Cybersource .Net Client from http://apps.cybersource.com/cgi-bin/pages/dev_kits.cgi?kit=_SCMP_Clients/_.NET/VS.NET2003
2) Install WSE 3.0 from http://www.microsoft.com/downloads/details.aspx?FamilyID=018a09fd-3a74-43c5-8ec1-8d789091255d&displaylang=en

During the Cybersource .Net Client install, I entered the Merchant ID and it generated some key files in the C:\CyberSource\keys folder.  This is what's in the folder..
CyberSource_SJC_US.crt
v#######.crt
v#######.pvt
v#######.pwd
I'm not sure what to do with this files???

Then I copied CyberSource.dll, CyberSource.InstallState, CyberSource.xml, CybsSecurity.dll from "C:\Program Files\CyberSource .NET Client 5.0.0" to the dotshoppingcart web\bin folder.
Then Configure Credit Card Payment Gateway (Store -> Payment -> Credit Card).  Enter the Merchent ID, but I'm not sure which "Key File" to upload??

After all that, I'm still getting the error, "Order Processor (CreditCardAuthorization) failed due to The type initializer for 'CyberSource.WSSecurity.Signature' threw an exception.. Status changed to (Delayed - Order Under Review)".  What am I missing or doing wrong?  By the way, I still have the CyberSource in "Test mode".  Does that matter?  I'm also testing with Visa Test Account number "4111 1111 1111 1111".  Does that matter?  Should I be testing with a real CC#?

thanks,
Nick

4/11/2008 10:57:13 AM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Credit Card transaction error using CyberSource

It's something wrong with your system not your test credit card or merchant ID. Can you run the sample app that comes with the cybsource .Net client?

DotShoppingCart Staff
4/12/2008 2:52:12 PM
cleveland75
Posts: 8
Joined: 4/23/2008
Re: Credit Card transaction error using CyberSource

I ran the "Install Sample Store" for the "CyberSource .NET Client" on the server.  Afterward, open IE with http://localhost/CyberSourceStore/.  Ran the checkout; at the very end submit the CC# 4111111111111111, then got an error from page http://localhost/CyberSourceStore/DisplayError.aspx

Error

Internal error.

 

Click here to view your cart.

I'm going through the Cybersource documentation now for any possible clues.  Do you have any ideas?

thanks,
nick

4/12/2008 4:10:46 PM
cleveland75
Posts: 8
Joined: 4/23/2008
Re: Credit Card transaction error using CyberSource

I'm not having much luck with the Cybersource documentation.  I set the <add key="icsClient.LogLevel" value="LOG_TRACES" /> for the CyberSource .NET Client sample store.  This is what's in the log file for the ICSReply...

ICSReply:
 ics_rflag=ESYSTEM
 ics_rmsg=ics_smart_auth and ics_score are not compatible.
 client_lib_version=Win32NT5.2.3790.131072/.NET/5.0.0
 ics_rcode=-1

I'm still searching for what might be the cause, but no luck yet.

thanks,
nick

4/13/2008 4:05:59 PM
cleveland75
Posts: 8
Joined: 4/23/2008
Re: Credit Card transaction error using CyberSource

Neve mind, I found the problem.  The .NET client you pointed to doesn't work.  After some searching, I found the latest download from Cybersource, http://apps.cybersource.com/cgi-bin/pages/dev_kits.cgi?kit=_.NET/_.NET2.0.  After uninstall the old client and install the new client; the credit processing start working. 

Thanks for your input,
Nick

4/13/2008 4:16:50 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Credit Card transaction error using CyberSource

Thank you very much for the update. I have also updated the online document to point to the new Cybersource .Net Client.

DotShoppingCart Staff