Summary of how to use WeChat red envelope interface

Summary of how to use WeChat red envelope interface

Welcome to leave a message and forward a series of articles on WeChat rapid development: click here. The previous articles introduced WeChat payment. Official account payment, WeChat scan code payment, card payment, WeChat payment This article will talk about the payment tools in WeChat merchants - cash red envelope cash red envelope.png Preparation work [Official Document] 1. Activate cash red envelope permission before using cash Before sending a red envelope, please go to activate the cash red envelope function. Operation path: [Log in to the WeChat Payment Merchant Platform——>Product Center——>Cash Red Envelope——>Activate]. 2. When a merchant downloads the API certificate and calls the WeChat red envelope interface, the service...

Jun 11, 2017 am 11:08 AM
Summary about jumping to the current instance

Summary about jumping to the current instance

There are three forms of routing jumps for WeChat mini programs. The navigator component is used in the page to make routing jumps in the form of page links. In js, wx.navigateTo can be used to retain the current page and jump to a certain page in the application, wx. redirectTo--Close the current page and jump to a page within the application wx.navigateBack()--Close the current page and go back to the previous page. The navigator component makes page links &nbsp...

Jun 11, 2017 am 10:48 AM
10 recommended courses on competition

10 recommended courses on competition

WeChat announced that due to Apple's regulations, the iOS version has completely eliminated the function of public platform appreciation, including QR code transfers. This is equivalent to basically cutting off the financial resources of iOS platform operators. So, why does Apple do this? According to the latest report from Sina Technology, Apple has responded to this matter, saying that Apple was not forced to stop the appreciation function. WeChat could have chosen in-app purchases for public account operators like other developers. Apple emphasizes that the App Store ecosystem has the same requirements for all developers, including WeChat, which has 800 million users...

Jun 11, 2017 am 10:35 AM
Detailed introduction to left swipe to delete

Detailed introduction to left swipe to delete

The left-swipe to delete effect is very popular in app interaction methods, such as the universal app WeChat, WeChat, left-swipe to delete, and the efficiency app ClearClear, which has caused a great response, left-swipe to delete. Technically speaking, it is not difficult to achieve this effect. Just respond to the slide. Operation, just move the component, add some coordinate calculations, and record the status. There are also some articles describing how to achieve this effect on mini programs, but I am basically certain that these developers have not tested it in detail on real machines, because through practice I have found that it is almost impossible to perfectly achieve this effect on mini programs. Completed tasks...

Jun 11, 2017 am 10:32 AM
Detailed introduction to the structure overview

Detailed introduction to the structure overview

WeChat Mini Program Development Tutorial (Basics) 1-First Introduction to WeChat Mini Programs WeChat Mini Program Development Tutorial (Basics) 2-WeChat Mini Program Structure Overview In the previous tutorial, it was written that the development tool will generate a default program framework. The main process code of the program is included in app.js. In the default implementation, this part of the function is relatively simple, but it is still valuable for learning and researching small program development. Since there are not many lines of code, I will post it all at once and explain it later //app.jsApp({ onLaunch: fu...

Jun 11, 2017 am 10:31 AM
Detailed introduction to user group management

Detailed introduction to user group management

Model layer entity class: public class UserList { public string total { get; set; } pub

Jun 11, 2017 am 10:27 AM
What is WeChat authentication? Summary of how to use WeChat authentication

What is WeChat authentication? Summary of how to use WeChat authentication

This article mainly provides a detailed analysis of the .Net code for the certification of "becoming a developer" in the development of WeChat public platform. Interested friends can refer to the .Net certification for the development of WeChat public service platform and certification to become a developer. Specific details The content of these codes is as follows. These codes are only used once when starting the authentication, and will not be used in the future: const string Token = "XXXXX";//Your token pr...

Jun 11, 2017 am 10:27 AM
Recommended courses on sliding operations

Recommended courses on sliding operations

Among the actual mobile application interaction methods, the most common one is the sliding operation. Sliding left and right to switch pages, spreading your fingers to enlarge pictures, etc. are all done by sliding operations. The related events provided by the WeChat applet by default are as follows: touch-related operation events tap correspond to click operations, and longtap is also provided to support long press operations. These are relatively simple, so I won’t go into details. touchmove corresponds to the sliding operation, and bindtouchmove can respond to the sliding operation. //wxml<view id="...

Jun 11, 2017 am 10:25 AM
10 recommended articles about account development

10 recommended articles about account development

Abstract: After more than a year of development, China Merchants Bank has exceeded 15 million fans in 2014, ranking first among banking WeChat public accounts. It can be called the most successful WeChat public account case. As the developer of China Merchants Bank’s credit card WeChat platform, Shenzhen CloudSoft has summarized the following experiences regarding the development of advanced applications for WeChat public accounts. In April 2013, China Merchants Bank's credit card WeChat public account was launched with a "little trick" friendly image. It gained the favor of millions of users in less than half a year. After more than a year of development, it has more than 15 million fans so far. Ranking top of the list of banking WeChat public accounts, it can be called the most successful...

Jun 11, 2017 am 10:22 AM
5 recommended articles about imitating QQ

5 recommended articles about imitating QQ

This article mainly writes about some of the problems I encountered during the progress of the SmallAppForQQ project. I hope reading this article will be helpful to you. SmallAppForQQ: A WeChat applet for accessing QQ. At the beginning of this article, I will briefly introduce the project structure. If you do not have the development tools installed, you can download them from github.com/xiehui999/SmallAppForQQ. There are four main file types in the WeChat applet project structure, as follows - 1) WXML file: (Weixin Markup Language)...

