Issue in tracking In App Purchase payment

We're facing some trouble with In App Purchases in our app. We are not able to confirm the purchase when users don't come back to the app right after purchasing an in app product as we will not be able to reach our backend.

We were thinking, would it be possible to have a web hook that triggers after receiving the payment from the customer? This would help us keep track of purchases, even if users don't come back to the app immediately after purchasing.

We configured consumable in app purchases in our app. We credit the same amount to user's in app wallet after doing an in app purchase.

Any help or advice you can give on this would be awesome!

Hello--I think what you're looking for can be found in more detail here: https://developer.apple.com/documentation/appstoreservernotifications. Hope it helps!

I went through server notification docs. But I think it only supports subscription related in app purchases. In our case in app purchases are not subscription based, they are purchased one time. Please correct me if I'm wrong.

Issue in tracking In App Purchase payment
 
 
Q