Consumer-to-consumer website integration The errors and solutions of ABC payment Collection
Web development environment: ASP. NET, Database: SQL Server
Server: This is also critical: customer-bought standalone servers are windows2008 64-bit systems
The first step: Go to ABC, the sample file and interface download up. First use the demo provided by ABC
There is a DLL file that needs to be introduced into the program.
The second step: according to the requirements of the production of required certificates, this application in the Agricultural Bank interface will give an electronic certificate download index. Inside, it's best to use the XP system. This does not explain.
Step Three: Configure the Web. config configuration file. According to the requirements, the key is: Customer number, certificate location and other information. The configuration is ok first. The certificate is also uploaded to the server, and the absolute path is written. Such as:
C: \ folder \ certificate name. There are also certificates in the sample files that are downloaded together.
And then I met my first mistake.
Unknown error
ReturnCode = [1999]
ErrorMessage = [Unexpected error occurred on the system-the type initializer for ' Com.hitrust.trustpay.client.MerchantConfig ' threw an exception.]
This error after several days of communication with ABC. Finally solved. The workaround is to install WSE 3.0 on the server
After the installation is complete, the error does not exist. It looks like the first thing about the server.
Second error encountered while integratingReturnCode = [1002]
errormessage = [Unable to read certificate document-[d:\wwword\**********1.pfx]! An error occurs when reading from the file. -[d:\wwword\**********1. pfx]! An error occurs when reading from the file.]
The error is clearly that the certificate cannot be found. My solution is: Create a folder in the C drive, then write the path c:/folder name/certificate name
Then use the test files provided by ABC. Successfully jump to ABC payment interface. The rest is tied to your website.
This article is from the "Book House" blog, please be sure to keep this source http://jiefei.blog.51cto.com/6994042/1610990
. Net-made web-to-consumer website integrated ABC payment set-up encountered errors and solutions