Hello,
It’s good that it works in internal testing. That means the issue is in your local configuration somewhere. Can you check a couple of things?
- If you’re running on the emulator, make sure it has Google Play installed.
- Make sure you’re logged in to the same Google account as the one that works in internal testing.
- Try building and running directly from Android Studio instead of using flutter run.
Hi, sorry for my late reply. I was out. Ok, so I had a good feeling that the reason purchasing was not working is because I did not release the app to Google play store closed or open testing. So I gave this a shot. I uploaded the app to closed testing and once the “App got approved”, purchasing started working locally without the need to download the app from the store. So this is the trick for Google Play Store. As for the App Store, you can start testing the purchase functionality without having to upload your app to testing.
Thanks
But in my case the development build is showing the error when I try to purchase but it works fine when downloaded from play store but how would i test it if this will happen. Why the dev build is not completing the purchases.
Though the offerings are fetched correctly but the purchases are not working
But in my case the development build is showing the error when I try to purchase but it works fine when downloaded from play store but how would i test it if this will happen. Why the dev build is not completing the purchases.
Though the offerings are fetched correctly but the purchases are not working
having same problem, i had to code the purchase app entirely blindly, unable to use local debugger.
sent to closed testing, added a bunch of users and still nothing.
checked for accounts, still cant purchase.
i only have one account that can purchase under closed testing.. so couldnt even test locally. Theres something wrong… cuz on my iphone, it works fine locally, testflight and account.