Purchase success for a restricted countries with In-App Purchases

Hi team, I tested the purchase flow under different country. I logged in store sandbox as a Japan account. I can get the product list result which shows $1200 monthly which match the price mapping in AppStore console even my App only enabled Canada and United State in Appstore connect . Purchase this product is also success in sandbox.

why purchase is success can you help me understand what else we need to do ?

Replies

App's availabilities and IAP's availabilities are independent.

You need to set availability for in-app purchases separately. Please refer to this document for how to set availability for in-app purchases. https://developer.apple.com/help/app-store-connect/manage-in-app-purchases/set-availability-for-in-app-purchases

Thank you!