int getLastTransactionResult()

This function returns the last transaction result. The result is a JSON string with the following members:

bool mIsApproved: true if transaction is approved, otherwise false
string mTransactionRef: Transaction reference number
string mAuthCode: Transaction authorization code
string mMaskPan: Masked version of the account number for this transaction
string mAmount: The amount of the transaction
string mExpiryDate: Card expiration date.

Return

A JSON string containing the last transaction result (see above for members).