Home >CMS Tutorial >Empire CMS >What is the latest gateway address change method of Imperial CMS Alipay interface?
What is the latest gateway address change method for the Empire cms Alipay interface?
I heard that Alipay will update all payment interface gateway addresses, which means that webmasters who use Imperial CMS will have to change the payment gateway address. Next, I will introduce you in detail how to modify it. If you are interested, you can refer to it, I hope it can help you
It is recommended to study "Empire cms tutorial"
It is said that Alipay needs to update all payments Interface gateway address. Users using Imperial CMS can change it to the latest interface gateway address as follows:
Modify the /e/payapi/alipay/to_pay.php file and put:
The code is as follows :
$gotopayurl='https://www.alipay.com/cooperate/gateway.do?'.$param.'&sign='.$sign.'&sign_type='.$sign_type;
This sentence is modified to:
The code is as follows:
$gotopayurl='https://mapi.alipay.com/gateway.do?'.$param.'&sign='.$sign.'&sign_type='.$sign_type;
Then save the file.
The above is the detailed content of What is the latest gateway address change method of Imperial CMS Alipay interface?. For more information, please follow other related articles on the PHP Chinese website!