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

Arguments

transactionProcess.customerIpAddress ● String scalar miscellaneous

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.

transactionProcess.data ● JSON scalar miscellaneous

The data that will be passed to the payment gateway.

transactionProcess.id ● ID scalar miscellaneous

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

transactionProcess.token ● UUID scalar miscellaneous

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

Type

TransactionProcess object payments

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