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
Plain Diff
Browse Files
Authored by
whb
9 years ago
Commit
a42512c512dadbae7c60e6e6795868bf0726d943
2 parents
500c39e4
bbea8b46
Merge branch 'temp'
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
10 deletions
library/WebPlugin/Pay/Alibank/Service.php
library/WebPlugin/Pay/Alipay/Service.php
library/WebPlugin/Pay/Shengpay/Service.php
library/WebPlugin/Pay/Tenpay/Service.php
library/WebPlugin/Pay/Wechatqrcode/Service.php
library/WebPlugin/Pay/Alibank/Service.php
View file @
a42512c
...
...
@@ -112,7 +112,7 @@ class Service extends PayAbstract
*/
$this
->
log
->
LogInfo
(
"===开始解析支付宝银行的回调参数==="
);
$this
->
log
->
logInfo
(
"-----回调参数为---"
);
$this
->
log
->
logInfo
(
var_export
(
$arrResponse
));
$this
->
log
->
logInfo
(
var_export
(
$arrResponse
)
,
true
);
if
(
isset
(
$arrResponse
[
'q'
])){
unset
(
$arrResponse
[
'q'
]);
...
...
library/WebPlugin/Pay/Alipay/Service.php
View file @
a42512c
...
...
@@ -48,7 +48,7 @@ class Service extends PayAbstract
{
$this
->
log
->
LogInfo
(
"===开始处理支付宝的请求参数==="
);
$this
->
log
->
logInfo
(
"-----请求参数为---"
);
$this
->
log
->
logInfo
(
var_export
(
$params
));
$this
->
log
->
logInfo
(
var_export
(
$params
,
true
));
$baseUrl
=
$this
->
getBaseNoticeUrl
(
$params
->
isTest
);
// $loseTime = intval(($params->orderTime + 7200 -time())/60);
...
...
@@ -110,7 +110,7 @@ class Service extends PayAbstract
*/
$this
->
log
->
LogInfo
(
"===开始解析支付宝的回调参数==="
);
$this
->
log
->
logInfo
(
"-----回调参数为---"
);
$this
->
log
->
logInfo
(
var_export
(
$arrResponse
));
$this
->
log
->
logInfo
(
var_export
(
$arrResponse
,
true
));
if
(
isset
(
$arrResponse
[
'q'
]))
{
unset
(
$arrResponse
[
'q'
]);
...
...
library/WebPlugin/Pay/Shengpay/Service.php
View file @
a42512c
...
...
@@ -33,7 +33,7 @@ class Service extends PayAbstract
$this
->
log
->
LogInfo
(
"===开始处理盛付通的请求参数==="
);
$this
->
log
->
logInfo
(
"-----请求参数为---"
);
$this
->
log
->
logInfo
(
var_export
(
$params
));
$this
->
log
->
logInfo
(
var_export
(
$params
,
true
));
$bankCode
=
$params
->
paymentParameter
==
'platform'
?
''
:
$params
->
paymentParameter
;
$baseUrl
=
$this
->
getBaseNoticeUrl
(
$params
->
isTest
);
...
...
@@ -110,7 +110,7 @@ class Service extends PayAbstract
{
$this
->
log
->
LogInfo
(
"===开始处理盛付通的请求参数==="
);
$this
->
log
->
logInfo
(
"-----请求参数为---"
);
$this
->
log
->
logInfo
(
var_export
(
$arrResponse
));
$this
->
log
->
logInfo
(
var_export
(
$arrResponse
,
true
));
$rsp
=
new
Rspparams
();
if
(
!
$this
->
checkResponse
(
$arrResponse
))
{
...
...
library/WebPlugin/Pay/Tenpay/Service.php
View file @
a42512c
...
...
@@ -36,7 +36,7 @@ class Service extends PayAbstract
{
$this
->
log
->
LogInfo
(
"===开始处理财付通的请求参数==="
);
$this
->
log
->
logInfo
(
"-----请求参数为---"
);
$this
->
log
->
logInfo
(
var_export
(
$params
));
$this
->
log
->
logInfo
(
var_export
(
$params
,
true
));
parent
::
getPayRequestPars
(
$params
);
$baseUrl
=
$this
->
getBaseNoticeUrl
(
$params
->
isTest
);
...
...
@@ -78,7 +78,7 @@ class Service extends PayAbstract
{
$this
->
log
->
LogInfo
(
"===开始处理财付通的回调参数==="
);
$this
->
log
->
logInfo
(
"-----回调参数为---"
);
$this
->
log
->
logInfo
(
var_export
(
$arrResponse
));
$this
->
log
->
logInfo
(
var_export
(
$arrResponse
,
true
));
$rsp
=
new
Rspparams
();
if
(
!
$this
->
checkResponse
(
$arrResponse
))
{
...
...
library/WebPlugin/Pay/Wechatqrcode/Service.php
View file @
a42512c
...
...
@@ -52,7 +52,7 @@ class Service extends PayAbstract
public
function
pay
(
array
$orderInfo
)
{
$this
->
log
->
LogInfo
(
"===开始处理微信扫码支付的请求参数==="
);
$this
->
log
->
logInfo
(
"-----请求参数为---"
);
$this
->
log
->
logInfo
(
var_export
(
$orderInfo
));
$this
->
log
->
logInfo
(
var_export
(
$orderInfo
,
true
));
//生成签名
$this
->
orderCode
=
$orderInfo
[
'order_code'
];
...
...
@@ -83,7 +83,7 @@ class Service extends PayAbstract
$this
->
log
->
LogInfo
(
"===开始处理微信扫码支付的支付地址==="
);
$this
->
log
->
logInfo
(
"-----支付地址数据为---"
);
$this
->
log
->
logInfo
(
var_export
(
$payUrlInfo
));
$this
->
log
->
logInfo
(
var_export
(
$payUrlInfo
,
true
));
$payUrl
=
$payUrlInfo
[
'pay_url'
]
.
'?'
.
$payUrlInfo
[
'pars'
];
...
...
@@ -104,7 +104,7 @@ class Service extends PayAbstract
$result
=
WxPayApi
::
orderQuery
(
$input
);
$this
->
log
->
logInfo
(
"===查询微信扫码支付的结果结束,结果为==="
);
$this
->
log
->
logInfo
(
var_export
(
$result
));
$this
->
log
->
logInfo
(
var_export
(
$result
,
true
));
$rsp
=
new
Rspparams
();
// 支付成功
...
...
Please
register
or
login
to post a comment