Authored by 郝肖肖

支付类https回退

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