This commit is contained in:
2024-11-25 18:01:18 +05:00
parent 2404feebe6
commit 7259cdcb26
7 changed files with 70 additions and 5 deletions

View File

@@ -10,7 +10,14 @@ use Illuminate\Support\Facades\Http;
trait HandlesVisaMasterPayments
{
public static function checkPaymentVisaMaster(Request $request)
/**
* Check payment payment visa master
*
* @param Request $request
*
* @return array<string, bool|string>
*/
public static function checkPaymentVisaMaster(Request $request): array
{
// Find order from history
$paymentHistory = OnlinePaymentHistory::where('orderId', $request->orderId)->first();