李帅

1.使用谷歌服务账号进行验证

......@@ -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'];
......