diff --git a/commerce_payment_network.module b/commerce_payment_network.module
index a5e5df2..058d3de 100644
--- a/commerce_payment_network.module
+++ b/commerce_payment_network.module
@@ -4,12 +4,12 @@
  * @file
  * Implements Payment Network payment services for use in Drupal Commerce.
  */
- 
+
 /**
  * Implements hook_menu().
  */
 function commerce_payment_network_menu() {
-	
+
   $items = array();
 
   // Define an always accessible path to receive HTTP(s) notifications.
@@ -27,19 +27,18 @@ function commerce_payment_network_menu() {
  * Process incoming HTTP notifications
  * TODO: Handle incoming notifications when having a SofortBank Account
  */
- 
-function commerce_payment_network_notification () {
-	
-	// Look for incoming notifications
-	if(isset($_POST['order_id']) && isset($_POST['status']) || isset($_POST['hash'])) {
-		$notification = array(
-			'order' => $_POST['order_id'],
-			'status' => $_POST['status'],
-			'hash' => $_POST['hash'],
-		);
-		watchdog('commerce_payment_network', 'Empfangen: '.$_POST['order_id'], array(), WATCHDOG_INFO);
-	}
-	return FALSE;
+function commerce_payment_network_notification() {
+
+  // Look for incoming notifications
+  if (isset($_POST['order_id']) && isset($_POST['status']) || isset($_POST['hash'])) {
+    $notification = array(
+      'order' => $_POST['order_id'],
+      'status' => $_POST['status'],
+      'hash' => $_POST['hash'],
+    );
+    watchdog('commerce_payment_network', 'Empfangen: ' . $_POST['order_id'], array(), WATCHDOG_INFO);
+  }
+  return FALSE;
 }
 
 /**
@@ -73,7 +72,7 @@ function commerce_payment_network_commerce_payment_method_info() {
  */
 function commerce_payment_network_settings_form($settings = NULL) {
   $form = array();
-  
+
   $settings = (array) $settings + array(
     'userid' => '',
     'projectid' => '',
@@ -175,15 +174,15 @@ function commerce_payment_network_build_redirect_form($form, &$form_state, $orde
     'user_variable_4' => '',
     'user_variable_5' => '',
   );
-  
+
   // Allow modules to add or alter the data sent to payment network before signing.
   drupal_alter('commerce_payment_network_data', &$data, $order, $settings);
 
   // Redirect to sofortueberweisung.de
   $url = 'https://www.sofortueberweisung.de/payment/start';
   $form['#action'] = $url;
-	
-	// data array for hash generation
+
+  // data array for hash generation
   $hashdata = array(
     $data['user_id'],
     $data['project_id'],
@@ -206,11 +205,11 @@ function commerce_payment_network_build_redirect_form($form, &$form_state, $orde
 
   // Generate SHA-1 security string & add hidden parameters to form
   $hash = '';
-  
+
   // Generate a string, seperated with | for SHA1 generation
   $data_implode = implode('|', $hashdata);
   $hash = sha1($data_implode);
-  
+
   foreach ($data as $name => $value) {
     if (!empty($value)) {
       $value = trim($value);
@@ -218,7 +217,7 @@ function commerce_payment_network_build_redirect_form($form, &$form_state, $orde
       $form[$name] = array('#type' => 'hidden', '#value' => $value);
     }
   }
-  
+
   // Add the calculated SHA-1 string
   $form['hash'] = array('#type' => 'hidden', '#value' => $hash);
 
@@ -234,26 +233,27 @@ function commerce_payment_network_build_redirect_form($form, &$form_state, $orde
  * Implements hook_redirect_form_validate().
  */
 function commerce_payment_network_redirect_form_validate($order, $payment_method) {
-  
+
   // prepare $_GET values that are being sent by payment network for processing
   $feedback = array(
-  	'status' => $_GET['status'],
-  	'transaction_id' => $_GET['transaction'],
+    'status' => $_GET['status'],
+    'transaction_id' => $_GET['transaction'],
   );
-  
+
   $hash = $_GET['hash'];
   $hashcheck = sha1($order->order_id . $payment_method['settings']['project_pass']);
-  
+
   // Check if the received SHA-1 string genrerated from Order ID and Password is valid
   if ($hash != $hashcheck) {
-  	watchdog('commerce_payment_network', "SHA signature doesn't match", array(), WATCHDOG_ERROR);
-  	return FALSE;
-  } else {
-  		watchdog('commerce_payment_network', "SHA signature match", array(), WATCHDOG_INFO);
-  		// Process the transaction based on the payment network parameters received
-  		commerce_payment_network_process_transaction($order, $payment_method, $feedback);
-  		return TRUE;
-  	} 
+    watchdog('commerce_payment_network', "SHA signature doesn't match", array(), WATCHDOG_ERROR);
+    return FALSE;
+  }
+  else {
+    watchdog('commerce_payment_network', "SHA signature match", array(), WATCHDOG_INFO);
+    // Process the transaction based on the payment network parameters received
+    commerce_payment_network_process_transaction($order, $payment_method, $feedback);
+    return TRUE;
+  }
 }
 
 /**
@@ -267,7 +267,7 @@ function commerce_payment_network_redirect_form_validate($order, $payment_method
  *   The parameters received from Payment Network regarding the payment
  */
 function commerce_payment_network_process_transaction($order, $payment_method, $feedback) {
-  
+
   $transaction = commerce_payment_transaction_new('payment_network', $order->order_id);
   $payment_status = commerce_payment_network_feedback_status($feedback['status']);
 
@@ -282,7 +282,6 @@ function commerce_payment_network_process_transaction($order, $payment_method, $
   $transaction->status = $payment_status['code'];
   $transaction->message = $payment_status['message'];
   commerce_payment_transaction_save($transaction);
-  
 }
 
 /**
@@ -291,16 +290,15 @@ function commerce_payment_network_process_transaction($order, $payment_method, $
  *   received payment network status:
  *   * pending: not_credited_yet Das Geld ist noch nicht eingegangen.
  *   * loss: not_credited Das Geld ist nicht eingegangen.
- *   * refunded: refunded Das Geld wurde zurŸckerstattet (komplette RŸckbuchung des Gesamtbetrags).
+ *   * refunded: refunded Das Geld wurde zurÅ¸ckerstattet (komplette RÅ¸ckbuchung des Gesamtbetrags).
  *   * received: credited Das Geld ist eingegangen.
  *   * received: consumer_protection Das Geld ist auf dem Treuhandkonto eingegangen.
- *   * loss: complaint Der KŠuferschutz wurde in Anspruch genommen.
- *   * refunded: compensation Das Geld wurde zurŸckerstattet (TeilrŸckbuchung).
+ *   * loss: complaint Der KÅ uferschutz wurde in Anspruch genommen.
+ *   * refunded: compensation Das Geld wurde zurÅ¸ckerstattet (TeilrÅ¸ckbuchung).
  * @return array
  *   key 'code' contains the commerce status
  *   key 'message' contains a textual representation of the payment network status
  */
-
 function commerce_payment_network_feedback_status($status) {
   switch ($status) {
     /** SUCCESS **/
