Go to Woocommerce-> Settings -> RAE setting-> Exchange Products-> Enable “Enable Exchange Request.” -> After that you have to select Maximum Number of Days. If the value is 0 or blank then Exchange button will not visible at order detail page. And Select the order status in which the order can be Refunded.

Do the same process for showing woocommerce Refund button with RMA .