## 彩虹代刷
应用名:应用名
后端通知notify:http://域名/other/epay_notify.php
前端跳转return:http://域名/other/epay_return.php
应用URL:http://域名/
![](https://box.kancloud.cn/cb249a527af5cbbb5b98773ffe55319f_541x261.png)
~~把/other/inc.php 中这部分里的域名 全部修改为[www.jiuaipay.com](http://www.jiuaipay.com)~~
>~~[danger] 注意域名有没有开启https 没有就不要加~~
~~~
if($conf['payapi']==1){
$payapi = 'http://www.jiuaipay.com/';
}elseif($conf['payapi']==2){
$payapi = 'http://www.jiuaipay.com/';
}elseif($conf['payapi']==3){
$payapi = 'http://www.jiuaipay.com/';
}elseif($conf['payapi']==4){
$payapi = 'http://www.jiuaipay.com/';
}elseif($conf['payapi']==5){
$payapi = 'http://www.jiuaipay.com/';
}elseif($conf['payapi']==6){
$payapi = 'http://www.jiuaipay.com/';
}elseif($conf['payapi']==7){
$payapi = 'http://www.jiuaipay.com/';
}else{
$payapi = 'http://www.jiuaipay.com/';
}
~~~
![](https://box.kancloud.cn/3ec04b753571809c8ba051232d842f8e_653x408.png)
~~到空间 把/other/epay/epay_submit.class.php 中第16行改成【!!!现在可以不用改这个文件了!!!】~~
~~~
this->alipay_gateway_new = $this->alipay_config['apiurl'].'payapi.php?';
~~~
![](https://box.kancloud.cn/5ed1c751dc4a0db74d4db41ce47c6c66_731x367.png)
代刷网后台 只开启支付宝 钱包 微信 财付通不要开 没人用
> 商户ID 就是应用id
> 密匙 就是应用key
![](https://box.kancloud.cn/584d0eaaef26e8f3f9169648abb5975f_847x509.png)