Skip to content

Commit

Permalink
Removed whitespace.
Browse files Browse the repository at this point in the history
  • Loading branch information
iamdharmesh committed Feb 28, 2024
1 parent 3ff27a4 commit 3994bc8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions includes/Framework/PaymentGateway/Payment_Gateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -2021,7 +2021,7 @@ protected function gift_card_cancel_payment( \WC_Order $order, Payment_Gateway_A
esc_html__( 'Square Gift Card payment cancelled (Transaction ID: %1$s)', 'woocommerce-square' ),
$response->get_transaction_id()
);

$order->add_order_note( $message );
}
}
Expand Down Expand Up @@ -2454,7 +2454,7 @@ protected function add_refund_order_note( \WC_Order $order, $response ) {
* @param Payment_Gateway_API_Response $response transaction response
*/
protected function add_multi_payment_refund_order_note( \WC_Order $order, $response, $payment_data = array() ) {
$method = $this->get_method_title();
$method = $this->get_method_title();
if ( 'gift_card' === $payment_data['payment_type'] ) {
$method = esc_html__( 'Square Gift Card', 'woocommerce-square' );
} elseif ( 'credit_card' === $payment_data['payment_type'] ) {
Expand Down

0 comments on commit 3994bc8

Please sign in to comment.