B2 theme modification: make B2 theme support mobile photo album capture payment

» WordPress » B2 theme modification: make B2 theme support mobile photo album capture payment

A few days ago, Yunluo did the code modification of ripro theme. Recently, some other friends asked me to help modify the B2 theme. Here we send it out together

 B2 theme modification: make B2 theme support mobile photo album screenshot payment - geek Park

explain

If you don't understand the explanation, then you can use your own B2 theme to try mobile browser payment, which requires scanning code, but you can't pay by phone screenshot to wechat. Oh, this is payjs payment, other methods are not clear
B2主题修改:使B2主题支持手机相册截图支付-极客公园

code

Copy the following code to b2/Modules/Common/Pay.php File, search //Payjs payment , and replace the following code

B2 topic code upgrade, the modified code here is temporarily invalid and temporarily closed
Paid content

Currently hidden content needs to be paid

RMB 50000000000000

already existing three People pay

If you can't or don't do it well, you can contact Yunluo. The code has been measured and OK

--Over--

Comment

Your email address will not be disclosed. Required item used * tagging

12 replies to "B2 theme modification: make B2 theme support mobile photo album capture payment"

    1. @ cnm Sorry, I didn't use the B2 theme. The previous code was from someone else's website. It was OK and feasible at that time. After the upgrade of B2 theme version, the code here was invalid. There was no money fraud. I didn't use this theme, so I didn't know whether there was any wood or no effect. I closed the paid visible one

    2. @ cnm Maybe Yunluo didn't specify the effective version number for this topic. There are many themes that need to be upgraded once. It is impossible for a plug-in or code modification to be suitable for each version number. There's no need to be an angry young man.

  1. If you can't or don't do it well, you can contact Yunluo. The code has been measured and OK

    Did not do a good job, after covering the payment code, the two-dimensional code did not generate and prompted a fatal error. How to contact ah, the article replied, the website left a message below.
    No contact information seems to be found on the website.. Can only wait for a reply..

  2. After covering the post payment code, the QR code is not generated and indicates that a fatal error has been encountered.

      1. @ Gavi Yunluo tries a new taste! It should also have a lot to do with the author's energy. Git as a free topic, there are too many people who come here to seek help. They all need to spend a lot of time and energy to deal with it. It's not easy to stick to it for so many years.