Skip to content
This repository has been archived by the owner on Aug 26, 2020. It is now read-only.

Commit

Permalink
Removed transaction reference from refunds as it does not exist for FAC
Browse files Browse the repository at this point in the history
  • Loading branch information
einkoro committed Mar 27, 2015
1 parent 3fb1a77 commit b3d2693
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/class-wc-gateway-fac.php
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ public function process_refund($order_id, $amount = null, $reason = '')

if ( $response->isSuccessful() )
{
$order->add_order_note( sprintf( __('Refunded %s - Refund ID: %s', 'woocommerce'), $data['amount'], $response->getTransactionReference() ) );
$order->add_order_note( sprintf( __('Refunded %s', 'woocommerce-gateway-fac'), $data['amount'] ) );
return true;
}
else
Expand Down

0 comments on commit b3d2693

Please sign in to comment.