moisoni97 / google-inapp-billing

A simple implementation of the Android In-App Billing API.
https://github.com/moisoni97/google-inapp-billing
Apache License 2.0
126 stars 39 forks source link

Blank Google Billpay popup #55

Open MKrati opened 1 year ago

MKrati commented 1 year ago

I am a novice programmer and wanted to implement and test your library. For this purpose I did the followings: 1- established a play account 2- uploaded the app with the LICENCE_KEY that I obtained from play to satisfy billingConnector = BillingConnector( context, LICENCE_KEY) //

  1. Added android.test.purchased and android.test.cancelled as the consumableIds
  2. I receive three callbacks upon connection - onProductsFetched and twice of onPurchasedProductsFetched
  3. billingConnector returns true for isReady
  4. I proceed to purchase android.test.purchased using billingConnector.purchase(this, "android.test.purchased") method
  5. A pop up screen opens, it is completely blank and white. No other information
  6. when I swipe it I receive ErrorType.USER_CANCELED event

I am puzzled as to why I dont get google pay screen. Samples like trivialdrive i've downloaded from play store brings up the play payment screen, thus my phone (motorola ace ) is properly set up. I realize i may not be able to test the functionality using the developer phone, but is that the case I am not sure.

Why I am not receiving the populated payment screen?

Any help and directions from you or the community will be immensely appreciated. Thanks

akardas16 commented 1 year ago

try to publish your app in closed beta channel.