wip
This commit is contained in:
1 parent
882cd55161
commit
0b5b1574a5
2 files changed
+2
-1
No files matched your search
@@ -79,7 +79,6 @@ public function store(Request $request)
|
|||||||
|
|
||||||
public function visaMaster(OnlinePaymentStoreRequest $request)
|
public function visaMaster(OnlinePaymentStoreRequest $request)
|
||||||
{
|
{
|
||||||
return $request->all();
|
|
||||||
$data = OnlinePaymentRepo::checkPayment($request);
|
$data = OnlinePaymentRepo::checkPayment($request);
|
||||||
|
|
||||||
return view(OnlinePaymentRepo::statusView(), $data);
|
return view(OnlinePaymentRepo::statusView(), $data);
|
||||||
|
|||||||
@@ -180,6 +180,8 @@ public static function checkPayment(Request $request)
|
|||||||
'password' => $resource->branch->billing_visa_master_password,
|
'password' => $resource->branch->billing_visa_master_password,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
info($response->json());
|
||||||
|
|
||||||
$payment_status = $response['ErrorCode'] == '0';
|
$payment_status = $response['ErrorCode'] == '0';
|
||||||
|
|
||||||
if ($payment_status) {
|
if ($payment_status) {
|
||||||
|
|||||||
Reference in new issue
Block a user