Giter Site home page Giter Site logo

Comments (5)

j3k0 avatar j3k0 commented on July 17, 2024 1

Hi @sbat - you can create Test Users from AppStore connect and assign them to the country you want to test against.

All is explained in that documentation from Apple: https://developer.apple.com/documentation/storekit/in-app_purchase/testing_in-app_purchases_with_sandbox

from cordova-plugin-purchase.

j3k0 avatar j3k0 commented on July 17, 2024 1

The plugin only reports the data provided by Apple StoreKit, so this issue isn't related to the plugin but with your Apple sandbox testing environment.

from cordova-plugin-purchase.

WoodyWoodsta avatar WoodyWoodsta commented on July 17, 2024 1

Thanks @j3k0, I'll see what happens once our app reaches a Production setup.

from cordova-plugin-purchase.

WoodyWoodsta avatar WoodyWoodsta commented on July 17, 2024 1

I'm getting the right currency now in the Sandbox environment. I think my issue was that I was not signed in correctly to iCloud on the simulator device. Even if you sign in via "Settings", it seems as though you need to initiate a purchase which triggers another sign in process. After that, products came back with the right region.

It's possible I did a few things in between that which may have helped - this is the best reasoning I can come up with.

from cordova-plugin-purchase.

WoodyWoodsta avatar WoodyWoodsta commented on July 17, 2024

Came across this today. I have a subscription product available in the UK and US, and prices for each region. If I set up a sandbox user in the UK region and use that sandbox user in the simulator, I still get USD prices from the plugin.

from cordova-plugin-purchase.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.