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

Property Type Description
errorCode number The error code if an error occurred while processing the transaction.
errorMessage string The error message if an error occurred while processing the transaction.
originalTransactionIdentifier string The identifier of the restored transaction by the App Store.
payment ElectronPayment The payment associated with the transaction.
transactionDate string The date the transaction was added to the App Store's payment queue.
transactionIdentifier string A 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.