PurchaseStatus

  • This content describes the PurchaseStatus enum, which indicates the status of a purchase within the deprecated Orders version 2 API.

  • The PurchaseStatus enum includes values for successful purchases, various errors, user cancellation, items already owned, item unavailability, and user requests to change items.

  • Users migrating from Orders version 2 to version 3 should consult the provided migration guide.

A set of enum values for the status of a purchase.

Enums
PURCHASE_STATUS_UNSPECIFIED Unspecified purchase status.
PURCHASE_STATUS_OK Purchase was made successfully.
PURCHASE_STATUS_ERROR Generic error.
PURCHASE_STATUS_USER_CANCELLED User cancelled the purchase.
PURCHASE_STATUS_ALREADY_OWNED User owned the product and cannot purchase again before it's consumed.
PURCHASE_STATUS_ITEM_UNAVAILABLE The requested product is not available for purchase.
PURCHASE_STATUS_ITEM_CHANGE_REQUESTED User requested to change item for purchasing.