. NET-made web-to-consumer website integration the error and solution of ABC payment Collection

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.