Skip to main content
Solved

offerings are null

  • 7 November 2021
  • 3 replies
  • 400 views

Forum|alt.badge.img+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.

Best answer by Ugur

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]

View original
Did this post help you find an answer to your question?

3 replies

Forum|alt.badge.img+3
  • Member
  • 5 replies
  • November 10, 2021

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


Forum|alt.badge.img+4
  • Author
  • Helper
  • 5 replies
  • November 11, 2021

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


Forum|alt.badge.img+4
  • Author
  • Helper
  • 5 replies
  • Answer
  • November 11, 2021

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings