louie_branch #81

Merged
MarkHipe merged 5 commits from louie_branch into main 2024-05-08 17:54:17 +08:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit d0e49d0ea4 - Show all commits

View File

@ -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']);