We are building a product on Clover to allow customers to buy event tickets online. We are taking the payment for the ticket with the Ecommerce Service API, and then populating the order with the item for the ticket they bought. Everything is working fine there - when the order is placed, the order appears in Clover and we issue the ticket.
The problem is that a merchant can go into those orders and refund them at any time. We want to be able to prevent merchants from refunding orders for tickets that have already been used.
Using the Android SDK we can use the clover.intent.action.REFUND intent to listen for when a merchant tries to issue a refund, but it is only triggered for custom tenders. As we are using the Ecommerce Services API to take payments, we don't have a custom tender.
Is there any way we can have an activity triggered for all refunds, so we can prevent refunding tickets that have already been used? Or is there another way to mark an item or order as non refundable?