@EVOSandru6

Как настроить верификацию Google Pay платежа на сервере?

Всем привет!

Для реализации использовалась оф. библиотека:

https://github.com/googleapis/google-api-php-client

$client = new Google_Client();
        $client->setAuthConfig('auth_key.json');
        $client->addScope('www.googleapis.com/auth/a...
        $service = new Google_Service_AndroidPublisher($client);
        $purchase = $service->purchases_subscriptions->get(
            '%packageName%',
            '%productId%',
            '%token%'
        );

Прилетает:

{
"error": {
"code": 403,
"message": "The project id used to call the Google Play Developer API has not been linked in the Google Play Developer Console.",
"errors": [
{
"message": "The project id used to call the Google Play Developer API has not been linked in the Google Play Developer Console.",
"domain": "androidpublisher",
"reason": "projectNotLinked"
}
]
}
}


Сервисный аккаунт заведен для связи с приложением.
Права максимальные.
Может в ролях косяк быть.
  • Вопрос задан
  • 69 просмотров
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы
YCLIENTS Москва
от 200 000 до 350 000 ₽
Ведисофт Екатеринбург
от 25 000 ₽
ИТЦ Аусферр Магнитогорск
от 100 000 до 160 000 ₽