This article is a mirror article of machine translation, please click here to jump to the original article.

View: 98753|Reply: 11

[Source] UnionPay POS machine development and debugging tools

[Copy link]
Posted on 11/29/2017 9:58:26 AM | | |
Debugging tool developed by Langfang's UnionPay POS machine



Table of contents
Resume 2
1. Things to know before testing: 4
1. Before testing, 4
2. At check-in 4
3. Restart the device 4
2. Instructions for using tools 4
1. Connection method 4
2. Open Test Tool 5
3. Communication connection mode 6
4. Initialize 6
5. Sign 8
6. Consumption 8
7. Check Balance 10
8. Settlement 11
3. Analysis of common errors 12
1. Check-in failed 12
2. Consumption failure 12
4. Description of Editorial Items 12
1. Serial port selection 12
2. Merchant number, terminal number, IP, port number 12
3. Communication port 12
4.        APN        12
5. Connection Mode 12
6. Initialize State 13
7. M1 Card Test 13





1. Things to know before testing:
1. Before testing,
      Parameter keys are downloaded completely.
2. When checking in
       Whether the SIM card is plugged in, whether the antenna is connected, and whether the test tool 'serial slogan' is correct.
3. Restart the device
       After the device is restarted, you have to sign in again to test other functions (consumption, query, etc.).


2. Instructions for using tools
1. Connection method
    The machine loses power. The serial port cable is connected to the serial port 2 or serial port 1 of the machine (depending on the application protocol), the machine is powered on, and the device manager can recognize the COM port of the serial port line. After that, the machine is powered off. As shown below:

2. Open the test tool
    After confirming that the connection between POS and PC is correct, click Lf_PcDemo.exe to open the tool and select the serial slogan of the device manager. As shown below:


3. Communication connection mode
    If the device has downloaded the parameters, select the 'Direct connection to POS machine' connection method and click 'Initialize (open serial port communication)'. (If you have not downloaded the parameter key, please refer to the "POS Parameter Download Tool User Instructions_1.0.5" to download the parameters.) As shown below:

4. Initialize
    After completing the above operations, connect the external antenna, insert the SIM card, and power on the POS machine directly, click 'Initialize' as shown in the figure below:


If the initialization fails, check whether the serial slogan is wrong or occupied. As shown in the following figure: (Serial port initialization failure diagram)

5. Sign in
    After each restart of the device, you must sign in again to ensure that it is connected to the UnionPay backend, and functions such as query and consumption can be used normally. (The first check-in is slow because you need to download IC parameters and keys, but then it is very fast) As shown in the figure below:

6. Consumption
    After successful sign-in, you can perform functions such as consumption, query, and settlement. Click 'Consumption' to place the test card in the RF area, as shown below:


     Consumption - QuickPass consumption is successful, as shown in the figure below: (QuickPass consumption cannot be revoked)



    Magnetic card and IC card consumption can be revoked, fill in the 'transaction voucher number' into the 'serial number', then click on the consumption cancellation button, and then follow the prompts. As shown below:


7. Check the balance
    Click 'Check Balance' to insert a card and a QuickPass query, the following is the QuickPass query. As shown below:

8. Settlement
Click on the 'Settlement' device to send the consumption batch to interact with UnionPay, and finally the settlement is successful. As shown below

After settlement, please check in again to continue trading.

3. Analysis of common errors
1. Check-in failed
       Please check whether the parameters are downloaded incorrectly; whether the SIM card is inserted; Whether the antenna is connected or not.
2. Consumption failure
    Check if you have checked in after restarting your device; Test whether the card has a balance; Whether the operation is standardized.

4. Description of editorial items       
1. Serial port selection
    Select the serial slogan that the computer recognizes to connect to the POS machine.
2. Merchant number, terminal number, IP, port number
Default initial value.
3. Communication port
Serial ports are currently used by default.
4.APN
It can be temporarily empty.
5. Connection mode
4 commonly used methods:
1 direct connection (PC),
2 Direct connection (POS),
3 Indirect connection (PC),
4 Indirect connection (POS),
The use of direct connection is to use the POS machine itself to interact with the platform, and the indirect connection is to transmit the interaction between the host computer and the platform. PC represents the IP and port number set on the demo of the connected server, and POS represents the IP and port set on the POS machine.       
6. Initialize state
Successful initialization can perform other POS services, such as check-in, consumption, and settlement.
The dll version number, the POS terminal version number, and the state of the PPOS machine are displayed after initialization.


7. M1 card test
The M1 card test area can test the functions of M1 card search, card reading, and card writing



Tourists, if you want to see the hidden content of this post, pleaseReply





Previous:Echo filtering algorithm
Next:Record mouse movements (can be used as screensavers or ad carousels)
Posted on 11/17/2019 4:24:03 PM |
Thank you for sharing, just for reference
Posted on 5/12/2019 8:24:08 PM |
After searching for a long time, I finally found this place
Posted on 9/11/2019 5:24:13 PM |
Look
How is it useful?
Posted on 12/1/2017 6:02:17 PM |

for Android
Posted on 12/4/2017 8:21:14 PM |
Okay, let's see how it goes
Posted on 3/8/2018 9:27:24 PM |
Good information, reference
Posted on 6/23/2019 11:19:43 AM |
Thanks for the debugging tool
Posted on 7/25/2019 11:47:01 AM |
Look at just the right pick
Posted on 12/9/2019 4:35:02 PM |
Is this the source code?
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com