Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.
For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email email@example.com.
My custom payment module can refund. I wrote “refund” method and I set “canRefund” variable to “true” in payment class. But a customer can’t see the “refund” or cancel button on the frontend. What should I do that a customer can refund and cancel his/her order?