diff --git a/src/Extension.php b/src/Extension.php index 7306a66..bda903e 100644 --- a/src/Extension.php +++ b/src/Extension.php @@ -373,10 +373,7 @@ public function maybe_record_memberpress_transaction_refund( Payment $payment ) $memberpress_transaction->store(); - // Send 'Transaction Refunded' notice for refund (not for chargeback). - if ( $amount_refunded->get_value() > 0 ) { - MeprUtils::send_refunded_txn_notices( $memberpress_transaction ); - } + MeprUtils::send_refunded_txn_notices( $memberpress_transaction ); } /** @@ -568,7 +565,7 @@ public function status_update( Payment $payment ) { /** * Payment fulfilled. - * + * * @ignore Private action for now. * @param Payment $payment Payment. * @link https://github.com/pronamic/wp-pronamic-pay-mollie/issues/18#issuecomment-1373362874