wip
This commit is contained in:
@@ -61,17 +61,9 @@ class CheckOnlinePayment extends Action
|
|||||||
'password' => $password,
|
'password' => $password,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
$payment_status = $response['ErrorCode'] == '0';
|
return $response['ErrorCode'] == '0'
|
||||||
|
? ActionResponse::message('Tölenen')
|
||||||
if ($payment_status) {
|
: ActionResponse::danger('Tölenmedik');
|
||||||
return Action::modal('modal', [
|
|
||||||
'message' => 'Tölenen',
|
|
||||||
]);
|
|
||||||
}
|
|
||||||
|
|
||||||
return Action::modal('modal', [
|
|
||||||
'message' => 'Tölenmedik',
|
|
||||||
]);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user