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