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
399be78f6aae211c541ffbb4d46d4dd5842bbaae
1 parent
61e38f1e
银联回调地址不走java,后期在做该功能
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
library/WebPlugin/Pay/Unionpayweb/Service.php
library/WebPlugin/Pay/Unionpayweb/Service.php
View file @
399be78
...
...
@@ -79,6 +79,7 @@ class Service extends PayAbstract
public
function
getPayRequestPars
(
Reqparams
$params
)
{
$front_notify_url
=
SDK_FRONT_NOTIFY_URL
.
'?order_code='
.
$params
->
orderCode
;
$requestParams
=
array
(
'version'
=>
'5.0.0'
,
//版本号
'encoding'
=>
'utf-8'
,
//编码方式
...
...
@@ -86,8 +87,8 @@ class Service extends PayAbstract
'txnType'
=>
'01'
,
//交易类型
'txnSubType'
=>
'01'
,
//交易子类
'bizType'
=>
'000201'
,
//业务类型
'frontUrl'
=>
Helpers
::
url
(
'/pay/payreturn/unionpaywebreturn'
,
array
(
'order_code'
=>
$params
->
orderCode
)),
//前台通知地址--同步地址
'backUrl'
=>
Yohobuy
::
SERVICE_URL
.
'payment/unionpay_newnotify'
,
//后台通知地址--异步地址
'frontUrl'
=>
$front_notify_url
,
//前台通知地址--同步地址
'backUrl'
=>
SDK_BACK_NOTIFY_URL
,
//后台通知地址--异步地址
'signMethod'
=>
'01'
,
//签名方法
'channelType'
=>
'07'
,
//渠道类型,07-PC,08-手机
'accessType'
=>
'0'
,
//接入类型
...
...
Please
register
or
login
to post a comment