Skip to main content

transactionProcess Mutation

Processes a transaction session. It triggers the webhook TRANSACTION_PROCESS_SESSION, to the assigned paymentGateways.

transactionProcess(
customerIpAddress: String
data: JSON
id: ID
token: UUID
): TransactionProcess
Details
type TransactionProcess {
transaction: TransactionItem
transactionEvent: TransactionEvent
data: JSON
errors: [TransactionProcessError!]!
}

Arguments​

customerIpAddress ● String​

The customer's IP address. If not provided Saleor will try to determine the customer's IP address on its own. The customer's IP address will be passed to the payment app. The IP should be in ipv4 or ipv6 format. The field can be used only by an app that has HANDLE_PAYMENTS permission.

data ● JSON​

The data that will be passed to the payment gateway.

id ● ID​

The ID of the transaction to process. One of field id or token is required.

token ● UUID​

The token of the transaction to process. One of field id or token is required.

Type​

TransactionProcess​

Processes a transaction session. It triggers the webhook TRANSACTION_PROCESS_SESSION, to the assigned paymentGateways.