Hi there,

I recently launched an application on the Android Market which
includes In App Billing. I have tested this functionality both whilst
developing, using a test account and once the application went live on
the market (using a non test account, on a completely different mobile
phone) and for me it works successfully: the game credits acknowledges
the purchase and awards the user accordingly and my Google checkout
credits me the correct amount of money. However, it appears this
functionality is not working for everyone, I know this because I have
analytics inside the game that report when the user attempts to
purchase something and what the result of the purchase attempt was, in
the last 24 hours I have had 9 attempts of using the in app billing
which resulted in:

8 X RESULT_ERROR
1 X RESULT_SERVICE_UNAVAILABLE

My application handles these cases 'correctly' by informing the user
the purchase attempt failed, but I wondered if there is anything I
should worry about? Since going live, the application hasn't had any
successful in app billing attempts, but only in the latest version
have I added the extra analytics to log the reasons why. I have looked
up the above errors in the documentation and it lists them as:

RESULT_SERVICE_UNAVAILABLE - Indicates that the network connection is
down
RESULT_ERROR - Indicates an unexpected server error. For example, this
error is triggered if you try to purchase an item from yourself, which
is not allowed by Google Checkout

There is also other references in the documentation for RESULT_ERROR
as:

RESULT_ERROR  - There was an error connecting with the Android Market
application

For the service unavailable, I can appreciate perhaps the user was out
of signal when they attempted to purchase, or were on a non phone with
WiFi disabled etc. but the RESULT_ERROR I am not sure about. There
seem to be multiple descriptions for this error, the unable to connect
to Android Market application error makes me wonder if the user has
downloaded a copy of the application from a non authorised source and
as such market place isn't talking to it properly.

I appreciate have rambled on a little here, and perhaps not really
asked a direct question, but can anyone possibly advise me with
regards to whether I have a problem here or not? Has anyone else used
In App Billing and had similar results? Is there any way to get
further information about what caused a RESULT_ERROR for example?

I don't wish to be seen as self promoting my application, but if it
helps diagnose this issue, a link to the application follows:

https://market.android.com/details?id=com.pawprintgames.kamicrazy.global&hl=en

Many thanks,

Steve

-- 
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

Reply via email to