Comments (5)
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.
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.
Thanks @j3k0, I'll see what happens once our app reaches a Production setup.
from cordova-plugin-purchase.
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.
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)
- Why does it work on Android but not on iOS? And what's the deal with being asked to purchase again when it's supposed to be a consumable purchase? Android is fine HOT 3
- Google Play Billing Library 4.0.0 is depreciated HOT 1
- Products owned status changes on IOS Ionic Capacitor Live reload HOT 3
- [Android] Cannot Register Existing Products in V13.10.1
- Method startServiceConnection in class PurchasePlugin cannot be applied to given types HOT 3
- Plans for Upgrading to Google Play Billing Library v6 or v7? HOT 9
- When running locally window.cordova is undefined. Plugin cannot lookup platformId. HOT 1
- Approved never fires after initiating the purchase HOT 5
- Update com.google.android.play.billingclient.version HOT 3
- [Android] `orderId` undefined on cancelled Receipt HOT 1
- the Sandbox opens repeatedly upon purchase even though it is displayed as Done. After Done appears, the store Listener is not called. HOT 1
- Purchase requested by the user new method
- How to run validator every time app is opened
- Unclear how/when to call my own API after user purchases non-renewing subscription
- v13 iOS Restore purchases with local decoding
- cordova-plugin-purchase store.when().approved event trigger multiple time. HOT 1
- Plugin Not Compatible with SDK 34
- App must use Google Play Billing Library version 6.0.1 or later HOT 1
- Not free trial period in IOS
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-plugin-purchase.