Purchase States #13

Closed
and7ey opened this Issue Jul 10, 2011 · 1 comment

Comments

Projects
None yet
2 participants
@and7ey

and7ey commented Jul 10, 2011

While testing the app, I see that purchase of android.test.purchased is reflected in the database. But purchase status there is 0. Hence isPurchased returns false.

I've checked possible states

    public enum PurchaseState {
        // Responses to requestPurchase or restoreTransactions.
        PURCHASED,    // 0: The charge failed on the server.
        CANCELLED,   // 1: User was charged for the order.
        REFUNDED;    // 2: User received a refund for the order.

Is everything correct here?

@ghost

This comment has been minimized.

Show comment Hide comment
@ghost

ghost Jul 10, 2011

Collaborator

While the values of the PurchaseState enum are correct, the comments are mixed up. We will fix this ASAP.

isPurchased responds to correctly to all the unit tests. Maybe it's something else?

Collaborator

ghost commented Jul 10, 2011

While the values of the PurchaseState enum are correct, the comments are mixed up. We will fix this ASAP.

isPurchased responds to correctly to all the unit tests. Maybe it's something else?

@ghost ghost closed this in 3a5e5f9 Jul 13, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment