Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
JesperFiltenborg authored Mar 5, 2024
1 parent acf0788 commit 7af17f8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Http/Controllers/OmnipayController.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ public function purchase(Transaction $transaction)
return response()->json($response->getData());
}
if ($response->isSuccessful()) {
$transaction->transaction = $response->getTransactionReference();
return redirect($transaction->redirect_to);
}
if ($response->isRedirect()) {
Expand Down Expand Up @@ -173,7 +172,6 @@ public function authorize(Transaction $transaction)
return response()->json($response->getData());
}
if ($response->isSuccessful()) {
$transaction->transaction = $response->getTransactionReference();
return redirect($transaction->redirect_to);
}
if ($response->isRedirect()) {
Expand Down

0 comments on commit 7af17f8

Please sign in to comment.