First, test account registration
On the home page of China UnionPay Merchant Service System, register an account for our test account use. Registered Address:https://merchant.unionpay.com/cas/login.
After the registration number, there are detailed API and test introduction.
Here is the test parameter information after I registered successfully.
test Merchant Number: 777290058112538
Test Certificate: Merchant private key Certificate (signature use, Password: 000000) UnionPay public key certificate (signature use)
Test Entry address: front desk Transaction request address:
https://101.231.204.80:5000/gateway/api/frontTransReq.do
app Trade request address:
https://101.231.204.80:5000/gateway/api/appTransReq.do
Background Transaction request address:
https://101.231.204.80:5000/gateway/api/backTransReq.do
Background Transaction Request address (if the address is configured for a card transaction):
https://101.231.204.80:5000/gateway/api/cardTransReq.do
Single Query request address:
https://101.231.204.80:5000/gateway/api/queryTrans.do
Bulk Transaction Request address:
https://101.231.204.80:5000/gateway/api/batchTrans.do
file Transfer class transaction address:
https://101.231.204.80:9080/
Test Card number information: SMS Verification Code Please enter 6 1 (example: 111111)
Card number |
Card Nature |
Name of Institution |
Mobile phone number |
Password |
CVN2 |
expiry date |
ID Number |
name |
6216261000000000018 |
Debit card |
Ping An Bank |
13552535506 |
123456 |
|
|
341126197709218366 |
Omni-Channel |
6221558812340000 |
Debit Card |
Ping An Bank |
13552535506 |
123456 |
123 |
1711 |
341126197709218366 |
Internet |
Business NET Silver Test account:
Account Number: 123456789001 Password: 789001
After registering to enter the page, you will find a lot of online payment products, I choose "Gateway payment" this product.
Select technology Integration, and then download the test cases and related jar packages for the gateway payment product.
Next, let's talk about using the provided test case code to simulate an online payment application.
UnionPay Online Payment----Test merchant account Registration