Closed Andromeda606 closed 3 years ago
I'm trying to call getPurchaseState() but it doesn't work, what's the problem?
$response = $validator->setPackageName('com.code365.likers') ->setProductId($row["count"]) ->setPurchaseToken($row["token"]) ->validateSubscription(); print_r((($response->getPurchaseState())));
PHP Fatal error: Uncaught Error: Call to undefined method ReceiptValidator\GooglePlay\SubscriptionResponse::getPurchaseState() in /blablabla/blablabla/
url I used this starting from here.
I'm trying to call getPurchaseState() but it doesn't work, what's the problem?
$response = $validator->setPackageName('com.code365.likers') ->setProductId($row["count"]) ->setPurchaseToken($row["token"]) ->validateSubscription(); print_r((($response->getPurchaseState())));
PHP Fatal error: Uncaught Error: Call to undefined method ReceiptValidator\GooglePlay\SubscriptionResponse::getPurchaseState() in /blablabla/blablabla/
url I used this starting from here.