跳到主要內容

Transaction Object

  • transactionIdentifier string - 一個字串,唯一識別成功的付款交易。
  • transactionDate string - 交易新增到 App Store 付款佇列的日期。
  • originalTransactionIdentifier string - App Store 還原交易的識別碼。
  • transactionState string - 交易狀態,可以是 purchasingpurchasedfailedrestoreddeferred
  • errorCode Integer - 處理交易時發生錯誤的錯誤代碼。
  • errorMessage string - 處理交易時發生錯誤的錯誤訊息。
  • payment 物件
    • productIdentifier string - 已購買產品的識別碼。
    • quantity Integer - 購買的數量。
    • applicationUsername string - 您系統上使用者帳戶的不透明識別碼。
    • paymentDiscount PaymentDiscount (選用) - 套用於付款的折扣優惠詳情。