What do I want? After extracting all the purchased items, I need to check the purchase on my server, I want to do this with the signature and signed data received from the payment in the application.
At first I used billing v2 in the application, I got the correct signature and signdata every time with my developer account for the static test sku android.test.purchased .
I switched to the new billing v3 because it seems very enjoyable to implement, but I no longer get the signature.
I uploaded the previous version of my APK on Google (it’s never published because it’s not finished yet), I also added an active product in the application for further tests.
The APK download was yesterday at 10:00 PM, so I also think I’ve waited enough.
What have i tried? I installed the application in another version:
- unsigned apk with the "active" product added by me in the application => without signature
- unsigned apk with sku
android.test.purchased => no signature - signed apk with the "active" product added by me in the application => without signature
- signed apk with sku
android.test.purchased => no signature
These 4 "applications state:" I tried as my developer phone (where my main Google account is the same user as the developer console account), and with the test account when setting up another phone, the test account is also placed in my account in the "test accounts" section.
Hmm, and now I have no more ideas how I get my signature. I think that I will receive a signature with the active active application + the active product in the application, because the payment process works (the adb log file shows that I bought "Android.test.purchased") I myself created the product in the application, I also don’t I could test, because if I use my developer account, the game store tells me that "it can’t buy, it already belongs," and with my test account I got an error "This product is not available for your account."
Do you have a solution for my problem?
java android in-app-billing
prdatur Dec 15 '12 at 14:56 2012-12-15 14:56
source share