Skip to content

Commit

Permalink
Пофиксил валидацию платежа
Browse files Browse the repository at this point in the history
  • Loading branch information
Davidnadejdin authored Jun 8, 2020
1 parent 3bfa443 commit 652d03f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LaravelRobokassaClass.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function validateResult($data, $sum): bool
config('robokassa.test_mode')
);

return $payment->validateResult($data) && $payment->getSum() === $sum;
return $payment->validateResult($data) && $payment->getSum() == $sum;
}

/**
Expand Down

0 comments on commit 652d03f

Please sign in to comment.