Java online payment and java online payment
/** ---------------------- Java online payment -------------------------------------
1. Create a WEB Project
2. Create a front-end payment page form
3. Import the payment platform port jar
4. Create a class to read users' platform account keys
5. Create a Servlet
6. (important) request. getparameter get the payment information required by the corresponding Platform
7. (important) reference the platform class to provide methods for hmac encryption of transaction data
8. (important) request. setAttribute () Send the payment information required by the platform to the transfer page
9. (important) create a transfer page to confirm submission of the payment information required for all platforms
10. Create a Servlet
11. (important) request. getparameter get the payment information returned by the Platform
12. (important) reference the platform class to provide methods for hmac decryption of transaction data
13. Return the payment result to the page: true/false
*/