I want to add some arbitrary text, or an image to the end of a customer receipt. How can I do this?
I want to add some arbitrary text, or an image to the end of a customer receipt. How can I do this?
The approved method is Smart Receipts. Smart Receipts allow you to add text, and a URL to the end of customer receipts. You cannot add images.
You can also use ReceiptRegistrationConnector, which is found in the Clover Android SDK,
This is a client-side only solution. It allows you to add images and / or text to the end of receipts, but web receipts will not contain this information. In a nutshell, a developer that wants to use Receipt Generator must author a content provider that responds to a well-defined content type. The content provider returns the data for the receipt: an image, and or text.
See ReceiptRegistrationTestActivity for an example of how to register your content provider with Clover, and ReceiptRegistrationTestProvider for an example content provider that generates images and text for receipts.
@Niv Developer's have successfully used the Receipt Registration mechanism I linked above to add dynamic content. Smart receipts are not for dynamic text. You can add dynamic content at the Smart Receipt link destination however.
5 People are following this question.