successful transaction indicator

Hi,

I am wondering about the right way to detect the successful vault purchase transaction

The doc says: getResSuccess indicates whether transaction was successful or not

I have some cases where i get getResSuccess as true but getMessage as declined ( in sandbox ) ... is that normal ?

--------

And for the all other APIs like auth, refund, void .. etc, should we depend on getResSuccess alone? or we should check other elements in the response too ?

--------

Thank you, 

  • Hi,

    getResSuccess indicates whether a successful Vault transaction took place. That means that it indicates whether a card was successfully registered or in other words tokenized. This does not indicate the status of a financial transaction.

    For all financial transactions like purchase, preauth, refund etc, you would want to look at the response code/getMessage. This is where you will get the approved/declined message and corresponding response codes.