VivaWalletPOS.checkSession Method

This function can be used to determine whether the transaction has been finalised. 
Public Function checkSession( _ 
ByVal sessionID As String
) As String
This language is not supported or no code example is available.
public string checkSession( 
string sessionID 
)
This language is not supported or no code example is available.

Parameters

sessionID
string

The unique session identifier. You specified this Transaction.sessionID (or RefundTransaction.sessionID) when you created a new transaction.

Return Value

string

This function performs the subsequent analysis on the messages it may return: 
204 - The session is being processed 
205 - Other Message 
200 - Transaction successful 
998 - Transaction aborted successfully 
999 - Transaction aborted/canceled by user 

Example
 
 VivaWalletPOS vw = new VivaWalletPOS("Arbitrans User", "Arbitrans Key", "ClientID", "ClientSecret", false);
 string result = vw.checkSession("my custom session ID");
 					
This language is not supported or no code example is available.
 Dim vw As VivaWalletPOS = New VivaWalletPOS("Arbitrans User", "Arbitrans Key", "ClientID", "ClientSecret", False)
 Dim result As String = vw.checkSession("my custom session ID")
 					
This language is not supported or no code example is available.

.NET Framework

Supported in: 3.5 or newer

In this article

Definition