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.
PrinterProvider
valuesHere is a list of supported print providers:
When using PrinterProvider.sdk
, the SDK will automatically detect attached and integrated
printers, and will show the print option on the payment receipt screen.
Set up PrintParameters
when creating a charge.
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.