Quick payment Interface

Source: Internet
Author: User

Tag: 99 Bill

1. Download the quick money DEMO code and a certificate package, as well as the RMB gateway self-help access interface documentation.


2. Generate your own certificate

2. 0. Install Win32OpenSSL_Light-0_9_8k.exe

Open openssl.exe,

2.1. Enter genrsa-out private-rsa.key 1024 and press Enter.

2.2 input req-New-X509-key private-rsa.key-days 750-out public-rsa.cer, press enter, error:

Unable to load config info from/usr/local/SSL/OpenSSL. CNF

Solution: Copy OpenSSL. cfg to C:/usr/local/SSL/OpenSSL. CNF (remember to change the suffix) to run the second command;

Enter information such as country abbreviations after execution (not important, just write it)

2. Enter PKCS12-export-name test-alias-In public-rsa.cer-inkey private-rsa.key-out 99bill-rsa.pfx, and press ENTER

2.4. Enter the password twice in total;

2.5. For a PHP merchant, enter the conversion command PKCS12-In 99bill-rsa.pfx-passin pass: Password-nodes-out 99bill-rsa.pem and press Enter;

2.6.public-RSA. Cer to be uploaded to the quickmoney account: Security Settings-merchant Certificate-merchant certificate upload

. Download the first RSA certificate. This certificate is used on the receive page and is the public key of quick money;


Memo:

"Signtype = 4;

Form must have a field signmsg, which is used to encrypt other non-null parameters with the certificate and then perform base64 transcoding. It is very likely that 20001 indicates that the signature content of the order information is incorrect, because your non-null parameters are not listed in the document order !!!

For example, inputcharset is the first and then to bgurl...

>

Whether it is a debit card or a credit card, as long as it is a quick payment method, minimum is also 1 yuan.


This article comes from "Technology is forced out ." Blog, please be sure to keep this source http://linkindick.blog.51cto.com/2345165/1554670

Quick payment Interface

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.