Skip to content

ElectronTransaction

Unofficial

A transaction in the Mac App Store payment queue.

Import:

import type { ElectronTransaction } from '@obsidian-typings/obsidian-public-latest';

Signature:

export interface ElectronTransaction

Properties

PropertyTypeDescription
errorCodenumberThe error code if an error occurred while processing the transaction.
errorMessagestringThe error message if an error occurred while processing the transaction.
originalTransactionIdentifierstringThe identifier of the restored transaction by the App Store.
paymentElectronPaymentThe payment associated with the transaction.
transactionDatestringThe date the transaction was added to the App Store's payment queue.
transactionIdentifierstringA string that uniquely identifies a successful payment transaction.
transactionState'deferred' | 'failed' | 'purchased' | 'purchasing' | 'restored'The transaction state. Can be deferred, failed, purchased, purchasing or restored.