Skip to main content
Solved

CustomerInfo is null


Forum|alt.badge.img+7

I have gone through the whole setup. I am testing on a phone I have already made an in-app-purchase on. At the start I received CustomerInfo correctly, but now it is empty all the time. Any idea what is going on?

 

For reference, the offerings are received correctly, and I can see the purchase in the dashboard. It seems to have another app user id though, for some reason.

Best answer by dev99

This link answers all my questions: 

 

Thank you for pointing me to it @Haley Pace 

View original
Did this post help you find an answer to your question?
This post has been closed for comments

3 replies

Forum|alt.badge.img+7
  • Author
  • Helper
  • 5 replies
  • January 6, 2023

Turns out I had to restore the purchase. Not sure why it was needed.

 

Should I have a restore button in my app? (I don’t have any login)


Forum|alt.badge.img+7
  • Author
  • Helper
  • 5 replies
  • January 6, 2023

One more thing, when I restore the purchases I get this output:

 

BillingClient: Error consuming purchase with token. Response code: 8

[Purchases] - ERROR: πŸ€–‼️ Error consuming purchase. Will retry next queryPurchases. DebugMessage: Item is not owned by the user.. ErrorCode: ITEM_NOT_OWNED.

 

Is this normal?

 


Forum|alt.badge.img+7
  • Author
  • Helper
  • 5 replies
  • Answer
  • January 6, 2023

This link answers all my questions: 

 

Thank you for pointing me to it @Haley Pace 


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