BrandonWhitton's Recent Forum Activity

  • Yes, it's working fine. I've tested extensively and have had no further problems with the IAP.

  • Some days I wonder about myself. MobileIAP.ProductPrice(MyIAP_ID) should do the trick.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I'm currently developing an app with IAP for IOS. The IAP functions correctly and I am able to purchase the IAP, and unlock content in my app once the IAP is purchased. My one difficulty is in obtaining the local price for an IAP. I've been trying to use "ProductPrice(ProductID)" as is detailed in the Construct 3 manual. I'm obviously doing something wrong because I cannot get this working.

    Please note that I've exported my app for IOS as an xcode project. I've then sent it through to App Store Connect and have then put it on my phone with Test Flight.

    What I've tried to do is use - MobileIAP -> On store registration success -> System -> Set Global Variable to"ProductPrice(MyIAP_ID)"

    I've then tried to set a text control on another layout to the value held by this global variable. All this does is display "ProductPrice(MyIAP_ID)" in the text control rather than the localized IAP price. I'm sure I'm setting things up incorrectly, but it is difficult to know what to do when I can find no expanded documentation or examples for how to do what should be a rather simple task in Construct 3.

    If anybody could provide suggestions or examples on how to get a local currency for an IAP in Construct 3 I would be incredibly grateful.

    Cheers

    Brandon

  • I'm currently making a game for IOS called Hector the Protector. I've completed the first level. I still need to add touch controls before I can export for IOS but it runs well on PC. The demo can be played at brandonwhitton.com/hector/index.html. I would appreciate any feedback on this work in progress.

BrandonWhitton's avatar

BrandonWhitton

Member since 14 Jun, 2017

Twitter
BrandonWhitton has 1 followers

Trophy Case

  • 7-Year Club
  • Email Verified

Progress

8/44
How to earn trophies