ProvIlyda Class
Read more about using a third-party provider here.
Name | Description | |
---|---|---|
ProvIlyda(string, string, string, string, bool) | It creates a new instance of the ProvIlyda. |
Name | Description | |
---|---|---|
SendInvoice(invoice, ilydaData) |
Send the invoice to Ilyda provider. Provider returns a dictionary(Of String, String) having any results (success or errors). |
|
completePOSTransaction(posDeferredTransactionComplete) |
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 |
|
getInvoice(string) | ||
getPOSDeferredSignature(posDeferredTransaction) |
Get the POS signature for an on-credit invoice (paymentMethod.type = 5), to create a new POS Sale. The results of this method will be used at VivaWalletPOS.newSale. |
|
getPOSSignature(invoice, string, int) |
Get the POS signature to create a new POS Sale. The results of this method will be used at VivaWalletPOS.newSale. |
|
getPOSSignature(posTransaction, int) |
Get the POS signature to create a new POS Sale. The results of this method will be used at VivaWalletPOS.newSale. |
|
getQRImage(int) |
Returns an object-type image, ready to be embedded on your invoice document. In the Trial Version, this function returns a QR leading to the url "https://www.arbitrans.gr". |
|
getQRUrl() | Returns the validation URL of the Invoicing Provider. Use this URL to generate a QR Code on your own, or use the getQRImage method to export an object-type image of the QR. | |
newPosTransaction() | Create a new POSTransaction object | |
uploadPhysicalDocument(string, string) |
This method is used to upload the physical invoice document as you created it, to the provider. The uploaded file will be visible to the provider control panel. Important: For B2G invoices, the provider issues the invoice. The QR's content is the B2G invoice. So, for B2G transactions, you don't have to upload any documents. |
Name | Description | |
---|---|---|
posDeferredTransaction |
If you have already issued an on-credit invoice and plan to complete the payment via POS, use this object and call the getPosDeferredSignature function. |
|
posDeferredTransactionComplete | ||
posTransaction | To manually get the provider's POS signature, the POS transaction structure is required. The structure is applied to getPOSSignature(posTransaction) |