Printing
Printing configuration
The SDK exposes APIs to print receipts after a payment. If printing capabilities are required for your use case, ensure you set up printer configuration after SDK initialisation or before making a payment.
Use the PrinterConfig class to pass in desired capabilities for printing.
Supported PrinterProvider values
Here is a list of supported print providers:
Basic printing configuration
When using PrinterProvider.sdk, the SDK automatically detects attached and integrated printers,
and shows the print option on the payment receipt screen.
Print in charge flow
Set up PrintParameters when creating a charge.
Lookup with print in charge flow
Print with lookup
To print receipts for older transactions, a standalone printing flow is provided that takes in a
clientTransactionId parameter in PrintParameters to perform both lookup and print.
Lookup with print usage