In-app purchase for auto-renewals subscription for sandbox

Dear Apple Support Team,

We are currently implementing auto-renewable subscriptions in our iOS app and are testing the integration using the sandbox environment.

On the iOS app side, the in-app purchase flow completes successfully and displays a "Purchase Successful" message. However, we are not receiving any server notification callbacks on our configured App Store Server Notifications (Sandbox) webhook URL.

For your reference, the webhook URL we have set in App Store Connect (Sandbox) is:

https://9c0f-182-79-123-254.ngrok-free.app/ios/webhook

Despite successfully completing a subscription purchase in the sandbox, there is no evidence that the webhook is being triggered.

We would appreciate your guidance in resolving this issue or confirming if there are any additional configurations or steps required on our end.

I'm having the same issue. In-app purchase callback is not responding.

Hello @vanijain3108 ,

Are you sure you are testing in Sandbox environment, and not using local Xcode testing with StoreKit configuration file, as discussed here?

If you are using Sandbox environment for testing, have the App Store server notifications URL configured in App Store Connect, and still don't see notifications coming through after test purchases, please file a ticket and post your FB# ticket number here for follow up.

Thank you!

yes I am using Xcode testing with StoreKit configuration file but when I am not using this then it show error product id not found for sandbox when my subscription id are ready to submit status and running on physical device , login with sandbox account on device also set the sandbox apple account form the developer option on device

In-app purchase for auto-renewals subscription for sandbox
 
 
Q