NET Silver Online payment platform
B 2C Original address: http://viger6.blog.hexun.com/8309779_d.html system Merchant Interface Specification
Version number 4.0
NET Silver Online (Beijing) Technology Co., Ltd.
Eye recorded
1. Document Introduction ... 1
1.1. Reader Object ... 1
1.2. Copyright Notice ... 1
2. Payment interface ... 2
2.1. Merchant >>> net Silver online payment ... 2
2.2. Online Bank Payment >>> Merchant (page return) ... 5
2.3. NET Silver online payment >>> merchant (server return) ... 6
2.4. Gateway Error Code Table ... 6
1 . Document Introduction 8> 1.1. Reader Object
Merchant System Designers, programmers and testers 1.2. Copyright Notice
This document belongs to net Silver Online (Beijing) Technology Co., Ltd. As the end-user of the system, you can have the right to use the document, but without the written approval of Net Bank online (Beijing) Technology Co., Ltd., you may not borrow, transfer or publish the document to a third party.
2. Payment interface 2.1. Merchant >>> Net Silver online payment
Sample programs: chinabank.html
Purpose: Collect information and send to the data send page that is Send page
Order Number://optional, order number
Consignee name://Optional entry, total length not exceeding 80 characters
Consignee Address://optional, total length not exceeding 200 characters
Consignee Tel://optional, total length not exceeding 50 characters
Consignee postcode://Optional entry, total length not exceeding 10 characters
Consignee Mail://optional, total length not exceeding 100 characters
Consignee mobile number://optional, the total length of no more than 13 characters
Remark 1://optional, total length not exceeding 150 characters
Order person Name://Optional entry, total length not exceeding 80 characters
Order person Address://optional, the total length of no more than 200 characters
Order person Tel://optional, the total length of no more than 50 characters
Order Person ZIP Code://optional, total length not exceeding 10 characters
Order person Mail://optional, the total length of no more than 100 characters
Order Person Mobile Number://optional, the total length of no more than 13 characters
Remark 2://optional, total length not exceeding 150 characters
Total order Amount (yuan): * Required items, such as: 0.01
Sample programs: send.asp , send.aspx , send.php , send.jsp
use: Receive chinabank.html send the data encrypted and then send to the net Silver online Payment Platform Interface Gateway
1, Payment Platform Gateway interface address
<form method=post action= "Https://pay3.chinabank.com.cn/PayGate" >
2 , form form parameters
The form parameters are shown in table 1 and are defined as table 2. Description: The blue part is required, the yellow part is not related to the online payment, the proposal does not
<form method=post action= "Https://pay3.chinabank.com.cn/PayGate" > <input type=hidden name=v_mid value= "20000400" > merchant Number <input type=hidden name=v_oid value= "19990720-20000400-000001234" > order number <input Type=hidden name=v_amount value= "0.01" > total Order Amount <input type=hidden name=v_moneytype value= "CNY" > currency <input type=hidden name=v_url value= "http://domain/chinabank/Receive.asp" > when the payment action is completed, return to the URL , pay the result to POST Way to send <input type=hidden name=v_md5info value= "1630dc083d70a1e8af60f49c143a7b95" > order MD5 Check code <input type= "hidden" name= "Remark1" value= "Memo 1" > Memo field 1 <input type= "hidden" name= "Remark2" Value= "Memo 2" > Memo field 2 <input Type=hidden name=v_rcvname value= "John" > Consignee name <input type=hidden name=v_rcvaddr value= "Beijing Haidian" > Consignee address <input type=hidden name=v_rcvtel value= "68475566" > Consignee telephone <input type=hidden name=v_rcvpost value= "100036" > Consignee zip Code <input Type=hidden name= v_rcvemail value= "test@test.com" > Consignee mail <input type=hidden name=v_rcvmobile value= "131100110011" > Consignee mobile number <input type=hidden name=v_ordername value= "Dick" > Order person Name <input type=hidden name=v_orderaddr value= "Beijing Haidian" > Order person Address <input type=hidden name=v_ordertel value= "68475566" > Order person Telephone <input type=hidden name=v_orderpost value= "100036" > Order Person ZIP code <input Type=hidden name= v_orderemail value= "test@test.com" > Order person Mail <input type=hidden name=v_ordermobile value= "131100110012" > Order Person Mobile number <input type=submit value= " net silver Online payment " > </form> |
Table 1
To pay the variable definition in the form:
-Required Items
-Online payment of money-independent items, recommended not
Variable name |
variable naming |
length |
Description |
examples |
Merchant number |
V_mid |
|
cannot be empty, whichever is the initial order of the merchant number. |
20000400 |
|
Order number |
v_oid |
64 |
cannot be null, the order number standard format is: Order generation date (YYYYMMDD)-Merchant number-merchant serial number. Order number The sum of all characters cannot exceed 64 digits. |
19990720-20000400-12345. Merchant serial number, the order number can not be repeated on the same day |
|
Total Order Amount |
V_amount |
8 |
Can not be empty, units: yuan, after the decimal point to retain two digits. |
0.01 |
|
Currency type |
V_moneytype |
|
CNY to RMB |
CNY |
|
URL address |
V_url |
200 |
The merchant page that the consumer returns after completing the shopping, the URL parameter is the complete URL address that starts with http:// |
Http://domain/chinabank/Receive.asp |
|
MD5 Check Code |
V_md5info |
32 |
For more information see MD5 related notes |
|
|
Note 1 |
Remark1 |
150 |
Value customization |
Note 1 |
|
NOTE 2 |
REMARK2 |
150 |
Value customization |
NOTE 2 |
|
Consignee name |
V_rcvname |
80 |
Value customization. |
Tom |
|
Consignee Address |
v_rcvaddr |
200 |
Value customization. |
Beijing Haidian 1 |
|
Consignee Telephone |
V_rcvtel |
50 |
Value customization. |
588156661 |
|
Consignee postcode |
V_rcvpost |
10 |
Value customization. |
100081 |
|
Consignee Email |
V_rcvemail |
100 |
Value customization. |
Test1@test.com |
|
Consignee mobile phone number |