Detailed explanation of Java integrated Alipay payment interface (JSP+ Alipay 20160912)

Make complaints about:

Alipay's interface and WeChat's DEMO and documents are really hard to understand and out of order. They don't know where to find their own things. In recent days, our company needs to do similar development. As a pioneer, I take the lead in solving the Java integration of Alipay payment and WeChat payment interface.

Our working environment: JSP website + payment interface, the current Alipay interface is 20160912, WeChat is V3 version, if there is a version upgrade, please contact the customer service staff of related agencies to upgrade.

This article introduces the JSP+ Alipay interface, which is not original.

Novice note:

1. The interface address and parameters used in this article are the address of the sandbox. Whether you are using the sandbox or the official address, be sure to verify the interface address and parameters. Don't take it for granted.

2. This article uses jar packages:

alipay-sdk-java20160912220103. jar

commons-codec-1.6. jar

commons-httpclient-3.0. 1.jar

commons-logging-1.1. 1.jar

fastjson-1.2. 7.jar

json-lib-2.2. 3-jdk13. jar

json. jar

jsp-api. jar

servlet-api. jar

explain:

Alipay SDK Java is the official payment SDK. Please download it. This article uses version 20160912

Home page call:

The above is the whole content of this article. I hope it will be helpful to your study, and I hope you can support programming tips.

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>