Online payment on the Java Web

Source: Internet
Author: User
Tags hmac java web

/**----------------------Java Online payment-------------------------------------
1. Create a Web project
2. Create a front-end payment page form
3. Import the payment platform Port class jar
4. Create a class to read the user's platform account key
5. Create a servlet
6. (key) Request.getparameter to obtain payment information for the corresponding platform
7. (focus) Reference platform class provides methods for HMAC encryption of transaction data
8. (key) Request.setattribute () Send the platform payment information to the transfer page
9. (focus) Create a Transfer page to confirm the payment information required to submit all platforms
10. Create a servlet
11. (focus) Request.getparameter get platform return payment information
12. (focus) Reference platform class provides methods for HMAC decryption of transaction data
13. Return the payment result to the page True/false
*/

Online payment on the Java Web

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.