Skip to content

GET_TRANS_DETAILS

Zohaib edited this page Mar 15, 2023 · 3 revisions

This page describes the ExpressPay Flutter SDK GET_TRANS_DETAILS Adapter.

Overview

Gets all history of transactions by the order.

GET_TRANS_DETAILS

  1. The GET_TRANS_DETAILS Adapter operation method based on the cardholder data:
/**
 * @param transactionId transaction ID in the Payment Platform. UUID format value.
 * @param payerEmail customer’s email. String up to 256 characters.
 * @param cardNumber the credit card number.
 * @param callback the [ExpressPayGetTransactionDetailsCallback].
 */
func execute(transactionId: String,
             payerEmail: String,
             cardNumber: String,
             callback: @escaping ExpressPayGetTransactionDetailsCallback) -> URLSessionDataTask
  1. The GET_TRANS_DETAILS Adapter operation method based on the hash data:
/**
 * @param transactionId transaction ID in the Payment Platform. UUID format value.
 * @param hash special signature to validate your request to payment platform.
 * @param callback the [ExpressPayGetTransactionDetailsCallback].
 */
func execute(transactionId: String,
             hash: String,
             callback: @escaping ExpressPayGetTransactionDetailsCallback) -> URLSessionDataTask
  1. The ExpressPayGetTransactionDetailsCallback results:
Result Description
ExpressPayGetTransactionDetailsResult.success success result.

ExpressPay

The ExpressPay Flutter SDK - https://expresspay.sa

Clone this wiki locally