Get the App
SLTechnology News&Howtos  ›  Development  › 

How does php realize the automatic jump after successful Wechat scanning payment on PC?

Shulou Source: shulou.com Published: 2022-06-03 20:18:30 11月12日 Update

This article mainly shows you "php how to achieve automatic jump after successful Wechat sweep payment on PC", which is easy to understand and well-organized. I hope it can help you resolve your doubts. Here, let me lead you to study and learn "php how to achieve automatic jump after successful code sweep payment on Wechat on PC" this article.

The details are as follows

Scenario: Wechat code-scanning payment on PC

Result: payment is successfully automatically transferred.

The idea of realization is:

Pay QR code page, write ajax request payment status, request the result, regardless of success or failure, jump to the corresponding result page

Specific implementation method:

Html section:

Payment result status setting: 0 not paid 1 payment succeeded 2 payment failed

Tags: Payment success results status content pages timers articles sections Learning help scenarios ideas methods easy to understand more organization knowledge Tape Industry Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Apple Shulou Information Redmi OPPO Reno macOS