Skip to main content

TransactionInitializeSession

Event sent when user starts processing the payment.

Added in Saleor 3.13
This API is currently in Feature Preview and can be subject to changes at later point.
type TransactionInitializeSession implements Event {
issuedAt: DateTime
version: String
issuingPrincipal: IssuingPrincipal
recipient: App
transaction: TransactionItem!
sourceObject: OrderOrCheckout!
data: JSON
merchantReference: String!
customerIpAddress: String
action: TransactionProcessAction!
idempotencyKey: String!
}

Fields

TransactionInitializeSession.issuedAt ● DateTime scalar miscellaneous

Time of the event.

TransactionInitializeSession.version ● String scalar miscellaneous

Saleor version that triggered the event.

TransactionInitializeSession.issuingPrincipal ● IssuingPrincipal union miscellaneous

The user or application that triggered the event.

TransactionInitializeSession.recipient ● App object apps

The application receiving the webhook.

TransactionInitializeSession.transaction ● TransactionItem! non-null object payments

Look up a transaction.

TransactionInitializeSession.sourceObject ● OrderOrCheckout! non-null union miscellaneous

Checkout or order

TransactionInitializeSession.data ● JSON scalar miscellaneous

Payment gateway data in JSON format, received from storefront.

TransactionInitializeSession.merchantReference ● String! non-null scalar miscellaneous

Merchant reference assigned to this payment.

TransactionInitializeSession.customerIpAddress ● String scalar miscellaneous

The customer's IP address. If not provided as a parameter in the mutation, Saleor will try to determine the customer's IP address on its own.

Added in Saleor 3.16

TransactionInitializeSession.action ● TransactionProcessAction! non-null object payments

Action to proceed for the transaction

TransactionInitializeSession.idempotencyKey ● String! non-null scalar miscellaneous

Idempotency key assigned to the transaction initialize.

Added in Saleor 3.14

Interfaces

Event interface miscellaneous