C # WeChat QR code payment callback page,

Source: Internet
Author: User

C # scan the QR code to pay the callback page,

. NET scan code payment, officially recommended [Mode 2]

I. Scan the QR code for payment mode 1:

1. Callback page: NativeNotifyPage. aspx under the example file in the official demo

2. callback address: http: // domain name/directory/NativeNotifyPage. aspx

Is set in the public account platform, such

 

Ii. Scan the QR code for payment mode 2:

1. Callback page: resultpolicypage. aspx under the example file in the official demo

2. callback address: http: // domain name/directory/NativeNotifyPage. aspx

It is set in Config. cs in the example file in the official demo, as shown in

Note that the above callback address method must be called correctly to ensure correct callback.

I used scan mode 2 in the project, but the callback was written as a callback in Mode 1. I paid more than a dozen times and found out what was going on through Logs and network searches, pitfalls !!!

Related Article

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.