WP Points: WordPress integral system/Youzan online recharge/pay visible/download plug-in
Clouds fallPosted ontwenty-eight thousand eight hundred and twenty-threeWordPress
»WordPress»WP Points: WordPress integral system/Youzan online recharge/pay visible/download plug-in
WordPress integral system, online payment plug-in
Because Youzan no longer provides new user registration, this plug-in stops downloading. It is recommended to download the payment plug-in developed by Yunluo based on Payjs again:https://gitcafe.net/archives/7098.html
preface
At present, WordPress does a lot of paid content, such as bloggers...For paid content, online payment and points are necessary, so you need a payment plug-in. There are many similar plug-ins on the network. Maybe you can take a look at this plug-in
explain
Update tip: increased compatibility with likes push V3, simplified code, and fixed errors
Advantages of this plug-in: Simple and lightweight. There is only a simple point system. You can see the payment and online recharge function. More is more, less is less. It is easy to develop. The code is not encrypted. I think you can understand it even if you click PHP, so you can do secondary development arbitrarily. It is convenient to pay. You like the payment scheme. Although it costs 1%, it is still acceptable. Extensive compatibility. In theory, it can be compatible with all WordPress themes, as long as it supports short code.
Disadvantages of this plug-in: Lack of function and power are not the advantages of this plug-in, but the requirements of this plug-in. The front end is ugly and popular. Because of the theme compatibility, the plug-in basically doesn't use the style. It is all the default style. You can modify the style yourself. Code quality, I have to say that I am a PHP white-collar, so some of the code is poorly written. If you are planning to build a large business website, you are not recommended to use it. If you are a small website, you might as well try it.
Edible method
Note: Please try to solve the pseudo static problem of the website first!!!
1. Create a new page, and write the content:[chongzhi]Short code, then publish and recharge the page. 2. Background gold coin - setting: put the newly created page link into the options. The following is about the likes
Scan the code directly to install a micro store like Zanwei, and then register the store on the mobile phone. The payment will go through the order system of the store. After the store is registered, the micro store will be basically ignored.
Step 3: Create a like cloud application
Click to create an application choiceSelf use, and selectYouzan WeChat Mall, set the name as the website name, and then use the app of Youzanwei to scan the code for authorization.
Push address:https://gitcafe.net/wp-content/plugins/WP-Points/push.php, change the domain name to your own
matters needing attention
Youzan needs a service charge for cash withdrawal, the rate is 1%, and it seems that there is a minimum value of 0.01. It seems that you like support does not support LetEncrypt certificates. Youzan supports WeChat payment, Alipay payment and bank card payment [actually Baidu wallet]. After the payment is completed and the collection is successful, the system will automatically recharge and send a successful recharge email to the recharger. The recharge page can only be recharged after login. After scanning the code, the [Collection Reason] on the mobile payment page is actually the user ID. For example, if the webmaster scans the code himself, the [Collection Reason] is 1
The push address should be noted as follows:
About stability:
Download address
Because Youzan no longer provides new user registration, this plug-in stops downloading. It is recommended to download the payment plug-in developed by Yunluo based on Payjs again:https://gitcafe.net/archives/7098.html
Today, I found that there was a problem with the likes. The QR code on the recharge page did not load. One account said that the store administrator cancelled the authorization, but the authorization was unsuccessful.It may not only cancel the registration of new users, but also cancel the collection business of micro stores.
@Qiji NetworkIndeed, it was bound to a micro store before, but now it is inexplicably shown that the authorization has been cancelled, and it is no longer possible to think about authorization
Blogger, ask me a question. I once registered a Youzanwei store, but it didn't work. I want to ask whether it can support users to automatically send invitation codes after purchase?Or sending card secret and other functions~
@thirty-two thousand three hundred and thirtyThis plug-in is only responsible for online payment, point management and payment visibility. If you need to send XXX, you can add it yourself, because this plug-in will send email to users after payment. You can add the information you need to send to the email
Because Youzan no longer provides new user registration, this plug-in stops downloading. It is recommended to download the payment plug-in developed by Yunluo based on Payjs again..I'm depressed. I can use praise so well, but I must support it.I just read the end of the article and realized that there was a tendency to stop.Although the service charge is 2%, it is always good to use it. The access is free,Payjs access costs 300 yuan, and the service charge is more than 1%.
@q258906337Your own domain name/wp content/themes/It alpha/modules/push.php, after input, the browser will open, and the blank display is correct. If an error such as error 403 is reported, it will be wrong.I just read the above tutorial in great detail, but the address in the tutorial should be correct after installing the plug-in. The address of the theme is in the theme directory. I also found the path by searching the push file address in the host folder.This file should also be able to move to the location in the tutorial, so there is no need to modify the link..(Same effect)
Boss, I use the theme itself. Recharging can be delivered to the account, and gold can also be delivered to the user. However, after each recharging, the total amount of gold in the "notice of successful recharging" email sent to the user is always one less than the actual amount of gold.
@Clouds fallThe amount of gold coins recharged to the account by the user is correct. That is, after each recharge, the "Total Gold Coins" in the "Notice of Successful Recharging" email automatically sent to the user is one less than the actual total gold coins.
@xiaozuzhangThe theme of Yunluo is his own git theme. If you look at other content on his website, there are special introductions.The theme is very powerful, beautiful, better than many paid themes, and the update is very fast.
Now everything is basically normal, but there is no content in the "Gold Coin and Email" of all payments in the Gold Coin Management. You can only make payments by adding them in the editor?
Just changed a user to test, and they can receive money, but there are five problems: 1. The gold does not reach the account.2. The payment content is still prompted to recharge.3. There is no information in the gold coin management.4. The registered new user cannot see any gold information on the dashboard.5. There is no email notification of successful recharge.
It can be recharged, but the money has entered the micro store, and the paid content still cannot be viewed at the same time?There is no information about the background gold coin management?
@cnahooAccording to the same question I asked earlier, the reason is that micro stores need to check v1 and v3, and they also need to set up email to be normal
@Merry Mouse BlogThis is a word that I mistyped when updating the recipient....Previously used ones need to be downloaded again, and the push of V3 is used directly
New upgrade of transaction function!Developers must manually switch to "Transaction Interface 4.0"/"Push V3". Previous versions will stop supporting and maintaining the previous recharge page from now on. The previous recharge page cannot be loaded. We look forward to the new tutorial
The like v2 message push was closed in September. I tried V3, and the money could pay, but the user's gold did not increase.Also apply for QQ group can not enter?
Most of them have been settled, and the recharge can also reach the account, so there is a problem: when the recharge is visible, click "Recharge Now" to jump to the recharge page (the recharge page can be opened or recharged separately).
There is a problem that there is no code scanning button in the app of the likes micro store. When the third step is implemented, the likes micro store app cannot be used for code scanning authorization
Why doesn't my background have the option to exchange gold coins?Also, the recharge was successful, but the gold coins did not increase, and there was no record in the database!
@vepedThe problem of not adding gold coins has been solved. It is the problem of setting the push address. My problem is http, which was previously copied to https. Another question: where should I set the gold exchange rate?Also, if I add the recharge interface directly to the user background, can I automatically refresh the user background after the recharge is successful?
After the plug-in is used, click "Recharge Now". You cannot jump to the recharge interface. It is still the link on this page.The recharge link set in the background gold coin is not displayed
@Clouds fallClick the image in your article to automatically display the full size original image, and you can slide to view all the images of the article
Hello, I use the git theme. After entering a code section on a new page, the page becomes the home page, and there is no place to write the page address on the gold coin setting page. Please tell me how to break it. Thank you.
It's funny to set up Youzan Mall, and ignore Youzan micro shop in the text.Just now, all the micro stores have been completed, and the recharge can be completed. However, gold coins have not increased. Is it because of the use of management account to test?In short, there is no gold in the account.
The main reason is that Youzan is not a recharging channel, otherwise, it is OK to draw a higher price. The store is only available for a few days to try out, and it takes 4800 years to order a basic version.Not suitable for small station access.The previous version of the manual file is more suitable for small stations.
@Clouds fallLala la, for the micro store that has been changed, recharging is successful in the small store, but for the website, changing an ordinary user is also unsuccessful in receiving gold coins. Do you need to give higher permissions to a file?Also, is the download at the end of this article a plug-in?I haven't installed it yet. I think it's all set up in the theme. It's just a fake plug-in...
@Clouds fallBut the address is copied and modified directly. There should be no problem.Does the virtual host have settings that prohibit such push?I check whether the file exists on the host.
@True bonus discountFinally, I found the path of push.php in the host folder, so it's right to fill in this.Your address has been modified. I don't know whether the address used by the plug-in is correct or not, and those who use the theme must fail.Thank you. It's a perfect operation. The gold coins arrive quickly.
@True bonus discountMy screenshot is the address of the subject, because I'm too lazy to take another screenshot In addition, the functions of plug-ins are extracted from themes. If you install themes, do not install plug-ins
One good news and one bad news. I have configured it and can make payment. I have received a recharge from the likes.The bad news is that gold coins have not increased and no email notification has been received. Is there a plug-in in the last gold coin purchase?Isn't it the only difference.
When installing plug-ins in the background, an error was reported: the plug-in could not be enabled because it caused a fatal error. Fatal error: Cannot redeclare class Points_Plugin in D:\wwwroot\shenzhouw_y6jt3f\web\wp-content\plugins\WP-Points-1.5\points.php on line 28