wip
This commit is contained in:
@@ -79,7 +79,6 @@ class OnlinePaymentController extends Controller
|
|||||||
|
|
||||||
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 @@ class OnlinePaymentRepo
|
|||||||
'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