This commit is contained in:
2024-11-23 11:56:25 +05:00
parent 882cd55161
commit 0b5b1574a5
2 changed files with 2 additions and 1 deletions

View File

@@ -79,7 +79,6 @@ class OnlinePaymentController extends Controller
public function visaMaster(OnlinePaymentStoreRequest $request)
{
return $request->all();
$data = OnlinePaymentRepo::checkPayment($request);
return view(OnlinePaymentRepo::statusView(), $data);

View File

@@ -180,6 +180,8 @@ class OnlinePaymentRepo
'password' => $resource->branch->billing_visa_master_password,
]);
info($response->json());
$payment_status = $response['ErrorCode'] == '0';
if ($payment_status) {