[android-developers] Random network error in buy page activity (in app billing)
Hi,
we are preparing to release our app with In-App-Billing but we are
experiencing inconsistent behavior of the Market app.
After starting the "Buy Page" activity with the Intent returned from
the REQUEST_PURCHASE call we get a 'Network Error' from the Market App
in about 2 of 5 tries. In the log file, it looks like the Market app
can't connect to the server, despite the Internet connection being
available and stable (the app uses the Internet right before and after
the billing request).
Otherwise the billing works fine, it is just this error which appears
quite frequently and seemingly at random. So my guess is it is a bug
in the Market application / the billing server backend? Or any ideas
how we are using the In-App-Billing API incorrectly? The code is based
on the Dungeons sample app, of course ;)
The In-App products are "managed per user account" and published, the
app itself is not yet published (just like it says in the 'Testing In
App Billing' article).
Help is much appreciated!
Thanks,
Smox
Here is the output from the log file:
06-08 11:59:11.073: DEBUG/vending(5754): [1]
BaseBuyPageActivity.onPostResponse(): {PurchaseResult=OK,
PurchaseInfo=PurchaseInfo=, SignupStatus=SIGNED_UP,
TId=965567726868130, ShoppingCart=[ItemPrice=3,99 €, TaxInclusive=,
TaxExclusive=, Total=3,99 €, HasTaxMessage=false, TaxMessage=null,
HasFooterMessage=false, FooterMessage=null], RefundPolicy=<b>Der
Betrag für diesen In-App-Kauf kann nicht erstattet werden.</b> <br/>
<a href="http://market.android.com/support/bin/answer.py?
answer=1061913">Weitere Informationen</a><br/><a href="http://
www.google.com/mobile/android/fsa-notification.html">Geregelt durch
Financial Services Authority (FSA, britische Bankenaufsichtsbehörde),
Großbritannien</a>, Instruments=[[Id=107222246370128, Name=VISA
xxx-6842 Invalid=false Type=CREDIT_CARD] ],
DefaultBillingInstrument=107222246370128, ErrorFields=[]}
06-08 11:59:11.138: DEBUG/vending(5754): [1]
BaseBuyPageActivity.shouldAddCarrierBilling(): isProvisioned(): false
isSavedonServer(): false radio available? true
06-08 11:59:11.143: DEBUG/vending(5754): [1]
BaseBuyPageActivity.shouldAddCarrierBilling(): isProvisioned(): false
isSavedonServer(): false radio available? true
06-08 12:01:13.033: WARN/vending(5754): [36]
RequestDispatcher.performRequestsOverNetwork(): IOException while
performing API request: Connection reset by peer
06-08 12:01:13.048: DEBUG/vending(5754): [36] BaseAction.run():
IOException: java.net.SocketException: Connection reset by peer
06-08 12:01:13.058: ERROR/vending(5754): [36]
BasePurchaseActivity.onPurchasePostError(): PurchasePost error
06-08 12:01:13.073: INFO/vending(5754): [1]
BaseAction.displayErrorUi(): Network error in
com.android.vending.billing.PurchasePostAction:
java.net.SocketException: Connection reset by peer
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home