Skip to content

Commit 4d4a5a1

Browse files
committed
Add missing space in webhook notice
1 parent 7857d47 commit 4d4a5a1

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

includes/class-wc-monei-ipn.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,14 +101,14 @@ protected function handle_valid_ipn( $payload ) {
101101

102102
if ( 'FAILED' === $status ) {
103103
// Order failed.
104-
$order->add_order_note( __( 'HTTP Notification received - <strong>Payment Failed</strong>', 'monei' ) . $status );
104+
$order->add_order_note( __( 'HTTP Notification received - <strong>Payment Failed</strong> ', 'monei' ) . $status );
105105
$order->update_status( 'pending', 'Failed MONEI payment: ' . $status_message );
106106
return;
107107
}
108108

109109
if ( 'CANCELED' === $status ) {
110110
// Order cancelled.
111-
$order->add_order_note( __( 'HTTP Notification received - <strong>Payment Cancelled</strong>', 'monei' ) . $status );
111+
$order->add_order_note( __( 'HTTP Notification received - <strong>Payment Cancelled</strong> ', 'monei' ) . $status );
112112
$message = __( 'Cancelled by MONEI: ', 'monei' ) . $status_message;
113113
$order->add_order_note( $message );
114114
return;
@@ -118,7 +118,7 @@ protected function handle_valid_ipn( $payload ) {
118118
// We save is a non captured order.
119119
$order->update_meta_data( '_payment_not_captured_monei', 1 );
120120

121-
$order_note = __( 'HTTP Notification received - <strong>Payment Authorized</strong>', 'monei' ) . '. <br><br>';
121+
$order_note = __( 'HTTP Notification received - <strong>Payment Authorized</strong> ', 'monei' ) . '. <br><br>';
122122
$order_note .= __( 'MONEI Transaction id: ', 'monei' ) . $monei_id . '. <br><br>';
123123
$order_note .= __( 'MONEI Status Message: ', 'monei' ) . $status_message;
124124
$order->add_order_note( $order_note );
@@ -146,7 +146,7 @@ protected function handle_valid_ipn( $payload ) {
146146
exit;
147147
}
148148

149-
$order_note = __( 'HTTP Notification received - <strong>Payment Completed</strong>', 'monei' ) . '. <br><br>';
149+
$order_note = __( 'HTTP Notification received - <strong>Payment Completed</strong> ', 'monei' ) . '. <br><br>';
150150
$order_note .= __( 'MONEI Transaction id: ', 'monei' ) . $monei_id . '. <br><br>';
151151
$order_note .= __( 'MONEI Status Message: ', 'monei' ) . $status_message;
152152

0 commit comments

Comments
 (0)