Hey there
I'm trying to add in-app billing to my app.
I think i’ve implemented everything just fine,
the purchase window for an item pops up and I can click
on buy, but then it is saying “Authorizing Purchase”
for ever and then it fails. The purchase is listed
in the google checkout account as “Cancelled”
with the reason “Reason: Took too long to deliver”.
After this i receive the
com.android.vending.billing.IN_APP_NOTIFY
but the item is of course not in the state “purchased”.
This is on a Galaxy Nexus with Android 4.0.2.
Any ideas? Any help would be *really* appreciated.
Log output is ("Billing" is my log output):
D/Finsky ( 1441): [164] MarketBillingService.getPreferredAccount:
com.miumeet.android.client: Account from first account.
D/Finsky ( 1441): [164] MarketBillingService.getPreferredAccount:
com.miumeet.android.client: Account from first account.
I/ActivityManager( 208): START {act=android.intent.action.VIEW
cmp=com.android.vending/com.google.android.finsky.activities.IabActivity
(has extras)} from pid -1
D/Billing ( 3546): Request 4888863785881949596 of type REQUEST_PURCHASE sent
I/WindowManager( 208): createSurface Window{41bc6978
com.android.vending/com.google.android.finsky.activities.IabActivity
paused=false}: DRAW NOW PENDING
W/Finsky ( 1441): [1] CarrierParamsAction.run: Saving carrier billing
params failed.
I/ActivityManager( 208): Displayed
com.android.vending/com.google.android.finsky.activities.IabActivity: +395ms
D/Finsky ( 1441): [1] DfeRequest.deliverResponse: Not delivering second
response for request=[[ ]
https://android.clients.google.com/fdfe/details?doc=inapp:com.miumeet.android.client:m3NORMAL
120]
D/Finsky ( 1441): [1] CarrierProvisioningAction.shouldFetchProvisioning:
Required CarrierBillingParams missing. Shouldn't fetch provisioning.
D/Finsky ( 1441): [1] CarrierProvisioningAction.run: No need to fetch
provisioning from carrier.
D/Finsky ( 1441): [1] PurchaseFragment.onStateChange: Finished purchase
with ID
https://android.clients.google.com/fdfe/purchaseStatus?doc=inapp:com.miumeet.android.client:m3&order=12999763169054705758.17289336772495165711.1328191047.1
D/Volley ( 1441): [153] BasicNetwork.logSlowRequests: HTTP response for
request=<[ ] https://android.clients.google.com/fdfe/purchaseStatus NORMAL
123> [lifetime=47304], [size=232], [rc=200], [retryCount=0]
W/Finsky ( 1441): [1] PurchaseInitiator.switchToError: Error when
purchasing document inapp:com.miumeet.android.client:m3:
Error{title='Purchase cancelled', docTitle='3 month premium account',
briefMessage='Review purchase with Google Wallet', detailedMessage='Your
payment could not be processed. <a href="https://checkout.google.com">Sign
in</a> to your Google Wallet account to request support.',
sourceUrl='details?doc=inapp:com.miumeet.android.client:m3', detailsUrl='
https://checkout.google.com'}
D/Volley ( 1441): [1] Request.finish: 47312 ms: [ ]
https://android.clients.google.com/fdfe/purchaseStatus NORMAL 123
D/Billing ( 3546): Received com.android.vending.billing.IN_APP_NOTIFY
D/Billing ( 3546): Notification 2262237324148455585 available
D/Finsky ( 1441): [148] MarketBillingService.getPreferredAccount:
com.miumeet.android.client: Account from first account.
D/Billing ( 3546): Request 4247658054929406474 of type
GET_PURCHASE_INFORMATION sent
D/Finsky ( 1441): [1] MarketBillingService.sendResponseCode: Sending
response RESULT_OK for request 4247658054929406474 to
com.miumeet.android.client.
D/Billing ( 3546): Received
com.android.vending.billing.PURCHASE_STATE_CHANGED
D/Billing ( 3546): Purchase state changed
Cheers,
-Andrin
--
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