Java Integrated Alipay Payment interface

Source: Internet
Author: User

Spit: Alipay interface document really too ugly to understand, a mess, do not know where to find their own things, but also have technical customer service, thank technical Customer service (┬_┬)

Alipay Technology Customer Service https://support.open.alipay.com/alipay/support/index.htm point robot, input "artificial"

1.https://doc.open.alipay.com/doc2/apilist?doctype=4
Find the interface documentation for your business, such as mobile payment interface documents, in the Alipay open platform-Document center:
Https://doc.open.alipay.com/doc2/detail?treeId=59&articleId=103563&docType=1
Mobile Payment Java Backend interface is also under here.

2. After decompression to find inside the service side of the demo, in the Alipay.java configuration good partner with key, specific how to call, view the Webroot under the JSP demo

3. General integration of a interface, the other interface calls the same way, but change the value of the parameter service and according to the specific business increase or decrease parameters on the line.

Single transaction SDK (available on open platform or ask customer service):
Http://aopsdkdownload.cn-hangzhou.alipay-pub.aliyun-inc.com/demo/alipaysinglequery.zip

Pit 1: Error code illegal_partner_exterface, not necessarily your signature or information is wrong, but also may be the interface did not sign (small series is so).

Pit 2: Refund interface
If you are okay with the site, you can apply for instant billing. But app, I'm sorry to tell you, no app refund interface, yes, no ... Alipay is required to have an independent website, and the site needs to have payment related operations.

Summary: Look at the document can not solve the problem, ask customer service, the quickest way to solve. Of course, can also give small message.

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.