Solved

offerings are null

  • 7 November 2021
  • 3 replies
  • 365 views

Userlevel 1
Badge +4

Hello;

I have implemented nine android apps without a problem but I had a problem on my tenth one. I believe I followed the same steps. I have read the article;

 

but everything is correct according to it. I am testing on emulator. My closed test relase is approved about an hour ago. But I haven’t created a new app, I have updated an existing one. In my previous implemetations I even tested transactions when the closed track wasn’t approved. Here is the output;

D/[Purchases] - DEBUG(28193): ℹ️ Debug logging enabled
D/[Purchases] - DEBUG(28193): ℹ️ SDK Version - 4.3.3
D/[Purchases] - DEBUG(28193): 👤 Initial App User ID - null
D/[Purchases] - DEBUG(28193): 👤 Identifying App User ID: $RCAnonymousID:8830d25f03024192be28a9d2c439fef8
D/[Purchases] - DEBUG(28193): ℹ️ Deleting old synced subscriber attributes that don't belong to $RCAnonymousID:8830d25f03024192be28a9d2c439fef8
D/[Purchases] - DEBUG(28193): ℹ️ App foregrounded
D/[Purchases] - DEBUG(28193): ℹ️ PurchaserInfo cache is stale, updating from network in foreground.
D/[Purchases] - DEBUG(28193): ℹ️ Offerings cache is stale, updating from network in foreground
D/[Purchases] - DEBUG(28193): 😻 Offerings updated from network.
D/[Purchases] - DEBUG(28193): ℹ️ Skipping updating pending purchase queue since BillingClient is not connected yet.
D/[Purchases] - DEBUG(28193): ℹ️ No subscriber attributes to synchronize.
D/[Purchases] - DEBUG(28193): ℹ️ Listener set
D/[Purchases] - DEBUG(28193): ℹ️ Sending latest PurchaserInfo to listener.
D/[Purchases] - DEBUG(28193): ℹ️ Starting connection for com.android.billingclient.api.BillingClientImpl@8caecdf
D/[Purchases] - DEBUG(28193): ℹ️ Billing Service Setup finished for com.android.billingclient.api.BillingClientImpl@8caecdf
D/[Purchases] - DEBUG(28193): ℹ️ Updating pending purchase queue
D/[Purchases] - DEBUG(28193): ℹ️ No cached Offerings, fetching from network
D/[Purchases] - DEBUG(28193): Same call already in progress, adding to callbacks map with key: /subscribers/%24RCAnonymousID%3A8830d25f03024192be28a9d2c439fef8/offerings
D/[Purchases] - DEBUG(28193): ℹ️ API request started: GET /subscribers/%24RCAnonymousID%3A8830d25f03024192be28a9d2c439fef8
D/[Purchases] - DEBUG(28193): ℹ️ API request completed with status: GET /subscribers/%24RCAnonymousID%3A8830d25f03024192be28a9d2c439fef8 304
D/[Purchases] - DEBUG(28193): ℹ️ PurchaserInfo updated, sending to listener.
D/[Purchases] - DEBUG(28193): ℹ️ API request started: GET /subscribers/%24RCAnonymousID%3A8830d25f03024192be28a9d2c439fef8/offerings
D/[Purchases] - DEBUG(28193): ℹ️ API request completed with status: GET /subscribers/%24RCAnonymousID%3A8830d25f03024192be28a9d2c439fef8/offerings 304
D/[Purchases] - DEBUG(28193): ℹ️ Requesting products from the store with identifiers: inapp_11
D/[Purchases] - DEBUG(28193): ℹ️ Requesting products from the store with identifiers: inapp_11
D/[Purchases] - DEBUG(28193): ℹ️ Querying purchases
D/[Purchases] - DEBUG(28193): ℹ️ Products request finished for inapp_11
D/[Purchases] - DEBUG(28193): 💰 Retrieved skuDetailsList: 
D/[Purchases] - DEBUG(28193): ℹ️ Requesting products from the store with identifiers: inapp_11
D/[Purchases] - DEBUG(28193): ℹ️ Products request finished for inapp_11
D/[Purchases] - DEBUG(28193): 💰 Retrieved skuDetailsList: 
D/[Purchases] - DEBUG(28193): ℹ️ Requesting products from the store with identifiers: inapp_11
D/[Purchases] - DEBUG(28193): ℹ️ Products request finished for inapp_11
D/[Purchases] - DEBUG(28193): 💰 Retrieved skuDetailsList: 
D/[Purchases] - DEBUG(28193): ℹ️ Cleaning previously sent tokens
D/[Purchases] - DEBUG(28193): ℹ️ Tokens already posted: []
D/[Purchases] - DEBUG(28193): ℹ️ Saving tokens []
D/[Purchases] - DEBUG(28193): ℹ️ Products request finished for inapp_11
D/[Purchases] - DEBUG(28193): 💰 Retrieved skuDetailsList: 
D/[Purchases] - DEBUG(28193): ℹ️ Tokens already posted: []
D/[Purchases] - DEBUG(28193): ℹ️ Vending PurchaserInfo from cache.
D/[Purchases] - DEBUG(28193): ℹ️ Checking if cache is stale AppInBackground false

 

What could the reason be? Maybe I should wait about a day after the approval of my test release but this didn’t happen in my previous trials.

icon

Best answer by Ugur 11 November 2021, 10:47

View original

3 replies

Badge +3

I have a same problem. I received 304 code on offering request, when product ID was not same as in google play.

Userlevel 1
Badge +4

I guess the Google has changed its policy. I waited about a day and it began to work. I hope it is temporary.

Userlevel 1
Badge +4

Also complete the app content and covid tabs on for your application on the play store. This may also be a reason.

[Support edit to provide link: https://support.google.com/googleplay/android-developer/answer/9889712?hl=en]

Reply