Get the App
SLTechnology News&Howtos  ›  Development  › 

An example Analysis of WeChat Pay's Development of Rights Protection Notification

Shulou Source: shulou.com Published: 2022-06-03 16:15:38 10月03日 Update

This article will explain in detail the example analysis of WeChat Pay's development rights protection notice. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.

1. Notify URL of rights protection

In WeChat Pay's development (1) WeChat Pay's URL configuration has been mentioned, the rights protection notification URL is http://www.doucube.com/wxpay/rights.php.

II. User rights protection system interface

Users usually complain to Tencent customer service when they make payment and purchase behavior on the official account, so the Wechat side needs to know the details of the transactions made by the users of the official account immediately. At the same time, in order to solve users' problems quickly and efficiently, Wechat, as a bridge connecting users and merchants, will synchronize the problems to merchants immediately through this customer service system, and feedback the solution to users.

After the user adds the complaint, Wechat backstage notifies (post) the merchant server (payfeedback_url) to pay the result. Merchants can use the notification results of payfeedback_url to display personalized pages. Note: please submit the payfeedback_url to the relevant interface person of Wechat, and the Wechat side will be available after registration.

The background notification is carried out through the payfeedback_url in the request, using the post mechanism.

III. Users apply for protection of their rights

IV. Program realization

Obtain the mentioned xml packet directly in the rights protection program file, and the program implementation is as follows:

When you add a new complaint, you will get the following XML

1401206434 13275936403980775178

When the user confirms that the complaint has been handled

1369743511

Developers can parse the xml data and do subsequent processing.

This is the end of the article on "example Analysis of WeChat Pay's Development Rights Protection Notification". I hope the above content can be helpful to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.

Tags: Users payments developers merchants complaints programs articles results examples analysis public background interfaces data more systems problems handling good practical Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Xiaomi vpn NVidia Docker OPPO Reno