This commit is contained in:
2025-09-08 11:36:39 +05:00
parent 5ebf573da2
commit 9c236aa8a8
4 changed files with 69 additions and 10 deletions

View File

@@ -194,7 +194,8 @@ class OnlinePaymentRepo
OnlinePaymentHistory $paymentHistory,
Branch $bank_branch,
Model $resource,
string $returnURL
string $returnURL,
$response,
): array {
return [
'success' => true,
@@ -206,6 +207,7 @@ class OnlinePaymentRepo
'bank_branch' => $bank_branch,
'resource' => $resource,
'paymentHistory' => $paymentHistory,
'response' => $response,
];
}
@@ -218,7 +220,8 @@ class OnlinePaymentRepo
OnlinePaymentHistory $paymentHistory,
Branch $bank_branch,
Model $resource,
string $returnURL
string $returnURL,
$response,
): array {
return [
'success' => false,
@@ -229,7 +232,7 @@ class OnlinePaymentRepo
'return_url' => $returnURL,
'paymentHistory' => $paymentHistory,
'bank_branch' => $bank_branch,
'resource' => $resource,
'response' => $response,
];
}