Toggle navigation
Toggle navigation
This project
Loading...
Sign in
OnePoem
/
OnePoem-Server
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
李帅
2022-11-10 02:10:18 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
efe8fe60f8e1e497a81f524f37f85b8498db7298
efe8fe60
1 parent
4eeb2b8b
1.使用谷歌服务账号进行验证
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
3 deletions
app/Payment/GooglePayment.php
app/Payment/GooglePayment.php
View file @
efe8fe6
...
...
@@ -200,9 +200,7 @@ class GooglePayment implements PaymentInterface
//SUBSCRIPTION_REVOKED - 用户在到期时间之前已撤消订阅。
//SUBSCRIPTION_EXPIRED - 订阅已到期。
$data
=
base64_decode
(
$string
);
Log
::
debug
(
'base64解码数据:===================='
);
Log
::
debug
(
print_r
(
$data
,
true
));
$data
=
json_decode
(
base64_decode
(
$string
),
true
);
$packageName
=
$data
[
'packageName'
];
if
(
isset
(
$data
[
'subscriptionNotification'
]))
{
$subscriptionId
=
$data
[
'subscriptionNotification'
][
'subscriptionId'
];
...
...
Please
register
or
login
to post a comment