temprory stan error fixes

This commit is contained in:
2025-03-19 17:01:26 +05:00
parent 8a6cf2b3b9
commit d25227867c
4 changed files with 22 additions and 2 deletions

View File

@@ -18,7 +18,7 @@ trait HandlesBillingSyncing
string $rrn,
string $amount,
string $pay_purpose,
) {
): mixed {
$body = sprintf('{
"ecomId": "%s",
"agentId": "%s",

View File

@@ -186,6 +186,8 @@ class OnlinePaymentRepo
/**
* Successfully payment response
*
* @return array<string, mixed>
*/
public static function successfulPaymentResponse(
OnlinePaymentHistory $paymentHistory,
@@ -208,6 +210,8 @@ class OnlinePaymentRepo
/**
* Failed payment response
*
* @return array<string, mixed>
*/
public static function failedPaymentResponse(
OnlinePaymentHistory $paymentHistory,
@@ -230,6 +234,8 @@ class OnlinePaymentRepo
/**
* Resource not found
*
* @return array<string, mixed>
*/
protected static function resourceNotFound(): array
{

View File

@@ -14,6 +14,8 @@ trait HandlesVisaMasterPayments
* Check payment payment visa master
*
* @param Request $request
*
* @return array<string, string|bool>
*/
public static function checkPaymentVisaMaster(Request $request): array
{