Hello,
I have an app, where I’m selling pictures. I have Non-Consumable and Auto-Renewable Subscription formula. This means, you can buy pictures one by one or you can subscribe for one year to get all of them.
My GET API check your inventory, to make sure you own the image. Therefore I synchronise the database via Webhook.
My RevenueCat structures look like this:
- I have 1 offering called default, with 2 packages (Annual and Lifetime)
- Annual package has 1 product
- Lifetime package has 1 product (I don’t want to map the product-image one by one, cuz it’s not scaleable)
- I have 2 entitlements
- First one is for lifetime things, therefore this has only 1 product (Lifetime package)
- Second one is for subscriptions and lifetime things, therefore this has 2 products
My problem is, if my customer make a Non-Consumable purchase (so buy only 1 image), my webhook called, but i do not know, which image was bought. I know who bought, cuz after login I’m settings the app_user_id.
Any suggestion?