InAppPurchases expo

Hello! I’m building an app that uses in app purchases and I also have a server-side. I would like to validate the purchases in my backend, but I don’t see how can I get the receipt in the documentation. Is this possible using expo InAppPurchases ? Thanks!

1 Like

This might interest you for the play store https://developer.android.com/google/play/billing/billing_library_overview#Verify

How about with the App Store?

Basically you can do it in two ways:

  1. Schedule a job that getting the latest receipt from existing receipt.
  2. Server notification from Apple(but it has so many strange things e.g. the receipt is iOS6 instead of iOS 7 one)

I give up with it: