Skip to content

Commit

Permalink
random mac
Browse files Browse the repository at this point in the history
  • Loading branch information
lintangtimur committed Sep 9, 2020
1 parent 5e6b0b0 commit 279811c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Ovoid.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public function login2FAVerify($refId, $verificationCode, $mobilePhone)
$data = [
'appVersion' => Meta::APP_VERSION,
'deviceId' => gen_uuid(),
'macAddress' => Meta::MAC_ADDRESS,
'macAddress' => gen_mac(),
'mobile' => $mobilePhone,
'osName' => Meta::OS_NAME,
'osVersion' => Meta::OS_VERSION,
Expand Down Expand Up @@ -152,7 +152,7 @@ public function balanceModel()
* @throws \Stelin\Exception\AmountException
* @return \Stelin\Response\CustomerTransferResponse
*/
public function transferOvo($to_mobilePhone, $amount, $message = "")
public function transferOvo($to_mobilePhone, $amount, $message = '')
{
if ($amount < 10000) {
throw new \Stelin\Exception\AmountException('Minimal 10.000');
Expand All @@ -161,7 +161,7 @@ public function transferOvo($to_mobilePhone, $amount, $message = "")
$ch = new Curl;
$data = [
'amount' => $amount,
'message' => $message == "" ? 'Sent from OVOID' : $message,
'message' => $message == '' ? 'Sent from OVOID' : $message,
'to' => $to_mobilePhone,
'trxId' => $this->generateTrxId($amount, ActionMark::TRANSFER_OVO)->getTrxId()
];
Expand All @@ -171,7 +171,7 @@ public function transferOvo($to_mobilePhone, $amount, $message = "")

/**
* check apakah OVO
*
*
* Hasil dari method ini untuk mengecek atau memverifikasi apakah sudah benar
* yang mau ditransfer benar akun tersebut apa tidak
* silahkan di cek dengan getIsOVOResponse
Expand Down

0 comments on commit 279811c

Please sign in to comment.