louie_branch #81
|
@ -360,7 +360,7 @@ function renewToken() {
|
|||
$orderArray = json_encode($order, true);
|
||||
$orderItems = json_decode($orderArray, true);
|
||||
|
||||
if ($orderItems['payment']['status'] === 'PAID') {
|
||||
if (strtoupper($orderItems['payment']['status']) === 'PAID') {
|
||||
foreach ($orderItems['items'] as $item) {
|
||||
$displayDate = date('m-d-Y, g:i A', strtotime($orderItems['updatedAt']));
|
||||
$isPayoutCompleted = !empty($orderItems['payout_status']);
|
||||
|
|
Loading…
Reference in New Issue