
Warm reminder: The source code is only for learning and communication and artists. Please do not upload it to the Internet...
Because it is a demonstration station, I will not start socket.
Because it is a demonstration station, I will not start socket.
Because it is a demonstration station, I will not start socket.
Demonstration station backstage: 38827.4aq.cn/ht.php
Back-end account: admin
Backstage password: www.cnzhan.cn
Front desk address: 38827.4aq.cn (If you have logged in to the background, you need to use another browser to open the front desk)
Front desk account: 1301111111111
Front desk password: 13011111111111
Don't ask me how to use it, study it yourself
Installation and construction tutorial + environment
1. Environmental requirements
Pro-test environment: Linux+Nginx1.18+PHP5.6+ Mysl5.5
Configuration database file: /global/db. conf. php
php requires an extension installed: memcache/curl/imageick
Demonstration account configuration file: /home/controller/PayController. class. php
2. Directory permission configuration
1. The cache directory must be writable;
2.uploads directory must be writable;
3.global.conf.php Configure database connection parameters
4. The ports used for opening sockets to the public are generally 9502 and 9582 according to the configuration file
3. Open related services
cd /Catalog of websites you built/Examples: cd /www/wwwroot/www.cnzhan.cn/
php ./ socket.php start -d
Switch to the daemon directory:
cd /catalog of website you build/daemon example: cd /www/wwwroot/www.cnzhan.cn/daemon
php ./ watch.php start
Backstage address: /ht. php
Back-end account: admin
Backstage password: www.cnzhan.cn
The front desk account password is: 1301111111111 (If you have logged in to the background, you need to use another browser to open the front desk)
If there is an error in running, delete all functions disabled by PHP!
Source code description
Automatic confirmation of receipt + payment
Alipay H5 WeChat to mobile phone number WeChat to card aggregation code
No need to install XP framework, one main program can achieve all functions
----------------------
Supported channels: Unless otherwise specified, automatic callbacks can be made
1. Alipay wake-up payment (transfer code)
2. Alipay code scanning (individual code)
3. WeChat scan code (payment code)
4. WeChat to mobile phone number (no automatic callback)
5. WeChat card transfer
6. Bank Card Transfer Gateway
7. Alipay card transfer
8. cloud flash payment
9. Aggregate code (such as money is close)
10. Bank code (such as Agricultural Credit Easy Scan)
11. Alipay fixed code
12. WeChat appreciation code
Invalid channels: Taobao cash red envelopes, Weibo red envelopes
----------------------
release notes
V1.0.1 update date 2019/04/12
Ø Add sound reminders for new orders
Ø Important update: Add city-city priority matching function
Ø Optimize the payment guidance page
Ø Important update: Optimize code dealer agents and merchant agents, unlimited layers
V1.0.2 update date 2019/05/02
Ø Important update: Add the I Paid button to the payment interface, click it and lock the position until the order is completed or cancelled
Ø Add an order matching code vendor function to make up orders for inconsistent payment amounts
Ø You can set the code dealer withdrawal fee in the background
Ø Fix other known bugs
V1.0.3 update date 2019/07/23
Ø Important update: Orders do not match the same code vendor for the same amount without timeout or confirmation of payment
Ø Back-end order statistics function: pending payment, submitted, timed out, cancelled, completed status, statistics are more intuitive
Ø Optimize the front desk order page and display the effect
Ø Fix other known bugs
V1.0.4 update date 2019/08/20
Ø Important updates: Add automatic confirmation, support Alipay, WeChat, Money Close, and automatic callbacks for Cloud Flash Payment
Ø Add the one-click offline function of agents. Only when allowed can all members under the agent go online
Ø Add the function of identifying invalid codes, initiate automatic offline for 15 minutes without payment for 5 consecutive times, and prompt the code provider: This payment method is suspected to be abnormal, please confirm that it is normal before online (the digital background is adjustable)
V2.0.5 update date 2019/09/28
Ø Add payment Alipay information to the background order interface, which can still be displayed after the user deletes it, so as to avoid malicious non-confirmation of the code dealer's collection.
Ø Display the number of calls per code and the number of successful payments
Ø Important updates: Upload the QR code of Youfu, user payment experience, and simplify the program process
Ø After the code dealer deletes the collection code, it will be stored in the garbage station for a period of time
V2.1.6 update date 2019/10/12
Ø Important update: Add the payment model, and code merchants collect one sum at a time without receiving security funds
Ø Increase the trust model of code merchants, only agents need to recharge the security deposit, and code merchants collect money without the security deposit
Ø Repair interface compatibility
V2.1.7 update date 2019/11/03
Ø Optimize mobile phone monitoring function, an Android phone can monitor 4 Alipay and 51 WeChat messages
Ø Support Alipay H5, WeChat to mobile phone number, WeChat to card
Ø Fix other known bugs
V3.1.8 update date 2019/11/08
Ø Important update: Integrated mobile phone monitoring and main program, code vendors only need to install one APP
Ø Debugging APP adapts to virtual Android system, debugging for Red Finger platform
Ø Optimize the H5 experience and jump to Alipay to automatically copy the amount
v4.0 update date 2019/12/10
Ø Important update: Add credit lines to perfectly solve credit problems
Ø Adding RSA encrypted transmission makes data transmission more secure
Ø Add the ability to designate code merchants or code merchants agents for specific merchants to collect money
Ø Updated the socket framework, the number of connections has been increased from 2048 to unlimited, the speed has been increased by 20%, and the amount of concurrency has been effectively increased
V4.1 update date 2019/12/10
Ø Important update: Increase the Alipay transfer model with the amount (controlled Alipay can also be used)
Ø Increase collection import bank collection bill batch confirmation
Ø Optimize the trust model, the credit line cannot be withdrawn, and the rebate can be withdrawn directly
V5.0 update date 2019/12/31
Ø Important update: Add text messages and bank a-p-p monitoring
Ø Combined with monitoring updates, add bank collection codes, aggregate collection code channels and automatic callbacks, such as Rural Credit Easy Scan
Ø Improve the automatic callback of bank card transfer, Alipay card transfer, and WeChat card transfer
Ø Add clear data in the background, and redundant data can be selectively cleared according to the date
Ø Fix other existing bugs
V5.0.21 update date 2020/1/21
Ø Important update: Add Alipay fixed code channel, and the amount can be changed
Ø Improve the agency model, so that the agency can collect and distribute money, and solve the problem of scattered zhi funds
Ø Upgrade the system framework, strengthen system stability and security, and test the concurrency volume of 1000 pens/second
Ø Fix other known bugs
V6.0.1 update date 2020/3/21
Ø Important update: Fixed the problem that Alipay cannot automatically call back after upgrading
Ø Fix other known bugs
V6.0.2 update date 2020/4/9
Ø Upgrade automatic callback, compatible with virtual mobile phone platforms such as Hippo Cloud and Red Finger
Ø There can be both pre-charge and refund code providers (test version)
Ø Improve the callback rules, distinguish channel callbacks, and avoid automatic callbacks with errors
Ø Fixed a BUG that would cause duplicate orders to be received
Comments0