The TFT: MatrixBarcode control can be used from an external pay unit to display text/string data in a QR-code. The MatrixBarcode can be placed in both pop-ups and panels. The external pay unit is responsible to build the text string which shall be shown in the QR-code.
The name of the control needs to be either a generic name “ExternalPayUnitMatrixBarcode” which can be used from any external pay unit, or specific for an external pay unit. "ExternalPayUnitMatrixBarcode_Ext[0-7]>".
MatrixBarcodeStyle
The size, location, background colour, and module size can be set in the style for the QR-code.
<Style def:Name="MatrixBarcodeStyle">
<StyleProperties>
<PropertyStyle Size="200,200" />
<PropertyStyle Location="50,100" />
<PropertyStyle QRCodeModuleSize="0.03"/>
<PropertyStyle BackColor="255,255,255"/>
</StyleProperties>
</Style>
Usage
<TFT:MatrixBarcode MxStyle="{MatrixBarcodeStyle}" Name="ExternalPayUnitMatrixBarcode_Ext0"/>