Skip to content

Commit

Permalink
Code Standards fixes. #102
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisgan committed Jan 9, 2024
1 parent cf6cc43 commit 9782cd8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Gateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -574,10 +574,10 @@ public function check_paytrail_response() {
$order_id = filter_input(INPUT_GET, 'order_id');
$reference = filter_input(INPUT_GET, 'checkout-reference');

if(!$status && !$reference && !$refund_callback && !$refund_unique_id){
//no log to reduce number of log entries
return;
}
if (!$status && !$reference && !$refund_callback && !$refund_unique_id) {
//no log to reduce number of log entries
return;
}

if (!$reference && $status && !$refund_callback && !$refund_unique_id) {
$this->log('Paytrail: check_paytrail_response, no reference found for status: ' . $status, 'debug');
Expand Down

0 comments on commit 9782cd8

Please sign in to comment.