Essential Kit
Loading...
Searching...
No Matches
IBillingTransaction

Provides an interface to access transaction information of the purchased product.

Properties

string Id [get]
 The string that uniquely identifies a payment transaction. (read-only)
 
IBillingPayment Payment [get]
 [Deprecated]Returns the payment request associated with this transaction.
 
IBillingProduct Product [get]
 The product associated with this transaction.
 
int RequestedQuantity [get]
 The number of units to be purchased. This should be a non-zero number.
 
string Tag [get]
 An optional information provided by the developer at the time of calling BuyProduct provided via BuyProductOptions. This can be used to identify a user or anything specific to the product purchase.
 
DateTime DateUTC [get]
 The UTC date and time, when user initiated this transaction.
 
DateTime Date [get]
 The local date and time, when user initiated this transaction.
 
BillingTransactionState TransactionState [get]
 The current state of the transaction. (read-only)
 
BillingReceiptVerificationState ReceiptVerificationState [get, set]
 The current state of the validation.
 
string Receipt [get]
 The receipt associated with this transaction.
 
BillingEnvironment Environment [get]
 Gets the billing environment.
 
int PurchasedQuantity [get]
 Gets the quantity of the product that the user has purchased.
 
BillingProductRevocationInfo RevocationInfo [get]
 Gets the revocation info if this product is revoked.
 
BillingProductSubscriptionStatus SubscriptionStatus [get]
 Gets the subscription status of a billing product.
 
string RawData [get]
 Json string representation of a dictionary containing transaction (iOS & Android) and signature (Android only) data . This can be used for accessing platform specific details.
 
Error Error [get]
 An object describing the error that occurred while processing the transaction. (read-only)
 
BillingTransactionAndroidProperties AndroidProperties [get]
 Android specific properties useful for receipt validation on server. (read-only)
 

Property Documentation

◆ Payment

IBillingPayment Payment
get
Deprecated
since v3.0.0

◆ Product

IBillingProduct Product
get
Warning
Check if the product is null before accessing the properties of this object. It's possible in future, you may delete a product and get its transaction details.
Note
To avoid having null, you can mark a product inactive in our settings so that you can still get the details of this product.

◆ Tag

string Tag
get
Note
This must be UUID v4 format identifier and can be generated with Guid.NewGuid().

◆ Receipt

string Receipt
get
Note
This is same as PurchaseToken on Android and on iOS this will be jwsReceipt.

◆ Environment

BillingEnvironment Environment
get
Returns
The billing environment.

◆ SubscriptionStatus

BillingProductSubscriptionStatus SubscriptionStatus
get
Returns
The subscription status of the billing product.

◆ RawData

string RawData
get
Remarks
This contains transaction details with "transaction" key identifier. On Android, additionally it contains "signature" key identifier.