Function sendTransactionReceiptMail

  • Sends a transaction receipt via email. Please note: Looks like sometimes Stone has issues sending the receipts via e-mail. So, please test it.

    Since

    0.1.7

    Parameters

    • transactionAtk: String

      Transaction Initiator Key - ATK

    • receiptType: ReceiptType = 'CLIENT'

      If it's the customer (client), or merchant receipt.

    • toContact: MailContact[] = []

      List of emails to send.

    • fromContact: MailContact

      Which email to use in the From field.

    • dialogMessage: null | String = null

      Default UI dialog main message.

    • dialogTitle: null | String = null

      Default UI dialog title.

    • useDefaultUI: Boolean = true

      Wheter to use Stone's default progress dialog or not.

    • progressCallbackEventName: ProgressEventName = 'SEND_TRANSACTION_RECEIPT_MAIL_PROGRESS'

      The native event name to map with the useNativeEventListener hook.

    Returns Promise<TransactionType>