Available in Classic and VPC
This is a console user guide for using the Apple payment feature.
For more information on how to use the console other than GAMEPOT integration, see the App Store Connect page.
Register App Store information on GAMEPOT dashboard
Click the GAMEPOT dashboard > Project settings > Store > App Store menus, in that order.
- Version: Enter v3.
- Bundle ID: When validating receipt, it compares the bundle ID ( XX.XX.XX ) in the Apple receipt and if it is wrong, it will be judged as an illegal payment and the payment will fail.
- Issuer ID: Enter App Store Connect > Users and Access > Integration > In-app Purchase > Issuer ID.
- Key ID: Create App Store Connect > Users and Access > Integration > In-app Purchase > Key, and then enter the created key ID.
- Private key: Upload the .p8 file downloaded from the key settings.
- Apple Password: Enter App Store Connect > Users and Access > Integration > Shared Secret. It will perform fake payment validation based on the entered shared secret and fail the payment if it does not match.

Check app-specific shared secret (Apple Password)
-
Go to App Store > Select project>App Information > App-Specific Shared Secret > Click Manage.

-
Click Users and Access > Shared Secret.

Add in-app product in console
-
Access App Store Connect > My Apps > Select project > In-app Purchase > Click the + button.

-
Enter the contents of the pop-up that appears when creating an in-app purchase, and then click the [Create] button.
- Type: The GAMEPOT SDK only supports the consumable type, so be sure to select "Consumable."
- Identification information: In-app product name that is only visible in the store console (not the product name that is visible to the user)
- Product ID: unique in-app ID (product id) value

-
Click the App Availability > [Set Up Availability] button to set the country.

-
Click the Price Schedule > [Add Pricing] button to set up the base country and price.

-
Click the App Store Localizations > [+] button to add the in-app product name and in-app product description.

-
Fill out App Review > Screenshot and Review Notes.
- Screenshot: A screenshot of the in-app product added. If the screenshot does not fit the size that can be added, it cannot be added.
(Check App review screenshot specifications) - Review Notes: Add a description of the newly added in-app product location.
- After entering the screenshot and review notes, click the [Save] button at the top to save. Once it is saved, the [Submit for Review] button will be activated.
- [심사를 위해 제출] 버튼을 클릭하여 인앱 상품 추가에 대한 검수를 진행할 수 있습니다.(앱 심사와 별도)

- Screenshot: A screenshot of the in-app product added. If the screenshot does not fit the size that can be added, it cannot be added.
-
In the far right side of the Apps > In-App Purchases > In-app purchase list, make sure it says "Ready to Submit."

Add in-app product in GAMEPOT dashboard
-
Click the GAMEPOT dashboard > Payment > IAP > Add in-app item button.

-
Set the status and enter the store, product name, and product ID, and then click the [Add] button.
- Status: Register as Active status. (Unused products are deactivated.)
- Store: Select the store where you want to register the in-app
- Product name: in-app's product name
- Product ID: in-app ID (Product Id) that you entered in the store console
App Store server notifications
This part is used to get payment cancellation information, and GAMEPOT only supports V1 notification type.
You can check the notification address by clicking the GAMEPOT dashboard > Purchase > Canceled payment > Payment fraud prevention settings > [Copy address] button.
The relevant address varies depending on the dashboard Region.


Set in-app payment StoreKit
-
Create a Storekit file like SyncedProducts.storekit to sync it.

-
Ensure that StoreKit configuration is connected in Product > Scheme > Edit Scheme > Run.

- You can go to the Root folder, click New File, and then select StoreKit to create it.