To use purchase of Apple subscription products, you need to generate a secret key and set the Notification URL in App Store Connect. Register the secret key in the IAP app information. Purchase of Apple consumable products does not require any specific settings.
Reference https://help.apple.com/app-store-connect/#/devf341c0f01
A shared secret key can be created as a master key common to all apps, or it can be created for each app.
Register the secret key in the IAP app information.
1. Go to App Store Connect
2. Click [My Apps]
3. Click [Master Shared Secret]
1. Go to App Store Connect
2. Click [My Apps] > Click [App] you want to create > Click [Features] on the toolbar
3. Click [App-Specific Shared Secret]
1. In Gamebase > Purchase (IAP) > Store menu, select registered App store information
2. Enter Apple Shared Secret
1. Go to App Store Connect > My Apps > App Information > General Information
2. Register the IAP URL in Production Server URL.
- URL: https://api-iap.cloud.toast.com/callback/subscription/{YOUR_PACKAGE_NAME}/AS
- {YOUR_PACKAGE_NAME} : app bundle id