Hi,
I am integrating In App Billing, going by the Dungeons example from the SDK.
android.test.purchased works for me, but when getting my own products, it
fails.
I try to make sense of the errors in the logs.
There are so many to choose from.
Some info on my setup:
- I test with proper test account, as added to Google Play console.
- Test user has working google wallet and can purchase published 3rd party
apps.
- Test device is up to date Acer A100
- BILLING permission is spec'd in the Manifest.
- I use the same app version for testing, as was uploaded to google.
- Product was marked as active in Google Play Console.
- I get a positive result back when I check for Billing Supported.
My questions:
(1) What does this mean: *Saving carrier billing params failed*
(2) What is the significance of:* Attempt to delete
'paramsPMEA2H1cBHnCGCAFXApRbQ' failed!*
(3) What target is referred to in *The target server failed to respond*?
(4) What is *Unexpected response code 500*?
(5) And finally: what is *[DF-BPA-13]*? This code actually shows up in a
dialog on the device.
D/BillingService( 2501): RequestPurchase
D/Finsky ( 2188): [271] MarketBillingService.getPreferredAccount:
com.steenriver.littlecrane: Account from first account.
D/Finsky ( 2188): [271] MarketBillingService.getPreferredAccount:
com.steenriver.littlecrane: Account from first account.
I/ActivityManager( 144): START {act=android.intent.action.VIEW
cmp=com.android.vending/com.google.android.finsky.activities.IabActivity
(has extras)} from pid -1
D/BillingService( 2501): request id: 1802264350828807725
V/threaded_app( 2501): SaveInstanceState: 0x52a1b0
I/crane ( 2501): State saved
V/threaded_app( 2501): APP_CMD_SAVE_STATE
V/threaded_app( 2501): Pause: 0x52a1b0
V/threaded_app( 2501): activityState=13
V/threaded_app( 2501): WindowFocusChanged: 0x52a1b0 -- 0
D/Finsky ( 2188): [1] SelfUpdateScheduler.checkForSelfUpdate: Skipping
self-update. Local Version [8015016] >= Server Version [0]
I/ActivityManager( 144): Displayed
com.android.vending/com.google.android.finsky.activities.IabActivity: +73ms
W/Finsky ( 2188): [1] CarrierParamsAction.run: Saving carrier billing
params failed.
E/Finsky ( 2188): [294] FileBasedKeyValueStore.delete: Attempt to delete
'paramsPMEA2H1cBHnCGCAFXApRbQ' failed!
D/Finsky ( 2188): [1] GetBillingCountriesAction.run: Skip getting fresh
list of billing countries.
I/ActivityManager( 144): Start proc com.google.android.gsf.login for
service
com.google.android.gsf.login/com.google.android.gsf.loginservice.GoogleLoginService:
pid=2516 uid=10036 gids={3003, 1015, 1007, 2001, 3006}
I/ElegantRequestDirector( 2188): I/O exception
(org.apache.http.NoHttpResponseException) caught when processing request:
The target server failed to respond
I/ElegantRequestDirector( 2188): Retrying request
I/ElegantRequestDirector( 2188): I/O exception
(org.apache.http.NoHttpResponseException) caught when processing request:
The target server failed to respond
I/ElegantRequestDirector( 2188): Retrying request
D/dalvikvm( 2188): GC_CONCURRENT freed 559K, 8% free 7736K/8391K, paused
3ms+7ms
E/Volley ( 2188): [277] BasicNetwork.performRequest: Unexpected response
code 500 for
https://android.clients.google.com/fdfe/details?doc=inapp:com.steenriver.littlecrane:premium
D/DfeApi ( 2188): [1] DfeRequest.deliverError: Not delivering error
response for request=[[ ]
https://android.clients.google.com/fdfe/details?doc=inapp:com.steenriver.littlecrane:premium
NORMAL 8], error=[DisplayErrorMessage[Error retrieving information from
server. [RPC:AEC:0]]] because response already delivered.
E/Volley ( 2188): [276] BasicNetwork.performRequest: Unexpected response
code 500 for https://android.clients.google.com/fdfe/purchase
W/Finsky ( 2188): [1] CheckoutPurchase.onErrorResponse:
DisplayErrorMessage[Error processing purchase. [DF-BPA-13]]
E/Finsky ( 2188): [1] CheckoutPurchase.setError: type=UNKNOWN, code=-1,
message=Error processing purchase. [DF-BPA-13]
Many thanks!
Bram Stolk
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en