transactionRequiresPrintedReceipt delegate is called when a receipt must be printed out by the app.
After this method has been called, transaction-processing will be paused until
confirmReceiptPrinted: is called on the given
This method must be implemented to print a receipt on paper, based on the data provided in the
Instead of calling
[ADYPrintReceiptRequest confirmReceiptPrinted:], it is also possible to cancel the transaction at this point by calling
[ADYTransactionRequest requestCancel]. If this is done, do not call
However, it is possible that
transactionRequiresPrintedReceipt: will be called a second time as part of the transaction-flow. If that happens, and it is not desirable to print out a receipt at that time, cancel the transaction again.
Card schemes have very specific requirements on what should be included on a receipt. These requirements differ per scheme and country, and can change. Receipts generated by Adyen have been certified as compliant by the card schemes that we support.
Card schemes will occasionally visit live stores to verify that receipts being generated are fully-compliant.
||ADYPrintReceiptRequest||Object containing receipt-data, and methods to continue transaction-processing.|
Declaration code example
- (void)transactionRequiresPrintedReceipt: (ADYPrintReceiptRequest *)printReceiptRequest;
func transactionRequiresPrintedReceipt(_ printReceiptRequest: ADYPrintReceiptRequest!)