ProvOrian.completePOSTransaction Method

Use this method to complete the invoice. 
This method should only be used when the invoice has at least one POS transaction (paymentMethod.type = 7). 
IMPORTANT: The invoice will not be issued if this method is not called after the POS transaction has been effectively completed. 
If the POS transaction fails or cancels for any reason, you don't need to take any action.
Public Function completePOSTransaction( _ 
ByVal posComplete As posComplete
) As Dictionary(Of String, String)
This language is not supported or no code example is available.
public Dictionary<string, string> completePOSTransaction( 
posComplete posComplete 
)
This language is not supported or no code example is available.

Parameters

posComplete
posComplete

The raw data of a POS Transaction.

Return Value

Dictionary<string, string>
Example
 
 var por = new ProvOrian("orianUser", "orianPassword", "Arbitrans User", "Arbitrans Key", false);
 Dictionary<string, string> fResult = por.SendInvoice(invoice, ori);
 
 var pos = New ProvOrian.posComplete(); // initialize a New posComplete Object
 pos.paymentID = "9dea9161-841c-4f84-bef8-2978d7e1111f";
 pos.transactionID = transactionID; // the alpharethmetic string that the POS returns after the transaction Is complete Is the transactionID.
 pos.paidAmount = 204.0d; // the actual paid amount as sent to the POS.
 
 Dictionary<string, string> result = por.completePOSTransaction(pos); // complete the transaction And tell the provider to issue the invoice.
 					
This language is not supported or no code example is available.
 Dim por As ProvOrian = New ProvOrian("orianUser", "orianPassword", "Arbitrans User", "Arbitrans Key", False)
 Dim fResult As Dictionary(Of String, String) = por.SendInvoice(invoice, ori)
 
 Dim pos As New ProvOrian.posComplete 'initialize a new posComplete object
 pos.paymentID = "9dea9161-841c-4f84-bef8-2978d7e1111f"
 pos.transactionID = transactionID 'the alpharethmetic string that the POS returns after the transaction is complete is the transactionID.
 pos.paidAmount = 204.0 'the actual paid amount as sent to the POS.
 
 Dim result As Dictionary(Of String, String) = por.completePOSTransaction(pos) 'complete the transaction and tell the provider to issue the invoice.
 					
This language is not supported or no code example is available.

.NET Framework

Supported in: 3.5 or newer

In this article

Definition