Authored by 郝肖肖

支付类https回退

@@ -9,7 +9,7 @@ namespace WebPlugin\Pay\Allinpay; @@ -9,7 +9,7 @@ namespace WebPlugin\Pay\Allinpay;
9 */ 9 */
10 class Config 10 class Config
11 { 11 {
12 - var $pay_url = 'https://service.allinpay.com/gateway/index.do'; 12 + var $pay_url = 'http://service.allinpay.com/gateway/index.do';
13 13
14 /** 14 /**
15 * 编码 15 * 编码
@@ -23,7 +23,7 @@ class Config @@ -23,7 +23,7 @@ class Config
23 * Enter description here ... 23 * Enter description here ...
24 * @var String 24 * @var String
25 */ 25 */
26 - var $merchantUrl = "//yohoerp.yoho.cn:10000/pay/notice/cmb"; 26 + var $merchantUrl = "http://yohoerp.yoho.cn:10000/pay/notice/cmb";
27 27
28 28
29 /** 29 /**
@@ -16,7 +16,7 @@ class Config @@ -16,7 +16,7 @@ class Config
16 * Enter description here ... 16 * Enter description here ...
17 * @var String 17 * @var String
18 */ 18 */
19 - var $payUrlTest = "//pay.ips.net.cn/ipayment.aspx"; 19 + var $payUrlTest = "http://pay.ips.net.cn/ipayment.aspx";
20 20
21 /** 21 /**
22 * 商户编号 22 * 商户编号
@@ -23,7 +23,7 @@ class Config @@ -23,7 +23,7 @@ class Config
23 * Enter description here ... 23 * Enter description here ...
24 * @var unknown_type 24 * @var unknown_type
25 */ 25 */
26 - var $bgUrl = "//yohoerp.yoho.cn:10000/pay/notice/kqshenzhou"; 26 + var $bgUrl = "http://yohoerp.yoho.cn:10000/pay/notice/kqshenzhou";
27 27
28 /** 28 /**
29 * 接受支付结果的页面地址.与[bgUrl]不能同时为空。必须是绝对地址。 29 * 接受支付结果的页面地址.与[bgUrl]不能同时为空。必须是绝对地址。
@@ -14,14 +14,14 @@ abstract class PayAbstract implements PayInterface { @@ -14,14 +14,14 @@ abstract class PayAbstract implements PayInterface {
14 * 14 *
15 * @var 15 * @var
16 */ 16 */
17 - public $baseNoticeUrl = "https://www.yohobuy.com/pay/"; 17 + public $baseNoticeUrl = "http://www.yohobuy.com/pay/";
18 18
19 /** 19 /**
20 * 测试的回调地址 20 * 测试的回调地址
21 * Enter description here ... 21 * Enter description here ...
22 * @var string 22 * @var string
23 */ 23 */
24 - public $testBaseNoticeUrl = "https://www.yohobuy.com/pay/"; 24 + public $testBaseNoticeUrl = "http://www.yohobuy.com/pay/";
25 25
26 /** 26 /**
27 * 获取支付的基地址 27 * 获取支付的基地址
@@ -9,26 +9,26 @@ class Config @@ -9,26 +9,26 @@ class Config
9 * Enter description here ... 9 * Enter description here ...
10 * @var string 10 * @var string
11 */ 11 */
12 - var $direct_pay_url = "//mas.sdo.com/web-acquire-channel/cashier30direct.htm"; 12 + var $direct_pay_url = "http://mas.sdo.com/web-acquire-channel/cashier30direct.htm";
13 13
14 /** 14 /**
15 * 直连方式支付测试地址 15 * 直连方式支付测试地址
16 * Enter description here ... 16 * Enter description here ...
17 * @var string 17 * @var string
18 */ 18 */
19 - var $direct_pay_url_test = "//mas.sdo.com/web-acquire-channel/cashier30direct.htm"; 19 + var $direct_pay_url_test = "http://mas.sdo.com/web-acquire-channel/cashier30direct.htm";
20 20
21 /** 21 /**
22 * 非直连方式支付地址 22 * 非直连方式支付地址
23 */ 23 */
24 - var $pay_url = "//mas.sdo.com/web-acquire-channel/cashier30.htm"; 24 + var $pay_url = "http://mas.sdo.com/web-acquire-channel/cashier30.htm";
25 25
26 /** 26 /**
27 * 非直连方式支付测试地址 27 * 非直连方式支付测试地址
28 * Enter description here ... 28 * Enter description here ...
29 * @var string 29 * @var string
30 */ 30 */
31 - var $pay_url_test = "//mas.sdo.com/web-acquire-channel/cashier30.htm"; 31 + var $pay_url_test = "http://mas.sdo.com/web-acquire-channel/cashier30.htm";
32 32
33 /** 33 /**
34 * 版本号 34 * 版本号
@@ -78,7 +78,7 @@ class Config @@ -78,7 +78,7 @@ class Config
78 * Enter description here ... 78 * Enter description here ...
79 * @var string 79 * @var string
80 */ 80 */
81 - var $back_url = "https://www.yohobuy.com/home"; 81 + var $back_url = "http://www.yohobuy.com/home";
82 82
83 /** 83 /**
84 * 货币类型 84 * 货币类型
@@ -48,9 +48,9 @@ const SDK_App_Request_Url = 'https://gateway.95516.com/gateway/api/appTransReq.d @@ -48,9 +48,9 @@ const SDK_App_Request_Url = 'https://gateway.95516.com/gateway/api/appTransReq.d
48 48
49 49
50 // 前台通知地址 (商户自行配置通知地址) 50 // 前台通知地址 (商户自行配置通知地址)
51 -const SDK_FRONT_NOTIFY_URL = 'https://www.yohobuy.com/pay/notice/unionpaywebreturn'; 51 +const SDK_FRONT_NOTIFY_URL = 'http://www.yohobuy.com/pay/notice/unionpaywebreturn';
52 // 后台通知地址 (商户自行配置通知地址) 52 // 后台通知地址 (商户自行配置通知地址)
53 -const SDK_BACK_NOTIFY_URL = 'https://www.yohobuy.com/pay/notice/unionpaywebnotice'; 53 +const SDK_BACK_NOTIFY_URL = 'http://www.yohobuy.com/pay/notice/unionpaywebnotice';
54 54
55 //文件下载目录 55 //文件下载目录
56 const SDK_FILE_DOWN_PATH = '/Data/logs/pc_pay/unionpay/files/'; 56 const SDK_FILE_DOWN_PATH = '/Data/logs/pc_pay/unionpay/files/';
@@ -44,9 +44,9 @@ const SDK_App_Request_Url = 'https://101.231.204.80:5000/gateway/api/appTransReq @@ -44,9 +44,9 @@ const SDK_App_Request_Url = 'https://101.231.204.80:5000/gateway/api/appTransReq
44 44
45 45
46 // 前台通知地址 (商户自行配置通知地址) 46 // 前台通知地址 (商户自行配置通知地址)
47 -const SDK_FRONT_NOTIFY_URL = 'https://www.yohobuy.com/pay/notice/unionpaywebreturn'; 47 +const SDK_FRONT_NOTIFY_URL = 'http://www.yohobuy.com/pay/notice/unionpaywebreturn';
48 // 后台通知地址 (商户自行配置通知地址) 48 // 后台通知地址 (商户自行配置通知地址)
49 -const SDK_BACK_NOTIFY_URL = 'https://www.yohobuy.com/pay/notice/unionpaywebnotice'; 49 +const SDK_BACK_NOTIFY_URL = 'http://www.yohobuy.com/pay/notice/unionpaywebnotice';
50 50
51 //文件下载目录 51 //文件下载目录
52 const SDK_FILE_DOWN_PATH = '/Data/logs/pc_pay/unionpay/files/'; 52 const SDK_FILE_DOWN_PATH = '/Data/logs/pc_pay/unionpay/files/';
@@ -4,14 +4,14 @@ namespace WebPlugin\Pay\Wechatqrcode; @@ -4,14 +4,14 @@ namespace WebPlugin\Pay\Wechatqrcode;
4 4
5 class Config 5 class Config
6 { 6 {
7 - var $payment_url = "//www.yohobuy.com/pay/wechatqrcode"; 7 + var $payment_url = "http://www.yohobuy.com/pay/wechatqrcode";
8 //pay.yohobuy.com 8 //pay.yohobuy.com
9 - var $pay_url = "//pay.test.yohobuy.com/payment/cashier"; 9 + var $pay_url = "http://pay.test.yohobuy.com/payment/cashier";
10 10
11 - var $pay_developer_url = "//pay.test.yohobuy.com/payment/cashier";//本地  
12 - var $pay_testing_url = "//pay.test.yohobuy.com/payment/cashier";//测试  
13 - var $pay_preview_url = "//pay.yohobuy.com/payment/cashier";//预生产  
14 - var $pay_production_url = "//pay.yohobuy.com/payment/cashier";//正式 11 + var $pay_developer_url = "http://pay.test.yohobuy.com/payment/cashier";//本地
  12 + var $pay_testing_url = "http://pay.test.yohobuy.com/payment/cashier";//测试
  13 + var $pay_preview_url = "http://pay.yohobuy.com/payment/cashier";//预生产
  14 + var $pay_production_url = "http://pay.yohobuy.com/payment/cashier";//正式
15 //平台app_key private_key 15 //平台app_key private_key
16 var $app_key = "adbf5a778175ee75"; 16 var $app_key = "adbf5a778175ee75";
17 var $private_key = "adbf5a778175ee757c34d0eba4e932bc"; 17 var $private_key = "adbf5a778175ee757c34d0eba4e932bc";
@@ -52,7 +52,7 @@ class JsApiPay @@ -52,7 +52,7 @@ class JsApiPay
52 //通过code获得openid 52 //通过code获得openid
53 if (!isset($_GET['code'])) { 53 if (!isset($_GET['code'])) {
54 //触发微信返回code码 54 //触发微信返回code码
55 - $baseUrl = urlencode('//' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']); 55 + $baseUrl = urlencode('http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']);
56 $url = $this->__CreateOauthUrlForCode($baseUrl); 56 $url = $this->__CreateOauthUrlForCode($baseUrl);
57 Header("Location: $url"); 57 Header("Location: $url");
58 exit(); 58 exit();
@@ -31,7 +31,7 @@ class WxPayConfig @@ -31,7 +31,7 @@ class WxPayConfig
31 const APPSECRET = 'ce21ae4a3f93852279175a167e54509b'; 31 const APPSECRET = 'ce21ae4a3f93852279175a167e54509b';
32 //=======【异步通知url设置】=================================== 32 //=======【异步通知url设置】===================================
33 //异步通知url,商户根据实际开发过程设定 33 //异步通知url,商户根据实际开发过程设定
34 - const NOTIFY_URL = '//www.yohobuy.com/pay/notice/wechatqrcodenotify'; 34 + const NOTIFY_URL = 'http://www.yohobuy.com/pay/notice/wechatqrcodenotify';
35 //=======【证书路径设置】===================================== 35 //=======【证书路径设置】=====================================
36 /** 36 /**
37 * TODO:设置商户证书路径 37 * TODO:设置商户证书路径