Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
郝肖肖
9 years ago
Commit
4a8b8f8c57a5f5cb2101170edc69c77e459ee632
1 parent
78c9bc70
支付类https回退
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
23 additions
and
23 deletions
library/WebPlugin/Pay/Allinpay/Config.php
library/WebPlugin/Pay/Cmb/Config.php
library/WebPlugin/Pay/Ips/Config.php
library/WebPlugin/Pay/Kqshenzhou/Config.php
library/WebPlugin/Pay/PayAbstract.php
library/WebPlugin/Pay/Shengpay/Config.php
library/WebPlugin/Pay/Unionpayweb/conf/release/SDKConfig.php
library/WebPlugin/Pay/Unionpayweb/conf/test/SDKConfig.php
library/WebPlugin/Pay/Wechatqrcode/Config.php
library/WebPlugin/Pay/weixin/JsApiPay.php
library/WebPlugin/Pay/weixin/lib/WxPayConfig.php
library/WebPlugin/Pay/Allinpay/Config.php
View file @
4a8b8f8
...
...
@@ -9,7 +9,7 @@ namespace WebPlugin\Pay\Allinpay;
*/
class
Config
{
var
$pay_url
=
'http
s
://service.allinpay.com/gateway/index.do'
;
var
$pay_url
=
'http://service.allinpay.com/gateway/index.do'
;
/**
* 编码
...
...
library/WebPlugin/Pay/Cmb/Config.php
View file @
4a8b8f8
...
...
@@ -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"
;
/**
...
...
library/WebPlugin/Pay/Ips/Config.php
View file @
4a8b8f8
...
...
@@ -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"
;
/**
* 商户编号
...
...
library/WebPlugin/Pay/Kqshenzhou/Config.php
View file @
4a8b8f8
...
...
@@ -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]不能同时为空。必须是绝对地址。
...
...
library/WebPlugin/Pay/PayAbstract.php
View file @
4a8b8f8
...
...
@@ -14,14 +14,14 @@ abstract class PayAbstract implements PayInterface {
*
* @var
*/
public
$baseNoticeUrl
=
"http
s
://www.yohobuy.com/pay/"
;
public
$baseNoticeUrl
=
"http://www.yohobuy.com/pay/"
;
/**
* 测试的回调地址
* Enter description here ...
* @var string
*/
public
$testBaseNoticeUrl
=
"http
s
://www.yohobuy.com/pay/"
;
public
$testBaseNoticeUrl
=
"http://www.yohobuy.com/pay/"
;
/**
* 获取支付的基地址
...
...
library/WebPlugin/Pay/Shengpay/Config.php
View file @
4a8b8f8
...
...
@@ -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
=
"http
s
://www.yohobuy.com/home"
;
var
$back_url
=
"http://www.yohobuy.com/home"
;
/**
* 货币类型
...
...
library/WebPlugin/Pay/Unionpayweb/conf/release/SDKConfig.php
View file @
4a8b8f8
...
...
@@ -48,9 +48,9 @@ const SDK_App_Request_Url = 'https://gateway.95516.com/gateway/api/appTransReq.d
// 前台通知地址 (商户自行配置通知地址)
const
SDK_FRONT_NOTIFY_URL
=
'http
s
://www.yohobuy.com/pay/notice/unionpaywebreturn'
;
const
SDK_FRONT_NOTIFY_URL
=
'http://www.yohobuy.com/pay/notice/unionpaywebreturn'
;
// 后台通知地址 (商户自行配置通知地址)
const
SDK_BACK_NOTIFY_URL
=
'http
s
://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/'
;
...
...
library/WebPlugin/Pay/Unionpayweb/conf/test/SDKConfig.php
View file @
4a8b8f8
...
...
@@ -44,9 +44,9 @@ const SDK_App_Request_Url = 'https://101.231.204.80:5000/gateway/api/appTransReq
// 前台通知地址 (商户自行配置通知地址)
const
SDK_FRONT_NOTIFY_URL
=
'http
s
://www.yohobuy.com/pay/notice/unionpaywebreturn'
;
const
SDK_FRONT_NOTIFY_URL
=
'http://www.yohobuy.com/pay/notice/unionpaywebreturn'
;
// 后台通知地址 (商户自行配置通知地址)
const
SDK_BACK_NOTIFY_URL
=
'http
s
://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/'
;
...
...
library/WebPlugin/Pay/Wechatqrcode/Config.php
View file @
4a8b8f8
...
...
@@ -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"
;
...
...
library/WebPlugin/Pay/weixin/JsApiPay.php
View file @
4a8b8f8
...
...
@@ -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
();
...
...
library/WebPlugin/Pay/weixin/lib/WxPayConfig.php
View file @
4a8b8f8
...
...
@@ -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:设置商户证书路径
...
...
Please
register
or
login
to post a comment