Open bahiirwa opened 7 years ago
Adding line 39 in includes/gateway.php
/* Support automated refunds. Needs to be atleast woocommerce v2.2 / $this->supports = array( 'refunds' );
Allows the plugin to accept automated refunds.
Glitch is about passing the amount paid into the "loop". Seems to have the key here. https://github.com/mollie/WooCommerce/blob/master/mollie-payments-for-woocommerce/includes/mollie/wc/gateway/abstract.php
Good enhancement to add automated refunds when admin wants to refund customer funds