RevenueCat

Build With RevenueCat

Build a customized mobile subscription business with RevenueCat. We do the heavy lifting of normalizing subscribers from any source and maintain a single source of truth for subscription status, so you can get back to building your app.

RevenueCat is a powerful, secure, reliable, and free to use in-app purchase server with global support. All you need to get started is an API key.

Ask A Question

Questions

6

Can't make purchases with error " There was a problem with the Play Store. | Google Play Error: The project id used to call the Google Play Developer API has not been linked in the Google Play Developer Console."

Hi I am using Flutter and already successfully setup the account, and can fetch the list of packages. However, when I am loading for first time and trying to make purchase I get this error: "There was a problem with the Play Store. | Google Play Error: The project id used to call the Google Play Developer API has not been linked in the Google Play Developer Console." I have followed the setup completely including this step: https://docs.revenuecat.com/docs/creating-play-service-credentials Is there any missing step and what is the solution? Thank you This is the log: D/[Purchases] - DEBUG(24741): Debug logging enabled. D/[Purchases] - DEBUG(24741): SDK Version - 3.0.4 D/[Purchases] - DEBUG(24741): Initial App User ID - null D/[Purchases] - DEBUG(24741): Identifying App User ID: $RCAnonymousID:54b92a6c8e2b4eaf95123a1202f4a6a2 D/[Purchases] - DEBUG(24741): App foregrounded D/[Purchases] - DEBUG(24741): Cache stale D/[Purchases] - DEBUG(24741): [QueryPurchases] Skipping updating pending purchase queue since BillingClient is not connected yet D/[Purchases] - DEBUG(24741): Listener set D/[Purchases] - DEBUG(24741): Sending latest purchaser info to listener D/[Purchases] - DEBUG(24741): Starting connection for [email protected] D/[Purchases] - DEBUG(24741): Ending connection for [email protected] D/[Purchases] - DEBUG(24741): Billing Service Setup finished for [email protected] D/[Purchases] - DEBUG(24741): [QueryPurchases] Updating pending purchase queue D/[Purchases] - DEBUG(24741): No cached offerings, fetching D/[Purchases] - DEBUG(24741): GET /subscribers/%24RCAnonymousID%3A54b92a6c8e2b4eaf95123a1202f4a6a2 D/[Purchases] - DEBUG(24741): GET /subscribers/%24RCAnonymousID%3A54b92a6c8e2b4eaf95123a1202f4a6a2 200 D/[Purchases] - DEBUG(24741): Purchaser info updated, sending to listener D/[Purchases] - DEBUG(24741): GET /subscribers/%24RCAnonymousID%3A54b92a6c8e2b4eaf95123a1202f4a6a2/offerings D/[Purchases] - DEBUG(24741): GET /subscribers/%24RCAnonymousID%3A54b92a6c8e2b4eaf95123a1202f4a6a2/offerings 200 D/[Purchases] - DEBUG(24741): Requesting products with identifiers: basic_plan, rocket_plan D/[Purchases] - DEBUG(24741): Requesting products with identifiers: basic_plan, rocket_plan D/[Purchases] - DEBUG(24741): [QueryPurchases] Querying subs D/[Purchases] - DEBUG(24741): [QueryPurchases] Querying inapp D/[Purchases] - DEBUG(24741): [QueryPurchases] Querying inapp D/[Purchases] - DEBUG(24741): Products request finished for basic_plan, rocket_plan D/[Purchases] - DEBUG(24741): Retrieved skuDetailsList: SkuDetails: {"skuDetailsToken":"AEuhp4LJn3zz4D_JSBFhb4P3AnEPRTXcfPEga_kVN_wDN0WhuolUHP3lw79A2WRXj0Y=","productId":"rocket_plan","type":"subs","price":"IDR 50,000.00","price_amount_micros":50000000000,"price_currency_code":"IDR","subscriptionPeriod":"P1M","title":"Member Roket Terbang (Konekzy)","description":"Paket Roket Terbang membuka semua fitur dan akses di aplikasi Konekzy"} D/[Purchases] - DEBUG(24741): rocket_plan - SkuDetails: {"skuDetailsToken":"AEuhp4LJn3zz4D_JSBFhb4P3AnEPRTXcfPEga_kVN_wDN0WhuolUHP3lw79A2WRXj0Y=","productId":"rocket_plan","type":"subs","price":"IDR 50,000.00","price_amount_micros":50000000000,"price_currency_code":"IDR","subscriptionPeriod":"P1M","title":"Member Roket Terbang (Konekzy)","description":"Paket Roket Terbang membuka semua fitur dan akses di aplikasi Konekzy"} D/[Purchases] - DEBUG(24741): Requesting products with identifiers: basic_plan D/[Purchases] - DEBUG(24741): Products request finished for basic_plan, rocket_plan D/[Purchases] - DEBUG(24741): Retrieved skuDetailsList: SkuDetails: {"skuDetailsToken":"AEuhp4LJn3zz4D_JSBFhb4P3AnEPRTXcfPEga_kVN_wDN0WhuolUHP3lw79A2WRXj0Y=","productId":"rocket_plan","type":"subs","price":"IDR 50,000.00","price_amount_micros":50000000000,"price_currency_code":"IDR","subscriptionPeriod":"P1M","title":"Member Roket Terbang (Konekzy)","description":"Paket Roket Terbang membuka semua fitur dan akses di aplikasi Konekzy"} D/[Purchases] - DEBUG(24741): rocket_plan - SkuDetails: {"skuDetailsToken":"AEuhp4LJn3zz4D_JSBFhb4P3AnEPRTXcfPEga_kVN_wDN0WhuolUHP3lw79A2WRXj0Y=","productId":"rocket_plan","type":"subs","price":"IDR 50,000.00","price_amount_micros":50000000000,"price_currency_code":"IDR","subscriptionPeriod":"P1M","title":"Member Roket Terbang (Konekzy)","description":"Paket Roket Terbang membuka semua fitur dan akses di aplikasi Konekzy"} D/[Purchases] - DEBUG(24741): Requesting products with identifiers: basic_plan D/[Purchases] - DEBUG(24741): [QueryPurchases] Purchase of type inapp with hash pDyOVEI67zRm0y100dgqV+Aoa6g= D/[Purchases] - DEBUG(24741): [QueryPurchases] Cleaning previously sent tokens D/[Purchases] - DEBUG(24741): [QueryPurchases] Tokens already posted: [] D/[Purchases] - DEBUG(24741): Products request finished for basic_plan D/[Purchases] - DEBUG(24741): Retrieved skuDetailsList: SkuDetails: {"skuDetailsToken":"AEuhp4LKH1y_-kuDaJc4ex4keacx19Rv0IEpyBRhnRP85jbsk_E85x_JGvg1irb7N_8A","productId":"basic_plan","type":"inapp","price":"IDR 50,000.00","price_amount_micros":50000000000,"price_currency_code":"IDR","title":"Basic Plan (Konekzy)","description":"Paket berbayar untuk membuka fitur standar chat, komunitas dan ilmu"} D/[Purchases] - DEBUG(24741): basic_plan - SkuDetails: {"skuDetailsToken":"AEuhp4LKH1y_-kuDaJc4ex4keacx19Rv0IEpyBRhnRP85jbsk_E85x_JGvg1irb7N_8A","productId":"basic_plan","type":"inapp","price":"IDR 50,000.00","price_amount_micros":50000000000,"price_currency_code":"IDR","title":"Basic Plan (Konekzy)","description":"Paket berbayar untuk membuka fitur standar chat, komunitas dan ilmu"} D/[Purchases] - DEBUG(24741): Products request finished for basic_plan D/[Purchases] - DEBUG(24741): Retrieved skuDetailsList: SkuDetails: {"skuDetailsToken":"AEuhp4LKH1y_-kuDaJc4ex4keacx19Rv0IEpyBRhnRP85jbsk_E85x_JGvg1irb7N_8A","productId":"basic_plan","type":"inapp","price":"IDR 50,000.00","price_amount_micros":50000000000,"price_currency_code":"IDR","title":"Basic Plan (Konekzy)","description":"Paket berbayar untuk membuka fitur standar chat, komunitas dan ilmu"} D/[Purchases] - DEBUG(24741): basic_plan - SkuDetails: {"skuDetailsToken":"AEuhp4LKH1y_-kuDaJc4ex4keacx19Rv0IEpyBRhnRP85jbsk_E85x_JGvg1irb7N_8A","productId":"basic_plan","type":"inapp","price":"IDR 50,000.00","price_amount_micros":50000000000,"price_currency_code":"IDR","title":"Basic Plan (Konekzy)","description":"Paket berbayar untuk membuka fitur standar chat, komunitas dan ilmu"} I/flutter (24741): basic_plan I/flutter (24741): 50000.0 I/flutter (24741): rocket_plan I/flutter (24741): 50000.0 D/[Purchases] - DEBUG(24741): POST /receipts D/[Purchases] - DEBUG(24741): POST /receipts 503 E/[Purchases] - ERROR(24741): There was a problem with the Play Store. | Google Play Error: The project id used to call the Google Play Developer API has not been linked in the Google Play Developer Console.

Posted by Steve 12 days ago