Printing
Printing configuration
Our 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 functionality for printing.
Supported PrinterProvider values
Here is a list of supported print providers:
Basic printing configuration
When using PrinterProvider.sdk, the SDK will automatically detect attached and integrated
printers, and will show 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