Development website : UnionPay Payment development Platform
Payment Process :
The normal payment process is the same,
2 is the payment request that will return the payment result HTML in the browser open back to the user
5 is the synchronous payment result write (here is the Click Back Merchant button trigger after payment is completed)
6 is the asynchronous payment result write (this is paid automatically after payment is completed)
If the payment result is written to an exception, you can proactively initiate a result query interface to query the payment status.
Experience :
1. UnionPay payment can also be used in the test environment, can be used directly, and in the development platform with payment tutorial video can refer to
2. After downloading the demo, download the corresponding test certificate and write the corresponding path to the configuration file.
3. In running the demo is to pay attention to the corresponding JDK version is consistent, otherwise the error will not run.
4. In the case of problems can not be resolved, to the development platform of the community to ask questions, the general reply the next day, also directly add customer service QQ questions
Demo source and instructional video :
UnionPay Test Demo.zip
Video tutorial Baidu Cloud
UnionPay Payment-(JAVA) Payment test development