ProvIlyda.completePOSTransaction Method

Complete the POS transaction that was created for the on-credit invoice to Ilyda Invoicing Provider. 
The result of this method contains the provider's data
Public Function completePOSTransaction( _ 
ByVal posDeferredTransactionComplete As posDeferredTransactionComplete
) As Dictionary(Of String, String)
This language is not supported or no code example is available.
public Dictionary<string, string> completePOSTransaction( 
posDeferredTransactionComplete posDeferredTransactionComplete 
)
This language is not supported or no code example is available.

Parameters

posDeferredTransactionComplete
posDeferredTransactionComplete

Return Value

Dictionary<string, string>

The Dictionary contains the following values: 

FieldValue / Description
submittedPaymentMethods[0].type7
submittedPaymentMethods[0].amount248
submittedPaymentMethods[0].paymentMethodInfo
submittedPaymentMethods[0].tipAmount
submittedPaymentMethods[0].transactionId1b963c9b-b16f-4151-ba60-d07c0000000f
submittedPaymentMethods[0].signatureMEUCIQCArr07MPkylqQ/9w7f0hamjyGC485lwupdi0Ac
submittedPaymentMethods[0].signingAuthor008
submittedPaymentMethods[0].terminalId12345678
submittedPaymentMethods[0].paymentMethodMark400000000000001
errors
JSON_ARBDATAVjJ4b2FtUXhUW!RpUlZKU1ZqSjRZVmxYZ^hka1ZrNVlZM!hhWVUxWVFqQlZiVFZQ

Where X and Y are increment numbers starting from zero (0). Example: errors[0].errorFields[0].field

Remarks
 
Important: You must keep this method's returned "paymentMethodMark" in your database.
Example
 
  var il = new ProvIlyda("ilydaUser", "ilydaPassword", "arbUser", "arbKey", false);
 
  // "res" is the result of the getPOSDeferredSignature method
 
  ProvIlyda.posDeferredTransactionComplete pos;
  pos1.amount = 100;
  pos1.terminalId = "1111111111";
  pos1.signature = "MEYCIQDzpzA34VRVW9Mba8ErFsuqQJD"; // res("invoiceSignatures[0].signature")
  pos1.signingAuthor = "008"; // res("invoiceSignatures[0].signingAuthor")
  pos1.transactionId = "1f234567-b8ce-9012-b3b4-5caddffda6e7";
 
  Dictionary<string, string> fResult = il.completePOSTransaction(pos1);
  					
This language is not supported or no code example is available.
  Dim il As ProvIlyda = New ProvIlyda("ilydaUser", "ilydaPassword", "arbUser", "arbKey", False)
 
  '"res" is the result of the getPOSDeferredSignature method
 
  Dim pos As ProvIlyda.posDeferredTransactionComplete
  pos1.amount = 100
  pos1.terminalId = "1111111111"
  pos1.signature = "MEYCIQDzpzA34VRVW9Mba8ErFsuqQJD" 'res("invoiceSignatures[0].signature")
  pos1.signingAuthor = "008" 'res("invoiceSignatures[0].signingAuthor")
  pos1.transactionId = "1f234567-b8ce-9012-b3b4-5caddffda6e7"
 
  Dim fResult As Dictionary(Of String, String) = il.completePOSTransaction(pos1)
  					
This language is not supported or no code example is available.

.NET Framework

Supported in: 3.5 or newer

In this article

Definition