Skip to main content
Question

Why testing in-app-purchase is working on physical devices and not working on virtual?

  • September 29, 2023
  • 1 reply
  • 87 views

Forum|alt.badge.img+6

Im using app subscriptions for long time but it is my first time I’m trying to test the IAP on a virtual device. 

Testing the android version on a virtual Pixel 7 pro (api 33) and Pixel 7 (api 34), the flow is working normally as expected until I get “ Something went wrong”, “Error code 3”  however using the same testing account, the same code is working fine on a physical device. 

 

Im using flutter on a macbook device.

 

I’m sure the Play store is updated on virtual devices. 

This post has been closed for comments

Forum|alt.badge.img+8
  • RevenueCat Staff
  • October 6, 2023

Hi, we recommend that you always test on a physical device for this reason. Testing with simulators/emulators sometimes encounters problems with purchasing, the most prominent reason being if Google Play is not properly installed on the device or because of the Google API version.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings