GET_TRANS_DETAILS - edfapay/edfa-pg-android-sdk GitHub Wiki

This page describes the EdfaPg Android 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 [EdfaPgGetTransactionDetailsCallback].
 */
fun execute(
    @NonNull
    transactionId: String,
    @NonNull
    payerEmail: String,
    @NonNull
    cardNumber: String,
    @NonNull
    callback: EdfaPgGetTransactionDetailsCallback
)
  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 [EdfaPgGetTransactionDetailsCallback].
 */
fun execute(
    @NonNull
    transactionId: String,
    @NonNull
    hash: String,
    @NonNull
    callback: EdfaPgGetTransactionDetailsCallback
)
  1. The EdfaPgGetTransactionDetailsCallback results:
Result Description
EdfaPgGetTransactionDetailsResult.Success success result.

Go to RECURRING_SALE