Jun 11, 2017 am 10:21 AM
10 recommended articles about refunds

10 recommended articles about refunds

Let’s first complain about WeChat’s documentation and demo. The important step information is not emphasized clearly, and the .net demo has not been successfully run. 1. Scan the WeChat QR code to log in 2. WeChat PC payment took many attempts to get through the refund function. The following is an introduction to the development steps of the WeChat payment refund function: 1. Download the certificate and import it into the system. WeChat refund requires a certificate. This certificate is not the certificate in the official demo, but requires its own API security bar in the WeChat merchant platform. Download the certificate and see the following words in a word document of the official certificate usage example: There is one thing to note about C#, except...

Jun 11, 2017 am 10:15 AM
Summary of WeChat payment interface development examples

Summary of WeChat payment interface development examples

This article mainly describes the pitfalls encountered in the development process of connecting WeChat applet to WeChat payment. It is divided into two parts, the applet and the backend interface encapsulation. The main contents of this article are as follows: 1. Backend interface encapsulation; 2. Mini program integration; 3. Summary of pitfalls. 1. Backend interface encapsulation is based on ThinkPHP 5 for interface encapsulation. The specific steps are as follows: 1. The official WeChat payment document provides a sample of PHP script WeChat payment, download it; 2. The sample has encapsulated each class, we only need Just add the namespace, create a new directory wxpay under the extend directory of TP5, and put...

Jun 11, 2017 am 10:14 AM
Recommended articles about WeChat refunds

Recommended articles about WeChat refunds

Let’s first complain about WeChat’s documentation and demo. The important step information is not emphasized clearly, and the .net demo has not been successfully run. 1. Scan the WeChat QR code to log in 2. WeChat PC payment took several attempts to get through the refund function. The following is an introduction to the development steps of the WeChat payment refund function: 1. Download the certificate and import it into the system. WeChat refund requires a certificate. This certificate is not the certificate in the official demo, but requires its own API security bar in the WeChat merchant platform. Download the certificate and see the following words in a word document of the official certificate usage example: There is one thing to note about C#, except...

Jun 11, 2017 am 10:14 AM
Summary of code examples for WeChat user registration and login

Summary of code examples for WeChat user registration and login

This article mainly introduces the relevant information on the implementation of the WeChat code scanning registration and login function on the PC side developed by .NET WeChat. It is very good and has reference value. Friends who need it can refer to the next one. In the preface, let me state the focus of this article. In order to realize the idea, the code and database design are mainly to show the idea. If the project has strict requirements on code efficiency, do not copy it. I believe that anyone who has done WeChat development has done a lot of authorization, but generally speaking we do more authorization for mobile websites. To be precise, we do authorization under WeChat. A problem I encountered today is that project support...

Jun 11, 2017 am 10:07 AM

Hot tools Tags

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

vc9-vc14 (32+64 bit) runtime library collection (link below)

vc9-vc14 (32+64 bit) runtime library collection (link below)

Download the collection of runtime libraries required for phpStudy installation

VC9 32-bit

VC9 32-bit

VC9 32-bit phpstudy integrated installation environment runtime library

PHP programmer toolbox full version

PHP programmer toolbox full version

Programmer Toolbox v1.0 PHP Integrated Environment

VC11 32-bit

VC11 32-bit

VC11 32-bit phpstudy integrated installation environment runtime library

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Hot Topics

Java Tutorial
1664
14
PHP Tutorial
1266
29
C# Tutorial
1239
24