gelo_branch #49

Merged
MarkHipe merged 4 commits from gelo_branch into main 2024-03-26 16:45:02 +08:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 011ae8496e - Show all commits

View File

@ -217,7 +217,7 @@ if (is_array($vendorDecode)) {
foreach ($vendorOrders as $order) {
$orderArray = json_encode($order, true);
$orderItems = json_decode($orderArray, true);
if($orderItems['payment']['status'] == 'paid'){
if(strtolower($orderItems['payment']['status']) == 'paid'){
$rawDate = $orderItems['payment']['details'][0]['attributes']['data']['attributes']['payments'][0]['createdAt'];
if ($rawDate) {