Skip to content

Commit

Permalink
If the gateway is not specified, the request to Operation was not cor…
Browse files Browse the repository at this point in the history
…rect
  • Loading branch information
arhitov committed May 12, 2024
1 parent 4e6eea8 commit 55a1556
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Console/Commands/CheckOmnipayPaymentStateCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public function handle(): int

/** @var Operation|null $operation */
$operation = Operation::query()
->where('gateway', '=', $omnipayGateway->getGateway())
->where('gateway', '=', $omnipayGateway->getGatewayName())
->where('gateway_payment_id', '=', $response->getTransactionReference())
->first();
if (! $operation) {
Expand Down

0 comments on commit 55a1556

Please sign in to comment.