Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Example Analysis of WeChat Pay Development

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

Editor to share with you the example analysis of WeChat Pay development, I believe that most people do not know much about it, so share this article for your reference, I hope you will learn a lot after reading this article, let's learn about it!

Preface

WeChat Pay is now divided into v2 version and v3 version. The v2 version was applied before September 10, 2014, and the v3 version was applied after. The V3 version of WeChat Pay has no paySignKey parameter.

WeChat Pay v21. Use the web authorization interface

Use the web authorization interface to get the basic information of the user.

[official Wechat account] OAuth3.0 authorization.pdf Click to download

two。 Use the shared ship to address control

Use the shared ship to address control to get the user's ship to address on Wechat. [Wechat official account payment] receiving address sharing API document V1.6.pdf Click to download

3. Use official account to initiate payment request

Use JS API to initiate a payment request in Wechat's web page. For more information, please see the section on JS API in the document.

Use Native API to initiate a payment request, the section on Native API in the detailed method document. WeChat Pay interface document and demo (public account) .zip click to download

4. Access to customer service rights protection system

All official account merchants must access the customer service rights protection system. After connecting to the customer service rights protection system, users can select an order and initiate a rights protection request to Wechat through the "rights protection" menu in the custom menu. Wechat will notify merchants of rights protection information through payfeedback_url, and merchants must process rights protection requests within a specified time. [Wechat official account payment] user rights protection system and interface description V1.6.pdf click to download

5. Initiate payment requests on third-party applications

Third-party applications on the iOS platform and the android platform initiate payment requests through WeChat Pay SDK. Download WeChat Pay interface document and demo (APP) .zip

6. WeChat Pay refund & reconciliation

Use WeChat Pay's refund and reconciliation function to help easily achieve refund and reconciliation. WeChat Pay (refund & reconciliation interface) document .zip Click to download

WeChat Pay v3

Tip:

Due to the upgrade of WeChat Pay merchant platform, if you receive the email notification sent by the payment assistant after the approval of the information, please follow the API document on this page for payment development.

1. Information includes: merchant ID, application number, login account, login password, merchant API password

2. Certificates include: merchant API certificate, certificate key, CA certificate

1. Use the web authorization interface

Use the web authorization interface to get the basic information of the user.

[official Wechat account] OAuth3.0 authorization.pdf Click to download

two。 Use the shared ship to address control

Use the shared ship to address control to get the user's ship to address on Wechat. [Wechat official account payment] receiving address sharing API document V1.6.pdf Click to download

3. Use official account to initiate payment request

Use JS API to initiate a payment request in Wechat's web page. For more information, please see the section on JS API in the document.

Use Native API to initiate a payment request. For more information, see the section on Native API in the document. WeChat Pay interface document and demo (public account) .zip click to download

4. Use swept to initiate a payment request

Use the swept method to initiate a payment request in Wechat. For more information, please see the API documentation. WeChat Pay interface document (payment is scanned). Zip click to download

5. Initiate payment requests on third-party applications

Third-party applications on the iOS platform and the android platform initiate payment requests through WeChat Pay SDK. WeChat Pay interface document and demo (APP). Zip (document update, will be supplemented in the near future)

The above is all the contents of the article "sample Analysis developed by WeChat Pay". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report