ProvIlyda.getPOSSignature (invoice, String, Int32) Method
The results of this method will be used at VivaWalletPOS.newSale.
Parameters
- inv
- invoice
Invoice Object, see invoice
- terminalID
- string
The POS terminal ID. You can get the available POS Terminals using the VivaWalletPOS.getAvailablePOS
- posProtocol
- int
Default Value 1
The POS protocol that it will be used for generating the signature.
Possible values:
DEFAULT: 1
Mellon Group: 2
Return Value
Dictionary<string, string>
Returns a dictionary containing the necessary data that will be used in the Transaction object.
Specifically, the fields Transaction.aadeProviderSignatureData (dictionary key signedContent) and
Transaction.aadeProviderSignature (dictionary key signature) will be filled.
var il = new ProvIlyda("ilydaUser", "ilydaPassword", "arbUser", "arbKey", false); // The "inv" is the invoice object you previously created. // The "ily" is the ilydaData object you previously created. Dictionary<string, string> posSign = il.getPOSSignature(inv, ily.extraDetails.paymentTerminalID);
This language is not supported or no code example is available.
Dim il As ProvIlyda = New ProvIlyda("ilydaUser", "ilydaPassword", "arbUser", "arbKey", False) 'The "inv" is the invoice object you previously created. 'The "ily" is the ilydaData object you previously created. Dim posSign As Dictionary(Of String, String) = il.getPOSSignature(inv, ily.extraDetails.paymentTerminalID)
This language is not supported or no code example is available.