Introduction to the source code:
recommend this plug-in to friends who use Empire cms as a website, support Empire cms version 7.5 easy payment plug-in, and support WeChat Alipay interface.
Installation tutorial:
1. Unzip the uploaded file
2. Run the browser http://domain name/e/payapi/install/, click the installation submit operation, delete the /e/payapi/install folder after the installation is successful (
if you want to uninstall and re-upload install folder)
Uninstall tutorial:
1. Run http://domain name/e/payapi/install/ in the browser, click Uninstall to submit the operation, delete the /e/payapi/install folder after the installation is successful
download link
Temporary failure to make up
background
This plug-in is mainly suitable for domain names that have not been registered, but need to use the payment function. The plug-in name is "Imperial CMS Visa-Free Third-Party Payment Easy Payment Plug-in", which supports Alipay, WeChat, QQ wallet and other payment functions
The above renderings:
1. Please back up the database by yourself before installation
2. Please apply for the Easy Payment API payment interface
2. Unzip the file and overwrite the file, please back up before overwriting
4. Execute the SQL statement
Step background-system-backup and restore data-execute SQL statement
insert into [!db.pre!]enewspayapi (paytype,payfee,paysay,payname) values ("epey",0,"Enewspay without signing and instant payment system","Epey");
5. Add the data table phome_enewspayapic Step background-system-backup and restore data-execute SQL statement to view the database sql import.txt (here to import the SQL data table into your database) the following code does not need to be executed
CREATE TABLE `[!db.pre!]enewspayapic` ( `id` int(11) NOT NULL auto_increment, `checkpaysession` varchar(255) NOT NULL, `payphome` varchar(255) NOT NULL, `hbzl` varchar(255) NOT NULL, `userid` int(11) NOT NULL, `username` varchar(255) NOT NULL, `money` float(10,2) NOT NULL, `paymoneyddid` varchar(255) NOT NULL, `paymoneybgid` varchar(255) NOT NULL, `rzm` varchar(255) NOT NULL, `money2` float(10,2) NOT NULL, `time` int(11) NOT NULL, `ll` varchar(255) NOT NULL, `isf` tinyint(1) NOT NULL, `groupid` int(11) NOT NULL, PRIMARY KEY (`id`), UNIQUE KEY `id_2` (`id`), KEY `id` (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ;
6. Add the apiurl field to the payment interface and execute the code:
alter table [!db.pre!]enewspayapi add apiurl varchar(255) not null;
7. Modify your api interface information
8. Upload the file ListPayRecord.php to the background directory pay and overwrite the original file