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

This page describes the EdfaPg Android SDK GET_TRANS_STATUS Adapter.

Overview

Gets order status from Payment Platform.

GET_TRANS_STATUS

  1. The GET_TRANS_STATUS 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 [EdfaPgGetTransactionStatusCallback].
 */
fun execute(
    @NonNull
    transactionId: String,
    @NonNull
    payerEmail: String,
    @NonNull
    cardNumber: String,
    @NonNull
    callback: EdfaPgGetTransactionStatusCallback
)
  1. The GET_TRANS_STATUS 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 [EdfaPgGetTransactionStatusCallback].
 */
fun execute(
    @NonNull
    transactionId: String,
    @NonNull
    hash: String,
    @NonNull
    callback: EdfaPgGetTransactionStatusCallback
)
  1. The EdfaPgGetTransactionStatusCallback results:
Result Description
EdfaPgGetTransactionStatusResult.Success success result.

Go to GET_TRANS_DETAILS