Question

ERROR: 🍎‼️ The receipt is missing.

  • 9 February 2023
  • 2 replies
  • 667 views

Badge +5

a user deletes the app and data off their device. They previously purchased some non-consumable items. The reinstall. I run syncPurchases one time in the app delegate. I get this error 

ERROR: 🍎‼️ The receipt is missing.

I expected it to return the non-consumable entitlements in the customerinfo. Any idea what I am doing wrong?


2 replies

Userlevel 6
Badge +8

Hey @Ethan!

Is this happening when testing in sandbox? Generally in sandbox mode, a receipt isn’t available until a purchase has been made, leading to missing receipt errors before that occurs. Once a purchase is made and the receipt is populated, you should be able to sync/restore purchases as expected.

This is unique to sandbox and generally doesn’t occur in production as a receipt is typically always available from the store before another purchase occurs.

Badge

Hi @cody 
how can I made purchase and after that use Purchases.getPromotionalOffer.

when I want to get promotional offers I face:
ERROR: 🍎‼️ The receipt is missing.

also I’m using sandbox.

Reply