[26-Sep-2025 04:23:57 UTC] Database connection error: Database connection failed
[26-Sep-2025 04:23:57 UTC] PHP Fatal error:  Uncaught Error: Call to a member function prepare() on null in /home2/igoldser/public_html/2dayparfum.com/PERFUME_UI/models/Product.php:61
Stack trace:
#0 /home2/igoldser/public_html/2dayparfum.com/PERFUME_UI/models/Product.php(158): Product->getAll()
#1 /home2/igoldser/public_html/2dayparfum.com/PERFUME_UI/index.php(6): Product->getBestSellers()
#2 {main}
  thrown in /home2/igoldser/public_html/2dayparfum.com/PERFUME_UI/models/Product.php on line 61
[26-Sep-2025 07:21:02 UTC] Database connection error: Database connection failed
[26-Sep-2025 07:21:02 UTC] PHP Fatal error:  Uncaught Error: Call to a member function prepare() on null in /home2/igoldser/public_html/2dayparfum.com/PERFUME_UI/models/Product.php:61
Stack trace:
#0 /home2/igoldser/public_html/2dayparfum.com/PERFUME_UI/models/Product.php(158): Product->getAll()
#1 /home2/igoldser/public_html/2dayparfum.com/PERFUME_UI/index.php(6): Product->getBestSellers()
#2 {main}
  thrown in /home2/igoldser/public_html/2dayparfum.com/PERFUME_UI/models/Product.php on line 61
[26-Sep-2025 13:40:16 UTC] Database connection error: Database connection failed
[26-Sep-2025 13:40:16 UTC] PHP Fatal error:  Uncaught Error: Call to a member function prepare() on null in /home2/igoldser/public_html/2dayparfum.com/PERFUME_UI/models/Product.php:61
Stack trace:
#0 /home2/igoldser/public_html/2dayparfum.com/PERFUME_UI/models/Product.php(158): Product->getAll()
#1 /home2/igoldser/public_html/2dayparfum.com/PERFUME_UI/index.php(6): Product->getBestSellers()
#2 {main}
  thrown in /home2/igoldser/public_html/2dayparfum.com/PERFUME_UI/models/Product.php on line 61
[26-Sep-2025 19:11:02 UTC] Database connection error: Database connection failed
[26-Sep-2025 19:11:02 UTC] PHP Fatal error:  Uncaught Error: Call to a member function prepare() on null in /home2/igoldser/public_html/2dayparfum.com/PERFUME_UI/models/Product.php:61
Stack trace:
#0 /home2/igoldser/public_html/2dayparfum.com/PERFUME_UI/models/Product.php(158): Product->getAll()
#1 /home2/igoldser/public_html/2dayparfum.com/PERFUME_UI/index.php(6): Product->getBestSellers()
#2 {main}
  thrown in /home2/igoldser/public_html/2dayparfum.com/PERFUME_UI/models/Product.php on line 61
[27-Sep-2025 10:22:12 UTC] Database connection error: Database connection failed
[27-Sep-2025 10:22:12 UTC] PHP Fatal error:  Uncaught Error: Call to a member function prepare() on null in /home2/igoldser/public_html/2dayparfum.com/PERFUME_UI/models/Product.php:61
Stack trace:
#0 /home2/igoldser/public_html/2dayparfum.com/PERFUME_UI/models/Product.php(158): Product->getAll()
#1 /home2/igoldser/public_html/2dayparfum.com/PERFUME_UI/index.php(6): Product->getBestSellers()
#2 {main}
  thrown in /home2/igoldser/public_html/2dayparfum.com/PERFUME_UI/models/Product.php on line 61
[27-Sep-2025 15:16:34 UTC] Database connection error: Database connection failed
[27-Sep-2025 15:16:34 UTC] PHP Fatal error:  Uncaught Error: Call to a member function prepare() on null in /home2/igoldser/public_html/2dayparfum.com/PERFUME_UI/models/Product.php:61
Stack trace:
#0 /home2/igoldser/public_html/2dayparfum.com/PERFUME_UI/models/Product.php(158): Product->getAll()
#1 /home2/igoldser/public_html/2dayparfum.com/PERFUME_UI/index.php(6): Product->getBestSellers()
#2 {main}
  thrown in /home2/igoldser/public_html/2dayparfum.com/PERFUME_UI/models/Product.php on line 61
[27-Sep-2025 19:10:04 UTC] Database connection error: Database connection failed
[27-Sep-2025 19:10:04 UTC] PHP Fatal error:  Uncaught Error: Call to a member function prepare() on null in /home2/igoldser/public_html/2dayparfum.com/PERFUME_UI/models/Product.php:61
Stack trace:
#0 /home2/igoldser/public_html/2dayparfum.com/PERFUME_UI/models/Product.php(158): Product->getAll()
#1 /home2/igoldser/public_html/2dayparfum.com/PERFUME_UI/index.php(6): Product->getBestSellers()
#2 {main}
  thrown in /home2/igoldser/public_html/2dayparfum.com/PERFUME_UI/models/Product.php on line 61
[30-Sep-2025 05:48:18 UTC] Database connection error: Database connection failed
[30-Sep-2025 05:48:18 UTC] PHP Fatal error:  Uncaught Error: Call to a member function prepare() on null in /home2/igoldser/public_html/2dayparfum.com/PERFUME_UI/models/Product.php:61
Stack trace:
#0 /home2/igoldser/public_html/2dayparfum.com/PERFUME_UI/models/Product.php(158): Product->getAll()
#1 /home2/igoldser/public_html/2dayparfum.com/PERFUME_UI/index.php(6): Product->getBestSellers()
#2 {main}
  thrown in /home2/igoldser/public_html/2dayparfum.com/PERFUME_UI/models/Product.php on line 61
[01-Oct-2025 15:13:36 UTC] Database connection error: Database connection failed
[01-Oct-2025 15:13:36 UTC] PHP Fatal error:  Uncaught Error: Call to a member function prepare() on null in /home2/igoldser/public_html/2dayparfum.com/PERFUME_UI/models/Product.php:61
Stack trace:
#0 /home2/igoldser/public_html/2dayparfum.com/PERFUME_UI/models/Product.php(158): Product->getAll()
#1 /home2/igoldser/public_html/2dayparfum.com/PERFUME_UI/index.php(6): Product->getBestSellers()
#2 {main}
  thrown in /home2/igoldser/public_html/2dayparfum.com/PERFUME_UI/models/Product.php on line 61
[02-Oct-2025 03:35:51 UTC] Database connection error: Database connection failed
[02-Oct-2025 03:35:51 UTC] PHP Fatal error:  Uncaught Error: Call to a member function prepare() on null in /home2/igoldser/public_html/2dayparfum.com/apps/models/Product.php:81
Stack trace:
#0 /home2/igoldser/public_html/2dayparfum.com/apps/products.php(21): Product->getAll()
#1 {main}
  thrown in /home2/igoldser/public_html/2dayparfum.com/apps/models/Product.php on line 81
[02-Oct-2025 03:36:49 UTC] Database connection error: Database connection failed
[02-Oct-2025 03:36:49 UTC] PHP Fatal error:  Uncaught Error: Call to a member function prepare() on null in /home2/igoldser/public_html/2dayparfum.com/apps/models/Product.php:81
Stack trace:
#0 /home2/igoldser/public_html/2dayparfum.com/apps/models/Product.php(254): Product->getAll()
#1 /home2/igoldser/public_html/2dayparfum.com/apps/index.php(11): Product->getBestSellers()
#2 {main}
  thrown in /home2/igoldser/public_html/2dayparfum.com/apps/models/Product.php on line 81
[02-Oct-2025 03:38:05 UTC] PHP Fatal error:  Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'igoldser_perfume2days.version_variations' doesn't exist in /home2/igoldser/public_html/2dayparfum.com/apps/models/Product.php:91
Stack trace:
#0 /home2/igoldser/public_html/2dayparfum.com/apps/models/Product.php(91): PDOStatement->execute()
#1 /home2/igoldser/public_html/2dayparfum.com/apps/products.php(21): Product->getAll()
#2 {main}
  thrown in /home2/igoldser/public_html/2dayparfum.com/apps/models/Product.php on line 91
[02-Oct-2025 03:38:07 UTC] PHP Fatal error:  Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'igoldser_perfume2days.version_variations' doesn't exist in /home2/igoldser/public_html/2dayparfum.com/apps/models/Product.php:91
Stack trace:
#0 /home2/igoldser/public_html/2dayparfum.com/apps/models/Product.php(91): PDOStatement->execute()
#1 /home2/igoldser/public_html/2dayparfum.com/apps/products.php(21): Product->getAll()
#2 {main}
  thrown in /home2/igoldser/public_html/2dayparfum.com/apps/models/Product.php on line 91
[02-Oct-2025 03:38:50 UTC] PHP Fatal error:  Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'igoldser_perfume2days.version_variations' doesn't exist in /home2/igoldser/public_html/2dayparfum.com/apps/models/Product.php:91
Stack trace:
#0 /home2/igoldser/public_html/2dayparfum.com/apps/models/Product.php(91): PDOStatement->execute()
#1 /home2/igoldser/public_html/2dayparfum.com/apps/products.php(21): Product->getAll()
#2 {main}
  thrown in /home2/igoldser/public_html/2dayparfum.com/apps/models/Product.php on line 91
[02-Oct-2025 03:45:14 UTC] Product ID: 23, Feedback records found: 0
[02-Oct-2025 03:45:14 UTC] Total feedback records in database: 6
[02-Oct-2025 03:45:14 UTC] Product ID: 23, Total sold: 0
[02-Oct-2025 03:45:50 UTC] Product ID: 22, Feedback records found: 5
[02-Oct-2025 03:45:50 UTC] Product ID: 22, Total sold: 12
[02-Oct-2025 03:58:13 UTC] Product ID: 23, Feedback records found: 0
[02-Oct-2025 03:58:13 UTC] Total feedback records in database: 6
[02-Oct-2025 03:58:13 UTC] Product ID: 23, Total sold: 0
[02-Oct-2025 04:16:27 UTC] Product ID: 22, Feedback records found: 5
[02-Oct-2025 04:16:27 UTC] Product ID: 22, Total sold: 12
[02-Oct-2025 04:16:29 UTC] Add to cart: user_id=2, session_id=1eeol10buoh3pv5stmjpn3r9vr, product_id=22, quantity=1, size=, version=, price=20
[02-Oct-2025 04:16:29 UTC] Cart::addItem - user_id: 2, session_id: 1eeol10buoh3pv5stmjpn3r9vr, product_id: 22, size: , version: , quantity: 1, price: 20
[02-Oct-2025 04:16:29 UTC] Cart::getCartItem - Query: SELECT * FROM cart 
                  WHERE product_id = :product_id AND size = :size AND version = :version AND user_id = :user_id AND session_id = :session_id
[02-Oct-2025 04:16:29 UTC] Cart::getCartItem - Params: {"product_id":22,"size":"","version":"","user_id":"2","session_id":"1eeol10buoh3pv5stmjpn3r9vr"}
[02-Oct-2025 04:16:29 UTC] Cart::getCartItem - No existing item found
[02-Oct-2025 04:16:29 UTC] Cart::getSessionCartItem - Query: SELECT * FROM cart 
                  WHERE session_id = :session_id AND product_id = :product_id AND size = :size AND version = :version
[02-Oct-2025 04:16:29 UTC] Cart::getSessionCartItem - Params: {"session_id":"1eeol10buoh3pv5stmjpn3r9vr","product_id":22,"size":"","version":""}
[02-Oct-2025 04:16:29 UTC] Cart::getSessionCartItem - No session item found
[02-Oct-2025 04:16:29 UTC] Cart::addItem - No existing item found, creating new item
[02-Oct-2025 04:16:29 UTC] Cart::addItem - Successfully created new item with ID: 90
[02-Oct-2025 04:16:29 UTC] Successfully added to cart. Cart count: 1, Cart item ID: 90
[02-Oct-2025 04:16:34 UTC] Shipping config query for amount 20 found: {"id":"1","name":"ezparcel","description":"","fee_type":"Weight_Based","base_fee":"0.10","fee_value":"8.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"2","delivery_days_max":"3","is_active":"1","sort_order":"1","created_at":"2025-09-24 15:18:29","updated_at":"2025-09-25 11:16:36","per_kg_fee":"2.50","min_weight":"0.00","max_weight":"10.00"}
[02-Oct-2025 04:16:34 UTC] Cart page requesting shipping config for order amount: 20
[02-Oct-2025 04:27:33 UTC] Product ID: 23, Feedback records found: 0
[02-Oct-2025 04:27:33 UTC] Total feedback records in database: 6
[02-Oct-2025 04:27:33 UTC] Product ID: 23, Total sold: 0
[02-Oct-2025 04:33:30 UTC] Product ID: 21, Feedback records found: 0
[02-Oct-2025 04:33:30 UTC] Total feedback records in database: 6
[02-Oct-2025 04:33:30 UTC] Product ID: 21, Total sold: 1
[02-Oct-2025 04:36:33 UTC] Product ID: 22, Feedback records found: 5
[02-Oct-2025 04:36:33 UTC] Product ID: 22, Total sold: 12
[02-Oct-2025 04:55:21 UTC] Product ID: 22, Feedback records found: 5
[02-Oct-2025 04:55:21 UTC] Product ID: 22, Total sold: 12
[02-Oct-2025 04:56:51 UTC] Product ID: 22, Feedback records found: 5
[02-Oct-2025 04:56:51 UTC] Product ID: 22, Total sold: 12
[02-Oct-2025 05:36:47 UTC] Product ID: 22, Feedback records found: 5
[02-Oct-2025 05:36:47 UTC] Product ID: 22, Total sold: 12
[02-Oct-2025 05:36:59 UTC] Product ID: 21, Feedback records found: 0
[02-Oct-2025 05:36:59 UTC] Total feedback records in database: 6
[02-Oct-2025 05:36:59 UTC] Product ID: 21, Total sold: 1
[02-Oct-2025 05:37:31 UTC] Product ID: 22, Feedback records found: 5
[02-Oct-2025 05:37:31 UTC] Product ID: 22, Total sold: 12
[02-Oct-2025 05:37:40 UTC] Product ID: 22, Feedback records found: 5
[02-Oct-2025 05:37:40 UTC] Product ID: 22, Total sold: 12
[02-Oct-2025 05:38:41 UTC] Checkout: Received POST request
[02-Oct-2025 05:38:41 UTC] Checkout: POST data: Array
(
    [discounted_total] => 23.35
    [email] => irfanhashim94@gmail.com
    [newsletter] => on
    [first_name] => Irfan
    [last_name] => Hashim
    [address] => Pt509 
    [apartment] => Jalan kuala krai bandar bharu tunjung 
    [city] => Kota Bharu 
    [country] => Malaysia
    [state] => Kelantan 
    [zip_code] => 16010 
    [phone] => 0139032053
    [payment_method] => toyyibpay_fpx
    [payment_method_fallback] => toyyibpay_fpx
    [billing_same] => on
)

[02-Oct-2025 05:38:41 UTC] Checkout: Payment method: toyyibpay_fpx
[02-Oct-2025 05:38:41 UTC] Checkout Debug - Applied Voucher: No
[02-Oct-2025 05:38:41 UTC] Order created successfully: ID 52
[02-Oct-2025 05:38:41 UTC] toyyibPay createBill data: Array
(
    [userSecretKey] => j816hxzw-4da3-5a0p-o18t-42rybaon2xky
    [categoryCode] => 93v503tu
    [billName] => Order #52
    [billDescription] => Payment for Order #52
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 2335
    [billReturnUrl] => http://localhost/PERFUME_UI/payment-return.php
    [billCallbackUrl] => http://localhost/PERFUME_UI/payment-callback.php
    [billExternalReferenceNo] => 52
    [billTo] => Irfan Hashim
    [billEmail] => irfanhashim94@gmail.com
    [billPhone] => 0139032053
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[02-Oct-2025 05:38:41 UTC] toyyibPay makeApiCall - URL: https://dev.toyyibpay.com/index.php/api/createBill
[02-Oct-2025 05:38:41 UTC] toyyibPay makeApiCall - Data: Array
(
    [userSecretKey] => j816hxzw-4da3-5a0p-o18t-42rybaon2xky
    [categoryCode] => 93v503tu
    [billName] => Order #52
    [billDescription] => Payment for Order #52
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 2335
    [billReturnUrl] => http://localhost/PERFUME_UI/payment-return.php
    [billCallbackUrl] => http://localhost/PERFUME_UI/payment-callback.php
    [billExternalReferenceNo] => 52
    [billTo] => Irfan Hashim
    [billEmail] => irfanhashim94@gmail.com
    [billPhone] => 0139032053
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[02-Oct-2025 05:38:42 UTC] toyyibPay makeApiCall - HTTP Code: 200
[02-Oct-2025 05:38:42 UTC] toyyibPay makeApiCall - Raw Response: 						[{"BillCode":"036ib5ye"}]
[02-Oct-2025 05:38:42 UTC] toyyibPay makeApiCall - cURL Info: Array
(
    [url] => https://dev.toyyibpay.com/index.php/api/createBill
    [content_type] => text/html; charset=UTF-8
    [http_code] => 200
    [header_size] => 926
    [request_size] => 2599
    [filetime] => -1
    [ssl_verify_result] => 20
    [redirect_count] => 0
    [total_time] => 0.153892
    [namelookup_time] => 0.031503
    [connect_time] => 0.040911
    [pretransfer_time] => 0.057232
    [size_upload] => 2376
    [size_download] => 31
    [speed_download] => 201
    [speed_upload] => 15439
    [download_content_length] => -1
    [upload_content_length] => 2376
    [starttransfer_time] => 0.153725
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 104.26.13.38
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 103.72.163.73
    [local_port] => 56986
    [http_version] => 3
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => https
    [appconnect_time_us] => 56757
    [connect_time_us] => 40911
    [namelookup_time_us] => 31503
    [pretransfer_time_us] => 57232
    [redirect_time_us] => 0
    [starttransfer_time_us] => 153725
    [total_time_us] => 153892
)

[02-Oct-2025 05:38:42 UTC] toyyibPay makeApiCall - Decoded Response: Array
(
    [0] => Array
        (
            [BillCode] => 036ib5ye
        )

)

[02-Oct-2025 05:38:42 UTC] toyyibPay createBill response: Array
(
    [0] => Array
        (
            [BillCode] => 036ib5ye
        )

)

[02-Oct-2025 05:38:42 UTC] toyyibPay createBill success: 036ib5ye
[02-Oct-2025 06:40:30 UTC] Product ID: 22, Feedback records found: 5
[02-Oct-2025 06:40:30 UTC] Product ID: 22, Total sold: 12
[02-Oct-2025 06:42:23 UTC] Product ID: 23, Feedback records found: 0
[02-Oct-2025 06:42:23 UTC] Total feedback records in database: 6
[02-Oct-2025 06:42:23 UTC] Product ID: 23, Total sold: 0
[02-Oct-2025 07:36:58 UTC] Product ID: 32, Feedback records found: 0
[02-Oct-2025 07:36:58 UTC] Total feedback records in database: 0
[02-Oct-2025 07:36:58 UTC] Product ID: 32, Total sold: 0
[02-Oct-2025 07:42:27 UTC] Product ID: 32, Feedback records found: 0
[02-Oct-2025 07:42:27 UTC] Total feedback records in database: 0
[02-Oct-2025 07:42:27 UTC] Product ID: 32, Total sold: 0
[02-Oct-2025 07:42:39 UTC] Product ID: 32, Feedback records found: 0
[02-Oct-2025 07:42:39 UTC] Total feedback records in database: 0
[02-Oct-2025 07:42:39 UTC] Product ID: 32, Total sold: 0
[02-Oct-2025 07:42:43 UTC] Product ID: 33, Feedback records found: 0
[02-Oct-2025 07:42:43 UTC] Total feedback records in database: 0
[02-Oct-2025 07:42:43 UTC] Product ID: 33, Total sold: 0
[02-Oct-2025 08:12:54 UTC] Product ID: 33, Feedback records found: 0
[02-Oct-2025 08:12:54 UTC] Total feedback records in database: 0
[02-Oct-2025 08:12:54 UTC] Product ID: 33, Total sold: 0
[02-Oct-2025 08:20:05 UTC] Product ID: 32, Feedback records found: 0
[02-Oct-2025 08:20:05 UTC] Total feedback records in database: 0
[02-Oct-2025 08:20:05 UTC] Product ID: 32, Total sold: 0
[02-Oct-2025 08:42:52 UTC] Product ID: 33, Feedback records found: 0
[02-Oct-2025 08:42:52 UTC] Total feedback records in database: 0
[02-Oct-2025 08:42:52 UTC] Product ID: 33, Total sold: 0
[02-Oct-2025 08:45:55 UTC] Product ID: 32, Feedback records found: 0
[02-Oct-2025 08:45:55 UTC] Total feedback records in database: 0
[02-Oct-2025 08:45:55 UTC] Product ID: 32, Total sold: 0
[02-Oct-2025 08:46:21 UTC] Product ID: 33, Feedback records found: 0
[02-Oct-2025 08:46:21 UTC] Total feedback records in database: 0
[02-Oct-2025 08:46:21 UTC] Product ID: 33, Total sold: 0
[02-Oct-2025 08:46:39 UTC] Product ID: 32, Feedback records found: 0
[02-Oct-2025 08:46:39 UTC] Total feedback records in database: 0
[02-Oct-2025 08:46:39 UTC] Product ID: 32, Total sold: 0
[02-Oct-2025 08:47:51 UTC] Product ID: 32, Feedback records found: 0
[02-Oct-2025 08:47:51 UTC] Total feedback records in database: 0
[02-Oct-2025 08:47:51 UTC] Product ID: 32, Total sold: 0
[02-Oct-2025 08:47:59 UTC] Product ID: 33, Feedback records found: 0
[02-Oct-2025 08:47:59 UTC] Total feedback records in database: 0
[02-Oct-2025 08:47:59 UTC] Product ID: 33, Total sold: 0
[02-Oct-2025 08:54:27 UTC] Product ID: 32, Feedback records found: 0
[02-Oct-2025 08:54:27 UTC] Total feedback records in database: 0
[02-Oct-2025 08:54:27 UTC] Product ID: 32, Total sold: 0
[02-Oct-2025 15:42:02 UTC] Product ID: 32, Feedback records found: 0
[02-Oct-2025 15:42:02 UTC] Total feedback records in database: 0
[02-Oct-2025 15:42:02 UTC] Product ID: 32, Total sold: 0
[02-Oct-2025 15:42:20 UTC] Product ID: 32, Feedback records found: 0
[02-Oct-2025 15:42:20 UTC] Total feedback records in database: 0
[02-Oct-2025 15:42:20 UTC] Product ID: 32, Total sold: 0
[02-Oct-2025 15:42:23 UTC] Product ID: 33, Feedback records found: 0
[02-Oct-2025 15:42:23 UTC] Total feedback records in database: 0
[02-Oct-2025 15:42:23 UTC] Product ID: 33, Total sold: 0
[02-Oct-2025 15:50:22 UTC] Product ID: 32, Feedback records found: 0
[02-Oct-2025 15:50:22 UTC] Total feedback records in database: 0
[02-Oct-2025 15:50:22 UTC] Product ID: 32, Total sold: 0
[02-Oct-2025 15:50:28 UTC] Product ID: 32, Feedback records found: 0
[02-Oct-2025 15:50:28 UTC] Total feedback records in database: 0
[02-Oct-2025 15:50:28 UTC] Product ID: 32, Total sold: 0
[02-Oct-2025 15:50:34 UTC] Product ID: 32, Feedback records found: 0
[02-Oct-2025 15:50:34 UTC] Total feedback records in database: 0
[02-Oct-2025 15:50:34 UTC] Product ID: 32, Total sold: 0
[02-Oct-2025 15:50:45 UTC] Product ID: 32, Feedback records found: 0
[02-Oct-2025 15:50:45 UTC] Total feedback records in database: 0
[02-Oct-2025 15:50:45 UTC] Product ID: 32, Total sold: 0
[02-Oct-2025 16:19:51 UTC] Product ID: 33, Feedback records found: 0
[02-Oct-2025 16:19:51 UTC] Total feedback records in database: 0
[02-Oct-2025 16:19:51 UTC] Product ID: 33, Total sold: 0
[02-Oct-2025 16:20:06 UTC] Product ID: 32, Feedback records found: 0
[02-Oct-2025 16:20:06 UTC] Total feedback records in database: 0
[02-Oct-2025 16:20:06 UTC] Product ID: 32, Total sold: 0
[02-Oct-2025 16:20:31 UTC] Product ID: 33, Feedback records found: 0
[02-Oct-2025 16:20:31 UTC] Total feedback records in database: 0
[02-Oct-2025 16:20:31 UTC] Product ID: 33, Total sold: 0
[02-Oct-2025 17:03:44 UTC] Product ID: 32, Feedback records found: 0
[02-Oct-2025 17:03:44 UTC] Total feedback records in database: 0
[02-Oct-2025 17:03:44 UTC] Product ID: 32, Total sold: 0
[02-Oct-2025 17:04:43 UTC] Product ID: 33, Feedback records found: 0
[02-Oct-2025 17:04:43 UTC] Total feedback records in database: 0
[02-Oct-2025 17:04:43 UTC] Product ID: 33, Total sold: 0
[03-Oct-2025 03:46:47 UTC] Product ID: 32, Feedback records found: 0
[03-Oct-2025 03:46:47 UTC] Total feedback records in database: 0
[03-Oct-2025 03:46:47 UTC] Product ID: 32, Total sold: 0
[03-Oct-2025 03:47:11 UTC] Checkout: Received POST request
[03-Oct-2025 03:47:11 UTC] Checkout: POST data: Array
(
    [discounted_total] => 15.25
    [email] => azfarirfan7767@gmail.com
    [saved_address_id] => 1
    [first_name] => AZFAR
    [last_name] => BIN ASRI
    [address] => Kg Surau Bator
    [apartment] => 
    [city] => Bachok
    [country] => Malaysia
    [state] => Kelantan
    [zip_code] => 16070
    [phone] => +60179853875
    [payment_method] => toyyibpay_fpx
    [payment_method_fallback] => toyyibpay_fpx
    [billing_same] => on
)

[03-Oct-2025 03:47:11 UTC] Checkout: Payment method: toyyibpay_fpx
[03-Oct-2025 03:47:11 UTC] Checkout Debug - Applied Voucher: No
[03-Oct-2025 03:47:11 UTC] Order created successfully: ID 53
[03-Oct-2025 03:47:11 UTC] toyyibPay createBill data: Array
(
    [userSecretKey] => j816hxzw-4da3-5a0p-o18t-42rybaon2xky
    [categoryCode] => 93v503tu
    [billName] => Order #53
    [billDescription] => Payment for Order #53
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 1525
    [billReturnUrl] => http://localhost/PERFUME_UI/payment-return.php
    [billCallbackUrl] => http://localhost/PERFUME_UI/payment-callback.php
    [billExternalReferenceNo] => 53
    [billTo] => AZFAR BIN ASRI
    [billEmail] => azfarirfan7767@gmail.com
    [billPhone] => +60179853875
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[03-Oct-2025 03:47:11 UTC] toyyibPay makeApiCall - URL: https://dev.toyyibpay.com/index.php/api/createBill
[03-Oct-2025 03:47:11 UTC] toyyibPay makeApiCall - Data: Array
(
    [userSecretKey] => j816hxzw-4da3-5a0p-o18t-42rybaon2xky
    [categoryCode] => 93v503tu
    [billName] => Order #53
    [billDescription] => Payment for Order #53
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 1525
    [billReturnUrl] => http://localhost/PERFUME_UI/payment-return.php
    [billCallbackUrl] => http://localhost/PERFUME_UI/payment-callback.php
    [billExternalReferenceNo] => 53
    [billTo] => AZFAR BIN ASRI
    [billEmail] => azfarirfan7767@gmail.com
    [billPhone] => +60179853875
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[03-Oct-2025 03:47:11 UTC] toyyibPay makeApiCall - HTTP Code: 200
[03-Oct-2025 03:47:11 UTC] toyyibPay makeApiCall - Raw Response: 						[{"BillCode":"23kqb6j6"}]
[03-Oct-2025 03:47:11 UTC] toyyibPay makeApiCall - cURL Info: Array
(
    [url] => https://dev.toyyibpay.com/index.php/api/createBill
    [content_type] => text/html; charset=UTF-8
    [http_code] => 200
    [header_size] => 918
    [request_size] => 2604
    [filetime] => -1
    [ssl_verify_result] => 20
    [redirect_count] => 0
    [total_time] => 0.456045
    [namelookup_time] => 0.122113
    [connect_time] => 0.215902
    [pretransfer_time] => 0.293357
    [size_upload] => 2381
    [size_download] => 31
    [speed_download] => 67
    [speed_upload] => 5220
    [download_content_length] => -1
    [upload_content_length] => 2381
    [starttransfer_time] => 0.455916
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 172.67.70.74
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 103.72.163.73
    [local_port] => 45606
    [http_version] => 3
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => https
    [appconnect_time_us] => 293051
    [connect_time_us] => 215902
    [namelookup_time_us] => 122113
    [pretransfer_time_us] => 293357
    [redirect_time_us] => 0
    [starttransfer_time_us] => 455916
    [total_time_us] => 456045
)

[03-Oct-2025 03:47:11 UTC] toyyibPay makeApiCall - Decoded Response: Array
(
    [0] => Array
        (
            [BillCode] => 23kqb6j6
        )

)

[03-Oct-2025 03:47:11 UTC] toyyibPay createBill response: Array
(
    [0] => Array
        (
            [BillCode] => 23kqb6j6
        )

)

[03-Oct-2025 03:47:11 UTC] toyyibPay createBill success: 23kqb6j6
[03-Oct-2025 03:48:02 UTC] Product ID: 32, Feedback records found: 0
[03-Oct-2025 03:48:02 UTC] Total feedback records in database: 0
[03-Oct-2025 03:48:02 UTC] Product ID: 32, Total sold: 0
[03-Oct-2025 03:48:14 UTC] toyyibPay createBill data: Array
(
    [userSecretKey] => j816hxzw-4da3-5a0p-o18t-42rybaon2xky
    [categoryCode] => 93v503tu
    [billName] => Order #ORD202510036932
    [billDescription] => Payment for order #ORD202510036932
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 1525
    [billReturnUrl] => http://localhost/PERFUME_UI/payment-return.php
    [billCallbackUrl] => http://localhost/PERFUME_UI/payment-callback.php
    [billExternalReferenceNo] => 53
    [billTo] => AZFAR BIN ASRI
    [billEmail] => azfarirfan7767@gmail.com
    [billPhone] => 0179853875
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[03-Oct-2025 03:48:14 UTC] toyyibPay makeApiCall - URL: https://dev.toyyibpay.com/index.php/api/createBill
[03-Oct-2025 03:48:14 UTC] toyyibPay makeApiCall - Data: Array
(
    [userSecretKey] => j816hxzw-4da3-5a0p-o18t-42rybaon2xky
    [categoryCode] => 93v503tu
    [billName] => Order #ORD202510036932
    [billDescription] => Payment for order #ORD202510036932
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 1525
    [billReturnUrl] => http://localhost/PERFUME_UI/payment-return.php
    [billCallbackUrl] => http://localhost/PERFUME_UI/payment-callback.php
    [billExternalReferenceNo] => 53
    [billTo] => AZFAR BIN ASRI
    [billEmail] => azfarirfan7767@gmail.com
    [billPhone] => 0179853875
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[03-Oct-2025 03:48:14 UTC] toyyibPay makeApiCall - HTTP Code: 200
[03-Oct-2025 03:48:14 UTC] toyyibPay makeApiCall - Raw Response: 						[{"BillCode":"3nw6d3tr"}]
[03-Oct-2025 03:48:14 UTC] toyyibPay makeApiCall - cURL Info: Array
(
    [url] => https://dev.toyyibpay.com/index.php/api/createBill
    [content_type] => text/html; charset=UTF-8
    [http_code] => 200
    [header_size] => 920
    [request_size] => 2628
    [filetime] => -1
    [ssl_verify_result] => 20
    [redirect_count] => 0
    [total_time] => 0.12551
    [namelookup_time] => 0.000489
    [connect_time] => 0.010354
    [pretransfer_time] => 0.02515
    [size_upload] => 2405
    [size_download] => 31
    [speed_download] => 246
    [speed_upload] => 19161
    [download_content_length] => -1
    [upload_content_length] => 2405
    [starttransfer_time] => 0.125235
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 172.67.70.74
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 103.72.163.73
    [local_port] => 38632
    [http_version] => 3
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => https
    [appconnect_time_us] => 24758
    [connect_time_us] => 10354
    [namelookup_time_us] => 489
    [pretransfer_time_us] => 25150
    [redirect_time_us] => 0
    [starttransfer_time_us] => 125235
    [total_time_us] => 125510
)

[03-Oct-2025 03:48:14 UTC] toyyibPay makeApiCall - Decoded Response: Array
(
    [0] => Array
        (
            [BillCode] => 3nw6d3tr
        )

)

[03-Oct-2025 03:48:14 UTC] toyyibPay createBill response: Array
(
    [0] => Array
        (
            [BillCode] => 3nw6d3tr
        )

)

[03-Oct-2025 03:48:14 UTC] toyyibPay createBill success: 3nw6d3tr
[03-Oct-2025 03:48:14 UTC] pending-payment createBill result: Array
(
    [bill_code] => 3nw6d3tr
    [payment_url] => https://dev.toyyibpay.com/3nw6d3tr
)

[03-Oct-2025 03:48:14 UTC] Order updatePaymentInfo: Updated order 53 with fields: bill_code
[03-Oct-2025 03:49:18 UTC] Product ID: 32, Feedback records found: 0
[03-Oct-2025 03:49:18 UTC] Total feedback records in database: 0
[03-Oct-2025 03:49:18 UTC] Product ID: 32, Total sold: 0
[03-Oct-2025 03:53:36 UTC] Product ID: 32, Feedback records found: 0
[03-Oct-2025 03:53:36 UTC] Total feedback records in database: 0
[03-Oct-2025 03:53:36 UTC] Product ID: 32, Total sold: 0
[03-Oct-2025 03:54:34 UTC] Product ID: 32, Feedback records found: 0
[03-Oct-2025 03:54:34 UTC] Total feedback records in database: 0
[03-Oct-2025 03:54:34 UTC] Product ID: 32, Total sold: 0
[03-Oct-2025 03:55:20 UTC] Product ID: 32, Feedback records found: 0
[03-Oct-2025 03:55:20 UTC] Total feedback records in database: 0
[03-Oct-2025 03:55:20 UTC] Product ID: 32, Total sold: 0
[03-Oct-2025 03:55:32 UTC] Checkout: Received POST request
[03-Oct-2025 03:55:32 UTC] Checkout: POST data: Array
(
    [discounted_total] => 17.35
    [email] => azfarirfan7767@gmail.com
    [saved_address_id] => 1
    [first_name] => AZFAR
    [last_name] => BIN ASRI
    [address] => Kg Surau Bator
    [apartment] => 
    [city] => Bachok
    [country] => Malaysia
    [state] => Kelantan
    [zip_code] => 16070
    [phone] => +60179853875
    [payment_method] => toyyibpay_fpx
    [payment_method_fallback] => toyyibpay_fpx
    [billing_same] => on
)

[03-Oct-2025 03:55:32 UTC] Checkout: Payment method: toyyibpay_fpx
[03-Oct-2025 03:55:32 UTC] Checkout Debug - Applied Voucher: No
[03-Oct-2025 03:55:32 UTC] Order created successfully: ID 54
[03-Oct-2025 03:55:32 UTC] toyyibPay createBill data: Array
(
    [userSecretKey] => j816hxzw-4da3-5a0p-o18t-42rybaon2xky
    [categoryCode] => 93v503tu
    [billName] => Order #54
    [billDescription] => Payment for Order #54
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 1735
    [billReturnUrl] => http://localhost/PERFUME_UI/payment-return.php
    [billCallbackUrl] => http://localhost/PERFUME_UI/payment-callback.php
    [billExternalReferenceNo] => 54
    [billTo] => AZFAR BIN ASRI
    [billEmail] => azfarirfan7767@gmail.com
    [billPhone] => +60179853875
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[03-Oct-2025 03:55:32 UTC] toyyibPay makeApiCall - URL: https://dev.toyyibpay.com/index.php/api/createBill
[03-Oct-2025 03:55:32 UTC] toyyibPay makeApiCall - Data: Array
(
    [userSecretKey] => j816hxzw-4da3-5a0p-o18t-42rybaon2xky
    [categoryCode] => 93v503tu
    [billName] => Order #54
    [billDescription] => Payment for Order #54
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 1735
    [billReturnUrl] => http://localhost/PERFUME_UI/payment-return.php
    [billCallbackUrl] => http://localhost/PERFUME_UI/payment-callback.php
    [billExternalReferenceNo] => 54
    [billTo] => AZFAR BIN ASRI
    [billEmail] => azfarirfan7767@gmail.com
    [billPhone] => +60179853875
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[03-Oct-2025 03:55:32 UTC] toyyibPay makeApiCall - HTTP Code: 200
[03-Oct-2025 03:55:32 UTC] toyyibPay makeApiCall - Raw Response: 						[{"BillCode":"3d52y096"}]
[03-Oct-2025 03:55:32 UTC] toyyibPay makeApiCall - cURL Info: Array
(
    [url] => https://dev.toyyibpay.com/index.php/api/createBill
    [content_type] => text/html; charset=UTF-8
    [http_code] => 200
    [header_size] => 922
    [request_size] => 2604
    [filetime] => -1
    [ssl_verify_result] => 20
    [redirect_count] => 0
    [total_time] => 0.147201
    [namelookup_time] => 0.000714
    [connect_time] => 0.026965
    [pretransfer_time] => 0.042806
    [size_upload] => 2381
    [size_download] => 31
    [speed_download] => 210
    [speed_upload] => 16175
    [download_content_length] => -1
    [upload_content_length] => 2381
    [starttransfer_time] => 0.147033
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 172.67.70.74
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 103.72.163.73
    [local_port] => 37442
    [http_version] => 3
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => https
    [appconnect_time_us] => 42484
    [connect_time_us] => 26965
    [namelookup_time_us] => 714
    [pretransfer_time_us] => 42806
    [redirect_time_us] => 0
    [starttransfer_time_us] => 147033
    [total_time_us] => 147201
)

[03-Oct-2025 03:55:32 UTC] toyyibPay makeApiCall - Decoded Response: Array
(
    [0] => Array
        (
            [BillCode] => 3d52y096
        )

)

[03-Oct-2025 03:55:32 UTC] toyyibPay createBill response: Array
(
    [0] => Array
        (
            [BillCode] => 3d52y096
        )

)

[03-Oct-2025 03:55:32 UTC] toyyibPay createBill success: 3d52y096
[03-Oct-2025 04:00:34 UTC] Product ID: 32, Feedback records found: 0
[03-Oct-2025 04:00:34 UTC] Total feedback records in database: 0
[03-Oct-2025 04:00:34 UTC] Product ID: 32, Total sold: 0
[03-Oct-2025 04:00:42 UTC] Checkout: Received POST request
[03-Oct-2025 04:00:42 UTC] Checkout: POST data: Array
(
    [discounted_total] => 15.25
    [email] => azfarirfan7767@gmail.com
    [saved_address_id] => 1
    [first_name] => AZFAR
    [last_name] => BIN ASRI
    [address] => Kg Surau Bator
    [apartment] => 
    [city] => Bachok
    [country] => Malaysia
    [state] => Kelantan
    [zip_code] => 16070
    [phone] => +60179853875
    [payment_method] => toyyibpay_fpx
    [payment_method_fallback] => toyyibpay_fpx
    [billing_same] => on
)

[03-Oct-2025 04:00:42 UTC] Checkout: Payment method: toyyibpay_fpx
[03-Oct-2025 04:00:42 UTC] Checkout Debug - Applied Voucher: No
[03-Oct-2025 04:00:42 UTC] Order created successfully: ID 55
[03-Oct-2025 04:00:42 UTC] toyyibPay createBill data: Array
(
    [userSecretKey] => j816hxzw-4da3-5a0p-o18t-42rybaon2xky
    [categoryCode] => 93v503tu
    [billName] => Order #55
    [billDescription] => Payment for Order #55
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 1525
    [billReturnUrl] => https://2dayparfum.com/payment-return.php
    [billCallbackUrl] => https://2dayparfum.com/payment-callback.php
    [billExternalReferenceNo] => 55
    [billTo] => AZFAR BIN ASRI
    [billEmail] => azfarirfan7767@gmail.com
    [billPhone] => +60179853875
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[03-Oct-2025 04:00:42 UTC] toyyibPay makeApiCall - URL: https://dev.toyyibpay.com/index.php/api/createBill
[03-Oct-2025 04:00:42 UTC] toyyibPay makeApiCall - Data: Array
(
    [userSecretKey] => j816hxzw-4da3-5a0p-o18t-42rybaon2xky
    [categoryCode] => 93v503tu
    [billName] => Order #55
    [billDescription] => Payment for Order #55
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 1525
    [billReturnUrl] => https://2dayparfum.com/payment-return.php
    [billCallbackUrl] => https://2dayparfum.com/payment-callback.php
    [billExternalReferenceNo] => 55
    [billTo] => AZFAR BIN ASRI
    [billEmail] => azfarirfan7767@gmail.com
    [billPhone] => +60179853875
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[03-Oct-2025 04:00:42 UTC] toyyibPay makeApiCall - HTTP Code: 200
[03-Oct-2025 04:00:42 UTC] toyyibPay makeApiCall - Raw Response: 						[{"BillCode":"gqhb0bwa"}]
[03-Oct-2025 04:00:42 UTC] toyyibPay makeApiCall - cURL Info: Array
(
    [url] => https://dev.toyyibpay.com/index.php/api/createBill
    [content_type] => text/html; charset=UTF-8
    [http_code] => 200
    [header_size] => 917
    [request_size] => 2594
    [filetime] => -1
    [ssl_verify_result] => 20
    [redirect_count] => 0
    [total_time] => 0.121978
    [namelookup_time] => 0.000436
    [connect_time] => 0.010568
    [pretransfer_time] => 0.024263
    [size_upload] => 2371
    [size_download] => 31
    [speed_download] => 254
    [speed_upload] => 19437
    [download_content_length] => -1
    [upload_content_length] => 2371
    [starttransfer_time] => 0.120987
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 104.26.12.38
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 103.72.163.73
    [local_port] => 58328
    [http_version] => 3
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => https
    [appconnect_time_us] => 23988
    [connect_time_us] => 10568
    [namelookup_time_us] => 436
    [pretransfer_time_us] => 24263
    [redirect_time_us] => 0
    [starttransfer_time_us] => 120987
    [total_time_us] => 121978
)

[03-Oct-2025 04:00:42 UTC] toyyibPay makeApiCall - Decoded Response: Array
(
    [0] => Array
        (
            [BillCode] => gqhb0bwa
        )

)

[03-Oct-2025 04:00:42 UTC] toyyibPay createBill response: Array
(
    [0] => Array
        (
            [BillCode] => gqhb0bwa
        )

)

[03-Oct-2025 04:00:42 UTC] toyyibPay createBill success: gqhb0bwa
[03-Oct-2025 04:02:04 UTC] Checkout: Received POST request
[03-Oct-2025 04:02:04 UTC] Checkout: POST data: Array
(
    [discounted_total] => 15.25
    [email] => azfarirfan7767@gmail.com
    [saved_address_id] => 1
    [first_name] => AZFAR
    [last_name] => BIN ASRI
    [address] => Kg Surau Bator
    [apartment] => 
    [city] => Bachok
    [country] => Malaysia
    [state] => Kelantan
    [zip_code] => 16070
    [phone] => +60179853875
    [payment_method] => toyyibpay_fpx
    [payment_method_fallback] => toyyibpay_fpx
    [billing_same] => on
)

[03-Oct-2025 04:02:04 UTC] Checkout: Payment method: toyyibpay_fpx
[03-Oct-2025 04:02:04 UTC] Checkout Debug - Applied Voucher: No
[03-Oct-2025 04:02:04 UTC] Order created successfully: ID 56
[03-Oct-2025 04:02:04 UTC] toyyibPay createBill data: Array
(
    [userSecretKey] => j816hxzw-4da3-5a0p-o18t-42rybaon2xky
    [categoryCode] => 93v503tu
    [billName] => Order #56
    [billDescription] => Payment for Order #56
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 1525
    [billReturnUrl] => https://2dayparfum.com/payment-return.php
    [billCallbackUrl] => https://2dayparfum.com/payment-callback.php
    [billExternalReferenceNo] => 56
    [billTo] => AZFAR BIN ASRI
    [billEmail] => azfarirfan7767@gmail.com
    [billPhone] => +60179853875
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[03-Oct-2025 04:02:04 UTC] toyyibPay makeApiCall - URL: https://dev.toyyibpay.com/index.php/api/createBill
[03-Oct-2025 04:02:04 UTC] toyyibPay makeApiCall - Data: Array
(
    [userSecretKey] => j816hxzw-4da3-5a0p-o18t-42rybaon2xky
    [categoryCode] => 93v503tu
    [billName] => Order #56
    [billDescription] => Payment for Order #56
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 1525
    [billReturnUrl] => https://2dayparfum.com/payment-return.php
    [billCallbackUrl] => https://2dayparfum.com/payment-callback.php
    [billExternalReferenceNo] => 56
    [billTo] => AZFAR BIN ASRI
    [billEmail] => azfarirfan7767@gmail.com
    [billPhone] => +60179853875
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[03-Oct-2025 04:02:04 UTC] toyyibPay makeApiCall - HTTP Code: 200
[03-Oct-2025 04:02:04 UTC] toyyibPay makeApiCall - Raw Response: 						[{"BillCode":"e4igxgnx"}]
[03-Oct-2025 04:02:04 UTC] toyyibPay makeApiCall - cURL Info: Array
(
    [url] => https://dev.toyyibpay.com/index.php/api/createBill
    [content_type] => text/html; charset=UTF-8
    [http_code] => 200
    [header_size] => 916
    [request_size] => 2594
    [filetime] => -1
    [ssl_verify_result] => 20
    [redirect_count] => 0
    [total_time] => 0.114928
    [namelookup_time] => 0.00042
    [connect_time] => 0.010025
    [pretransfer_time] => 0.023367
    [size_upload] => 2371
    [size_download] => 31
    [speed_download] => 269
    [speed_upload] => 20630
    [download_content_length] => -1
    [upload_content_length] => 2371
    [starttransfer_time] => 0.114834
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 104.26.12.38
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 103.72.163.73
    [local_port] => 43224
    [http_version] => 3
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => https
    [appconnect_time_us] => 23117
    [connect_time_us] => 10025
    [namelookup_time_us] => 420
    [pretransfer_time_us] => 23367
    [redirect_time_us] => 0
    [starttransfer_time_us] => 114834
    [total_time_us] => 114928
)

[03-Oct-2025 04:02:04 UTC] toyyibPay makeApiCall - Decoded Response: Array
(
    [0] => Array
        (
            [BillCode] => e4igxgnx
        )

)

[03-Oct-2025 04:02:04 UTC] toyyibPay createBill response: Array
(
    [0] => Array
        (
            [BillCode] => e4igxgnx
        )

)

[03-Oct-2025 04:02:04 UTC] toyyibPay createBill success: e4igxgnx
[03-Oct-2025 04:02:33 UTC] Product ID: 32, Feedback records found: 0
[03-Oct-2025 04:02:33 UTC] Total feedback records in database: 0
[03-Oct-2025 04:02:33 UTC] Product ID: 32, Total sold: 0
[03-Oct-2025 04:02:37 UTC] Product ID: 33, Feedback records found: 0
[03-Oct-2025 04:02:37 UTC] Total feedback records in database: 0
[03-Oct-2025 04:02:37 UTC] Product ID: 33, Total sold: 0
[03-Oct-2025 04:02:52 UTC] Checkout: Received POST request
[03-Oct-2025 04:02:52 UTC] Checkout: POST data: Array
(
    [discounted_total] => 17.25
    [email] => azfarirfan7767@gmail.com
    [saved_address_id] => 1
    [first_name] => AZFAR
    [last_name] => BIN ASRI
    [address] => Kg Surau Bator
    [apartment] => 
    [city] => Bachok
    [country] => Malaysia
    [state] => Kelantan
    [zip_code] => 16070
    [phone] => +60179853875
    [payment_method] => toyyibpay_fpx
    [payment_method_fallback] => toyyibpay_fpx
    [billing_same] => on
)

[03-Oct-2025 04:02:52 UTC] Checkout: Payment method: toyyibpay_fpx
[03-Oct-2025 04:02:52 UTC] Checkout Debug - Applied Voucher: No
[03-Oct-2025 04:02:52 UTC] Order created successfully: ID 57
[03-Oct-2025 04:02:52 UTC] toyyibPay createBill data: Array
(
    [userSecretKey] => j816hxzw-4da3-5a0p-o18t-42rybaon2xky
    [categoryCode] => 93v503tu
    [billName] => Order #57
    [billDescription] => Payment for Order #57
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 1725
    [billReturnUrl] => https://2dayparfum.com/payment-return.php
    [billCallbackUrl] => https://2dayparfum.com/payment-callback.php
    [billExternalReferenceNo] => 57
    [billTo] => AZFAR BIN ASRI
    [billEmail] => azfarirfan7767@gmail.com
    [billPhone] => +60179853875
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[03-Oct-2025 04:02:52 UTC] toyyibPay makeApiCall - URL: https://dev.toyyibpay.com/index.php/api/createBill
[03-Oct-2025 04:02:52 UTC] toyyibPay makeApiCall - Data: Array
(
    [userSecretKey] => j816hxzw-4da3-5a0p-o18t-42rybaon2xky
    [categoryCode] => 93v503tu
    [billName] => Order #57
    [billDescription] => Payment for Order #57
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 1725
    [billReturnUrl] => https://2dayparfum.com/payment-return.php
    [billCallbackUrl] => https://2dayparfum.com/payment-callback.php
    [billExternalReferenceNo] => 57
    [billTo] => AZFAR BIN ASRI
    [billEmail] => azfarirfan7767@gmail.com
    [billPhone] => +60179853875
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[03-Oct-2025 04:02:52 UTC] toyyibPay makeApiCall - HTTP Code: 200
[03-Oct-2025 04:02:52 UTC] toyyibPay makeApiCall - Raw Response: 						[{"BillCode":"lotw84dd"}]
[03-Oct-2025 04:02:52 UTC] toyyibPay makeApiCall - cURL Info: Array
(
    [url] => https://dev.toyyibpay.com/index.php/api/createBill
    [content_type] => text/html; charset=UTF-8
    [http_code] => 200
    [header_size] => 919
    [request_size] => 2594
    [filetime] => -1
    [ssl_verify_result] => 20
    [redirect_count] => 0
    [total_time] => 0.133915
    [namelookup_time] => 0.000446
    [connect_time] => 0.014219
    [pretransfer_time] => 0.032435
    [size_upload] => 2371
    [size_download] => 31
    [speed_download] => 231
    [speed_upload] => 17705
    [download_content_length] => -1
    [upload_content_length] => 2371
    [starttransfer_time] => 0.133722
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 104.26.12.38
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 103.72.163.73
    [local_port] => 52112
    [http_version] => 3
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => https
    [appconnect_time_us] => 32185
    [connect_time_us] => 14219
    [namelookup_time_us] => 446
    [pretransfer_time_us] => 32435
    [redirect_time_us] => 0
    [starttransfer_time_us] => 133722
    [total_time_us] => 133915
)

[03-Oct-2025 04:02:52 UTC] toyyibPay makeApiCall - Decoded Response: Array
(
    [0] => Array
        (
            [BillCode] => lotw84dd
        )

)

[03-Oct-2025 04:02:52 UTC] toyyibPay createBill response: Array
(
    [0] => Array
        (
            [BillCode] => lotw84dd
        )

)

[03-Oct-2025 04:02:52 UTC] toyyibPay createBill success: lotw84dd
[03-Oct-2025 04:05:20 UTC] toyyibPay Callback received: Array
(
)

[03-Oct-2025 04:07:04 UTC] Product ID: 32, Feedback records found: 0
[03-Oct-2025 04:07:04 UTC] Total feedback records in database: 0
[03-Oct-2025 04:07:04 UTC] Product ID: 32, Total sold: 0
[03-Oct-2025 04:07:12 UTC] Checkout: Received POST request
[03-Oct-2025 04:07:12 UTC] Checkout: POST data: Array
(
    [discounted_total] => 15.25
    [email] => azfarirfan7767@gmail.com
    [saved_address_id] => 1
    [first_name] => AZFAR
    [last_name] => BIN ASRI
    [address] => Kg Surau Bator
    [apartment] => 
    [city] => Bachok
    [country] => Malaysia
    [state] => Kelantan
    [zip_code] => 16070
    [phone] => +60179853875
    [payment_method] => toyyibpay_fpx
    [payment_method_fallback] => toyyibpay_fpx
    [billing_same] => on
)

[03-Oct-2025 04:07:12 UTC] Checkout: Payment method: toyyibpay_fpx
[03-Oct-2025 04:07:12 UTC] Checkout Debug - Applied Voucher: No
[03-Oct-2025 04:07:12 UTC] Order created successfully: ID 58
[03-Oct-2025 04:07:12 UTC] toyyibPay createBill data: Array
(
    [userSecretKey] => j816hxzw-4da3-5a0p-o18t-42rybaon2xky
    [categoryCode] => 93v503tu
    [billName] => Order #58
    [billDescription] => Payment for Order #58
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 1525
    [billReturnUrl] => https://2dayparfum.com/apps/payment-return.php
    [billCallbackUrl] => https://2dayparfum.com/apps/payment-callback.php
    [billExternalReferenceNo] => 58
    [billTo] => AZFAR BIN ASRI
    [billEmail] => azfarirfan7767@gmail.com
    [billPhone] => +60179853875
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[03-Oct-2025 04:07:12 UTC] toyyibPay makeApiCall - URL: https://dev.toyyibpay.com/index.php/api/createBill
[03-Oct-2025 04:07:12 UTC] toyyibPay makeApiCall - Data: Array
(
    [userSecretKey] => j816hxzw-4da3-5a0p-o18t-42rybaon2xky
    [categoryCode] => 93v503tu
    [billName] => Order #58
    [billDescription] => Payment for Order #58
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 1525
    [billReturnUrl] => https://2dayparfum.com/apps/payment-return.php
    [billCallbackUrl] => https://2dayparfum.com/apps/payment-callback.php
    [billExternalReferenceNo] => 58
    [billTo] => AZFAR BIN ASRI
    [billEmail] => azfarirfan7767@gmail.com
    [billPhone] => +60179853875
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[03-Oct-2025 04:07:12 UTC] toyyibPay makeApiCall - HTTP Code: 200
[03-Oct-2025 04:07:12 UTC] toyyibPay makeApiCall - Raw Response: 						[{"BillCode":"bjmqy8zr"}]
[03-Oct-2025 04:07:12 UTC] toyyibPay makeApiCall - cURL Info: Array
(
    [url] => https://dev.toyyibpay.com/index.php/api/createBill
    [content_type] => text/html; charset=UTF-8
    [http_code] => 200
    [header_size] => 934
    [request_size] => 2604
    [filetime] => -1
    [ssl_verify_result] => 20
    [redirect_count] => 0
    [total_time] => 0.201526
    [namelookup_time] => 0.000708
    [connect_time] => 0.041987
    [pretransfer_time] => 0.069293
    [size_upload] => 2381
    [size_download] => 31
    [speed_download] => 153
    [speed_upload] => 11814
    [download_content_length] => -1
    [upload_content_length] => 2381
    [starttransfer_time] => 0.201294
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 104.26.12.38
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 103.72.163.73
    [local_port] => 53940
    [http_version] => 3
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => https
    [appconnect_time_us] => 68743
    [connect_time_us] => 41987
    [namelookup_time_us] => 708
    [pretransfer_time_us] => 69293
    [redirect_time_us] => 0
    [starttransfer_time_us] => 201294
    [total_time_us] => 201526
)

[03-Oct-2025 04:07:12 UTC] toyyibPay makeApiCall - Decoded Response: Array
(
    [0] => Array
        (
            [BillCode] => bjmqy8zr
        )

)

[03-Oct-2025 04:07:12 UTC] toyyibPay createBill response: Array
(
    [0] => Array
        (
            [BillCode] => bjmqy8zr
        )

)

[03-Oct-2025 04:07:12 UTC] toyyibPay createBill success: bjmqy8zr
[03-Oct-2025 04:07:24 UTC] toyyibPay Callback received: Array
(
    [refno] => TP2510033171614569
    [status] => 1
    [reason] => Payment Approved
    [billcode] => bjmqy8zr
    [order_id] => 58
    [amount] => 15.25
    [status_id] => 1
    [msg] => ok
    [transaction_id] => TP2510033171614569
    [fpx_transaction_id] => 2510031144112788
    [hash] => d3ca862680b25b33f60a271c4027ac84
    [transaction_time] => 2025-10-03 11:44:11
)

[03-Oct-2025 04:07:24 UTC] Order updatePaymentInfo: Updated order 58 with fields: status, reference, amount
[03-Oct-2025 04:07:24 UTC] toyyibPay Callback: Order 58 status updated to processing, payment status updated to paid
[03-Oct-2025 04:07:24 UTC] toyyibPay Callback: Payment successful for order 58, amount: 15.25, reference: TP2510033171614569
[03-Oct-2025 04:07:24 UTC] Product::deductVariationStock - Successfully deducted 1 from product_id=32, size=10ml, version=EDP / LIGHT. New stock: 19
[03-Oct-2025 04:07:24 UTC] Stock deduction completed for order 58: 1 successful, 0 failed
[03-Oct-2025 04:07:24 UTC] Loyalty points awarded for order 58: 15 points to user 2
[03-Oct-2025 04:07:24 UTC] Points breakdown: 2DAYS MAN BORN IN ROMA INTENSE FOR MEN x1 = 15 points (15 per item)
[03-Oct-2025 04:07:25 UTC] toyyibPay Return: Array
(
    [status_id] => 1
    [billcode] => bjmqy8zr
    [order_id] => 58
    [msg] => ok
    [transaction_id] => TP2510033171614569
)

[03-Oct-2025 04:07:25 UTC] toyyibPay Return - status_id: 1, billcode: bjmqy8zr, order_id: 58
[03-Oct-2025 04:07:25 UTC] toyyibPay Return: Redirecting to order-success.php?id=58&payment_status=1
[03-Oct-2025 04:07:25 UTC] Order Success Debug - Order ID: 58
[03-Oct-2025 04:07:25 UTC] Order Success Debug - Voucher ID: NULL
[03-Oct-2025 04:07:25 UTC] Order Success Debug - Voucher Discount Amount: 0.00
[03-Oct-2025 04:07:25 UTC] Order Success Debug - Voucher Info: Not found
[03-Oct-2025 04:07:25 UTC] Order updatePaymentInfo: Updated order 58 with fields: status
[03-Oct-2025 04:07:25 UTC] Order Success Page: Auto-updated order #58 to processing/paid status
[03-Oct-2025 04:07:25 UTC] Product::deductVariationStock - Successfully deducted 1 from product_id=32, size=10ml, version=EDP / LIGHT. New stock: 18
[03-Oct-2025 04:07:25 UTC] Stock deduction completed for order 58: 1 successful, 0 failed
[03-Oct-2025 04:07:41 UTC] Product ID: 32, Feedback records found: 0
[03-Oct-2025 04:07:41 UTC] Total feedback records in database: 0
[03-Oct-2025 04:07:41 UTC] Product ID: 32, Total sold: 0
[03-Oct-2025 04:08:57 UTC] Product ID: 32, Feedback records found: 1
[03-Oct-2025 04:08:57 UTC] Product ID: 32, Total sold: 1
[03-Oct-2025 04:15:49 UTC] Product ID: 32, Feedback records found: 1
[03-Oct-2025 04:15:49 UTC] Product ID: 32, Total sold: 1
[03-Oct-2025 06:39:45 UTC] Product ID: 33, Feedback records found: 0
[03-Oct-2025 06:39:45 UTC] Total feedback records in database: 1
[03-Oct-2025 06:39:45 UTC] Product ID: 33, Total sold: 0
[03-Oct-2025 06:39:48 UTC] Add to cart: user_id=2, session_id=1eeol10buoh3pv5stmjpn3r9vr, product_id=33, quantity=2, size=10ml, version=EDP / LIGHT, price=16.9
[03-Oct-2025 06:39:48 UTC] Cart::addItem - user_id: 2, session_id: 1eeol10buoh3pv5stmjpn3r9vr, product_id: 33, size: 10ml, version: EDP / LIGHT, quantity: 2, price: 16.9
[03-Oct-2025 06:39:48 UTC] Cart::getCartItem - Query: SELECT * FROM cart 
                  WHERE product_id = :product_id AND size = :size AND version = :version AND user_id = :user_id AND session_id = :session_id
[03-Oct-2025 06:39:48 UTC] Cart::getCartItem - Params: {"product_id":33,"size":"10ml","version":"EDP \/ LIGHT","user_id":"2","session_id":"1eeol10buoh3pv5stmjpn3r9vr"}
[03-Oct-2025 06:39:48 UTC] Cart::getCartItem - No existing item found
[03-Oct-2025 06:39:48 UTC] Cart::getSessionCartItem - Query: SELECT * FROM cart 
                  WHERE session_id = :session_id AND product_id = :product_id AND size = :size AND version = :version
[03-Oct-2025 06:39:48 UTC] Cart::getSessionCartItem - Params: {"session_id":"1eeol10buoh3pv5stmjpn3r9vr","product_id":33,"size":"10ml","version":"EDP \/ LIGHT"}
[03-Oct-2025 06:39:48 UTC] Cart::getSessionCartItem - No session item found
[03-Oct-2025 06:39:48 UTC] Cart::addItem - No existing item found, creating new item
[03-Oct-2025 06:39:48 UTC] Cart::addItem - Successfully created new item with ID: 91
[03-Oct-2025 06:39:48 UTC] Successfully added to cart. Cart count: 1, Cart item ID: 91
[03-Oct-2025 06:39:49 UTC] Shipping config query for amount 33.8 found: {"id":"1","name":"ezparcel","description":"","fee_type":"Weight_Based","base_fee":"0.10","fee_value":"8.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"2","delivery_days_max":"3","is_active":"1","sort_order":"1","created_at":"2025-09-24 15:18:29","updated_at":"2025-09-25 11:16:36","per_kg_fee":"2.50","min_weight":"0.00","max_weight":"10.00"}
[03-Oct-2025 06:39:49 UTC] Cart page requesting shipping config for order amount: 33.8
[03-Oct-2025 06:41:31 UTC] Shipping config query for amount 33.8 found: {"id":"1","name":"ezparcel","description":"","fee_type":"Weight_Based","base_fee":"0.10","fee_value":"8.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"2","delivery_days_max":"3","is_active":"1","sort_order":"1","created_at":"2025-09-24 15:18:29","updated_at":"2025-09-25 11:16:36","per_kg_fee":"2.50","min_weight":"0.00","max_weight":"10.00"}
[03-Oct-2025 06:41:31 UTC] Cart page requesting shipping config for order amount: 33.8
[03-Oct-2025 06:42:15 UTC] Shipping config query for amount 33.8 found: {"id":"1","name":"ezparcel","description":"","fee_type":"Weight_Based","base_fee":"0.10","fee_value":"8.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"2","delivery_days_max":"3","is_active":"1","sort_order":"1","created_at":"2025-09-24 15:18:29","updated_at":"2025-09-25 11:16:36","per_kg_fee":"2.50","min_weight":"0.00","max_weight":"10.00"}
[03-Oct-2025 06:42:15 UTC] Cart page requesting shipping config for order amount: 33.8
[03-Oct-2025 06:42:38 UTC] Shipping config query for amount 33.8 found: {"id":"1","name":"ezparcel","description":"","fee_type":"Weight_Based","base_fee":"0.10","fee_value":"8.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"2","delivery_days_max":"3","is_active":"1","sort_order":"1","created_at":"2025-09-24 15:18:29","updated_at":"2025-09-25 11:16:36","per_kg_fee":"2.50","min_weight":"0.00","max_weight":"10.00"}
[03-Oct-2025 06:42:38 UTC] Cart page requesting shipping config for order amount: 33.8
[03-Oct-2025 06:46:41 UTC] Product ID: 32, Feedback records found: 1
[03-Oct-2025 06:46:41 UTC] Product ID: 32, Total sold: 1
[03-Oct-2025 07:51:19 UTC] Product ID: 32, Feedback records found: 1
[03-Oct-2025 07:51:19 UTC] Product ID: 32, Total sold: 1
[03-Oct-2025 07:51:33 UTC] Checkout: Received POST request
[03-Oct-2025 07:51:33 UTC] Checkout: POST data: Array
(
    [discounted_total] => 15.25
    [email] => azfarirfan7767@gmail.com
    [saved_address_id] => 1
    [first_name] => AZFAR
    [last_name] => BIN ASRI
    [address] => Kg Surau Bator
    [apartment] => 
    [city] => Bachok
    [country] => Malaysia
    [state] => Kelantan
    [zip_code] => 16070
    [phone] => +60179853875
    [payment_method] => toyyibpay_fpx
    [payment_method_fallback] => toyyibpay_fpx
    [billing_same] => on
)

[03-Oct-2025 07:51:33 UTC] Checkout: Payment method: toyyibpay_fpx
[03-Oct-2025 07:51:33 UTC] Checkout Debug - Applied Voucher: No
[03-Oct-2025 07:51:33 UTC] Order created successfully: ID 59
[03-Oct-2025 07:51:33 UTC] toyyibPay createBill data: Array
(
    [userSecretKey] => j816hxzw-4da3-5a0p-o18t-42rybaon2xky
    [categoryCode] => 93v503tu
    [billName] => Order #59
    [billDescription] => Payment for Order #59
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 1525
    [billReturnUrl] => https://2dayparfum.com/apps/payment-return.php
    [billCallbackUrl] => https://2dayparfum.com/apps/payment-callback.php
    [billExternalReferenceNo] => 59
    [billTo] => AZFAR BIN ASRI
    [billEmail] => azfarirfan7767@gmail.com
    [billPhone] => +60179853875
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[03-Oct-2025 07:51:33 UTC] toyyibPay makeApiCall - URL: https://dev.toyyibpay.com/index.php/api/createBill
[03-Oct-2025 07:51:33 UTC] toyyibPay makeApiCall - Data: Array
(
    [userSecretKey] => j816hxzw-4da3-5a0p-o18t-42rybaon2xky
    [categoryCode] => 93v503tu
    [billName] => Order #59
    [billDescription] => Payment for Order #59
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 1525
    [billReturnUrl] => https://2dayparfum.com/apps/payment-return.php
    [billCallbackUrl] => https://2dayparfum.com/apps/payment-callback.php
    [billExternalReferenceNo] => 59
    [billTo] => AZFAR BIN ASRI
    [billEmail] => azfarirfan7767@gmail.com
    [billPhone] => +60179853875
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[03-Oct-2025 07:51:33 UTC] toyyibPay makeApiCall - HTTP Code: 200
[03-Oct-2025 07:51:33 UTC] toyyibPay makeApiCall - Raw Response: 						[{"BillCode":"p5e1vi5o"}]
[03-Oct-2025 07:51:33 UTC] toyyibPay makeApiCall - cURL Info: Array
(
    [url] => https://dev.toyyibpay.com/index.php/api/createBill
    [content_type] => text/html; charset=UTF-8
    [http_code] => 200
    [header_size] => 917
    [request_size] => 2604
    [filetime] => -1
    [ssl_verify_result] => 20
    [redirect_count] => 0
    [total_time] => 0.179425
    [namelookup_time] => 0.031663
    [connect_time] => 0.040816
    [pretransfer_time] => 0.053624
    [size_upload] => 2381
    [size_download] => 31
    [speed_download] => 172
    [speed_upload] => 13270
    [download_content_length] => -1
    [upload_content_length] => 2381
    [starttransfer_time] => 0.17929
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 104.26.13.38
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 103.72.163.73
    [local_port] => 40570
    [http_version] => 3
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => https
    [appconnect_time_us] => 53358
    [connect_time_us] => 40816
    [namelookup_time_us] => 31663
    [pretransfer_time_us] => 53624
    [redirect_time_us] => 0
    [starttransfer_time_us] => 179290
    [total_time_us] => 179425
)

[03-Oct-2025 07:51:33 UTC] toyyibPay makeApiCall - Decoded Response: Array
(
    [0] => Array
        (
            [BillCode] => p5e1vi5o
        )

)

[03-Oct-2025 07:51:33 UTC] toyyibPay createBill response: Array
(
    [0] => Array
        (
            [BillCode] => p5e1vi5o
        )

)

[03-Oct-2025 07:51:33 UTC] toyyibPay createBill success: p5e1vi5o
[03-Oct-2025 07:51:49 UTC] toyyibPay Callback received: Array
(
    [refno] => TP2510032062149682
    [status] => 1
    [reason] => Payment Approved
    [billcode] => p5e1vi5o
    [order_id] => 59
    [amount] => 15.25
    [status_id] => 1
    [msg] => ok
    [transaction_id] => TP2510032062149682
    [fpx_transaction_id] => 2510030328342045
    [hash] => c3dcfdb0b522f7d05c67250abc6f9b1e
    [transaction_time] => 2025-10-03 03:28:34
)

[03-Oct-2025 07:51:49 UTC] Order updatePaymentInfo: Updated order 59 with fields: status, reference, amount
[03-Oct-2025 07:51:49 UTC] toyyibPay Callback: Order 59 status updated to processing, payment status updated to paid
[03-Oct-2025 07:51:49 UTC] toyyibPay Callback: Payment successful for order 59, amount: 15.25, reference: TP2510032062149682
[03-Oct-2025 07:51:49 UTC] Product::deductVariationStock - Successfully deducted 1 from product_id=32, size=10ml, version=EDP / LIGHT. New stock: 17
[03-Oct-2025 07:51:49 UTC] Stock deduction completed for order 59: 1 successful, 0 failed
[03-Oct-2025 07:51:49 UTC] Loyalty points awarded for order 59: 15 points to user 2
[03-Oct-2025 07:51:49 UTC] Points breakdown: 2DAYS MAN BORN IN ROMA INTENSE FOR MEN x1 = 15 points (15 per item)
[03-Oct-2025 07:51:50 UTC] toyyibPay Return: Array
(
    [status_id] => 1
    [billcode] => p5e1vi5o
    [order_id] => 59
    [msg] => ok
    [transaction_id] => TP2510032062149682
)

[03-Oct-2025 07:51:50 UTC] toyyibPay Return - status_id: 1, billcode: p5e1vi5o, order_id: 59
[03-Oct-2025 07:51:50 UTC] toyyibPay Return: Redirecting to order-success.php?id=59&payment_status=1
[03-Oct-2025 07:51:50 UTC] Order Success Debug - Order ID: 59
[03-Oct-2025 07:51:50 UTC] Order Success Debug - Voucher ID: NULL
[03-Oct-2025 07:51:50 UTC] Order Success Debug - Voucher Discount Amount: 0.00
[03-Oct-2025 07:51:50 UTC] Order Success Debug - Voucher Info: Not found
[03-Oct-2025 07:51:50 UTC] Order updatePaymentInfo: Updated order 59 with fields: status
[03-Oct-2025 07:51:50 UTC] Order Success Page: Auto-updated order #59 to processing/paid status
[03-Oct-2025 07:51:50 UTC] Product::deductVariationStock - Successfully deducted 1 from product_id=32, size=10ml, version=EDP / LIGHT. New stock: 16
[03-Oct-2025 07:51:50 UTC] Stock deduction completed for order 59: 1 successful, 0 failed
[03-Oct-2025 11:24:06 UTC] Product ID: 33, Feedback records found: 0
[03-Oct-2025 11:24:06 UTC] Total feedback records in database: 1
[03-Oct-2025 11:24:06 UTC] Product ID: 33, Total sold: 0
[04-Oct-2025 04:04:11 UTC] Product ID: 33, Feedback records found: 0
[04-Oct-2025 04:04:11 UTC] Total feedback records in database: 1
[04-Oct-2025 04:04:11 UTC] Product ID: 33, Total sold: 0
[05-Oct-2025 02:22:49 UTC] Product ID: 32, Feedback records found: 1
[05-Oct-2025 02:22:49 UTC] Product ID: 32, Total sold: 2
[05-Oct-2025 02:25:32 UTC] Product ID: 32, Feedback records found: 1
[05-Oct-2025 02:25:32 UTC] Product ID: 32, Total sold: 2
[05-Oct-2025 02:57:37 UTC] Product ID: 34, Feedback records found: 0
[05-Oct-2025 02:57:37 UTC] Total feedback records in database: 1
[05-Oct-2025 02:57:37 UTC] Product ID: 34, Total sold: 0
[05-Oct-2025 03:16:58 UTC] Product ID: 33, Feedback records found: 0
[05-Oct-2025 03:16:58 UTC] Total feedback records in database: 1
[05-Oct-2025 03:16:58 UTC] Product ID: 33, Total sold: 0
[05-Oct-2025 05:35:42 UTC] PHP Warning:  Trying to access array offset on value of type bool in /home2/igoldser/public_html/2dayparfum.com/apps/royalty-rewards.php on line 22
[05-Oct-2025 05:35:42 UTC] PHP Warning:  Trying to access array offset on value of type bool in /home2/igoldser/public_html/2dayparfum.com/apps/royalty-rewards.php on line 23
[05-Oct-2025 05:44:31 UTC] Product ID: 34, Feedback records found: 0
[05-Oct-2025 05:44:31 UTC] Total feedback records in database: 1
[05-Oct-2025 05:44:31 UTC] Product ID: 34, Total sold: 0
[05-Oct-2025 05:46:10 UTC] Checkout: Received POST request
[05-Oct-2025 05:46:10 UTC] Checkout: POST data: Array
(
    [discounted_total] => 52.92
    [email] => irfanhashim94@gmail.com
    [first_name] => Irfan
    [last_name] => Hashim
    [address] => 
    [apartment] => 
    [city] => 
    [country] => Malaysia
    [state] => 
    [zip_code] => 
    [phone] => 0139032053
    [payment_method] => toyyibpay_fpx
    [payment_method_fallback] => toyyibpay_fpx
    [billing_same] => on
)

[05-Oct-2025 05:46:10 UTC] Checkout: Payment method: toyyibpay_fpx
[05-Oct-2025 05:46:10 UTC] Checkout: Validation failed - missing required fields
[06-Oct-2025 01:38:12 UTC] Product ID: 36, Feedback records found: 0
[06-Oct-2025 01:38:12 UTC] Total feedback records in database: 1
[06-Oct-2025 01:38:12 UTC] Product ID: 36, Total sold: 0
[06-Oct-2025 01:38:20 UTC] Add to cart: user_id=2, session_id=1eeol10buoh3pv5stmjpn3r9vr, product_id=36, quantity=1, size=10ml, version=EDP / LIGHT, price=14.9
[06-Oct-2025 01:38:20 UTC] Cart::addItem - user_id: 2, session_id: 1eeol10buoh3pv5stmjpn3r9vr, product_id: 36, size: 10ml, version: EDP / LIGHT, quantity: 1, price: 14.9
[06-Oct-2025 01:38:20 UTC] Cart::getCartItem - Query: SELECT * FROM cart 
                  WHERE product_id = :product_id AND size = :size AND version = :version AND user_id = :user_id AND session_id = :session_id
[06-Oct-2025 01:38:20 UTC] Cart::getCartItem - Params: {"product_id":36,"size":"10ml","version":"EDP \/ LIGHT","user_id":"2","session_id":"1eeol10buoh3pv5stmjpn3r9vr"}
[06-Oct-2025 01:38:20 UTC] Cart::getCartItem - No existing item found
[06-Oct-2025 01:38:20 UTC] Cart::getSessionCartItem - Query: SELECT * FROM cart 
                  WHERE session_id = :session_id AND product_id = :product_id AND size = :size AND version = :version
[06-Oct-2025 01:38:20 UTC] Cart::getSessionCartItem - Params: {"session_id":"1eeol10buoh3pv5stmjpn3r9vr","product_id":36,"size":"10ml","version":"EDP \/ LIGHT"}
[06-Oct-2025 01:38:20 UTC] Cart::getSessionCartItem - No session item found
[06-Oct-2025 01:38:20 UTC] Cart::addItem - No existing item found, creating new item
[06-Oct-2025 01:38:20 UTC] Cart::addItem - Successfully created new item with ID: 92
[06-Oct-2025 01:38:20 UTC] Successfully added to cart. Cart count: 1, Cart item ID: 92
[06-Oct-2025 01:38:24 UTC] Shipping config query for amount 14.9 found: {"id":"1","name":"ezparcel","description":"","fee_type":"Weight_Based","base_fee":"3.67","fee_value":"8.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"2","delivery_days_max":"3","is_active":"1","sort_order":"1","created_at":"2025-09-24 15:18:29","updated_at":"2025-10-05 10:48:14","per_kg_fee":"2.50","min_weight":"0.00","max_weight":"10.00"}
[06-Oct-2025 01:38:24 UTC] Cart page requesting shipping config for order amount: 14.9
[06-Oct-2025 02:12:58 UTC] Shipping config query for amount 14.9 found: {"id":"1","name":"ezparcel","description":"","fee_type":"Weight_Based","base_fee":"3.67","fee_value":"8.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"2","delivery_days_max":"3","is_active":"1","sort_order":"1","created_at":"2025-09-24 15:18:29","updated_at":"2025-10-05 10:48:14","per_kg_fee":"2.50","min_weight":"0.00","max_weight":"10.00"}
[06-Oct-2025 02:12:58 UTC] Cart page requesting shipping config for order amount: 14.9
[06-Oct-2025 02:13:01 UTC] Product ID: 36, Feedback records found: 0
[06-Oct-2025 02:13:01 UTC] Total feedback records in database: 1
[06-Oct-2025 02:13:01 UTC] Product ID: 36, Total sold: 0
[06-Oct-2025 02:13:09 UTC] Add to cart: user_id=2, session_id=1eeol10buoh3pv5stmjpn3r9vr, product_id=36, quantity=1, size=10ml, version=EDP / LIGHT, price=14.9
[06-Oct-2025 02:13:09 UTC] Cart::addItem - user_id: 2, session_id: 1eeol10buoh3pv5stmjpn3r9vr, product_id: 36, size: 10ml, version: EDP / LIGHT, quantity: 1, price: 14.9
[06-Oct-2025 02:13:09 UTC] Cart::getCartItem - Query: SELECT * FROM cart 
                  WHERE product_id = :product_id AND size = :size AND version = :version AND user_id = :user_id AND session_id = :session_id
[06-Oct-2025 02:13:09 UTC] Cart::getCartItem - Params: {"product_id":36,"size":"10ml","version":"EDP \/ LIGHT","user_id":"2","session_id":"1eeol10buoh3pv5stmjpn3r9vr"}
[06-Oct-2025 02:13:09 UTC] Cart::getCartItem - Found existing item: ID 92, size: 10ml, version: EDP / LIGHT
[06-Oct-2025 02:13:09 UTC] Cart::addItem - Found existing item: ID 92, current quantity: 1, new quantity: 2
[06-Oct-2025 02:13:09 UTC] Successfully added to cart. Cart count: 1, Cart item ID: 92
[06-Oct-2025 02:13:19 UTC] Product ID: 32, Feedback records found: 1
[06-Oct-2025 02:13:19 UTC] Product ID: 32, Total sold: 2
[06-Oct-2025 02:13:22 UTC] Product ID: 33, Feedback records found: 0
[06-Oct-2025 02:13:22 UTC] Total feedback records in database: 1
[06-Oct-2025 02:13:22 UTC] Product ID: 33, Total sold: 0
[06-Oct-2025 02:13:24 UTC] Product ID: 36, Feedback records found: 0
[06-Oct-2025 02:13:24 UTC] Total feedback records in database: 1
[06-Oct-2025 02:13:24 UTC] Product ID: 36, Total sold: 0
[06-Oct-2025 02:13:26 UTC] Product ID: 32, Feedback records found: 1
[06-Oct-2025 02:13:26 UTC] Product ID: 32, Total sold: 2
[06-Oct-2025 02:13:28 UTC] Product ID: 36, Feedback records found: 0
[06-Oct-2025 02:13:28 UTC] Total feedback records in database: 1
[06-Oct-2025 02:13:28 UTC] Product ID: 36, Total sold: 0
[06-Oct-2025 02:13:34 UTC] Product ID: 35, Feedback records found: 0
[06-Oct-2025 02:13:34 UTC] Total feedback records in database: 1
[06-Oct-2025 02:13:34 UTC] Product ID: 35, Total sold: 0
[06-Oct-2025 02:13:41 UTC] Product ID: 34, Feedback records found: 0
[06-Oct-2025 02:13:41 UTC] Total feedback records in database: 1
[06-Oct-2025 02:13:41 UTC] Product ID: 34, Total sold: 0
[06-Oct-2025 06:47:34 UTC] Product ID: 32, Feedback records found: 1
[06-Oct-2025 06:47:34 UTC] Product ID: 32, Total sold: 2
[06-Oct-2025 06:47:35 UTC] Product ID: 32, Feedback records found: 1
[06-Oct-2025 06:47:35 UTC] Product ID: 32, Total sold: 2
[06-Oct-2025 07:09:16 UTC] Product ID: 36, Feedback records found: 0
[06-Oct-2025 07:09:16 UTC] Total feedback records in database: 1
[06-Oct-2025 07:09:16 UTC] Product ID: 36, Total sold: 0
[06-Oct-2025 07:13:36 UTC] Product ID: 32, Feedback records found: 1
[06-Oct-2025 07:13:36 UTC] Product ID: 32, Total sold: 2
[06-Oct-2025 07:13:56 UTC] Add to cart: user_id=2, session_id=1eeol10buoh3pv5stmjpn3r9vr, product_id=32, quantity=1, size=10ml, version=EDP / LIGHT, price=14.9
[06-Oct-2025 07:13:56 UTC] Cart::addItem - user_id: 2, session_id: 1eeol10buoh3pv5stmjpn3r9vr, product_id: 32, size: 10ml, version: EDP / LIGHT, quantity: 1, price: 14.9
[06-Oct-2025 07:13:56 UTC] Cart::getCartItem - Query: SELECT * FROM cart 
                  WHERE product_id = :product_id AND size = :size AND version = :version AND user_id = :user_id AND session_id = :session_id
[06-Oct-2025 07:13:56 UTC] Cart::getCartItem - Params: {"product_id":32,"size":"10ml","version":"EDP \/ LIGHT","user_id":"2","session_id":"1eeol10buoh3pv5stmjpn3r9vr"}
[06-Oct-2025 07:13:56 UTC] Cart::getCartItem - No existing item found
[06-Oct-2025 07:13:56 UTC] Cart::getSessionCartItem - Query: SELECT * FROM cart 
                  WHERE session_id = :session_id AND product_id = :product_id AND size = :size AND version = :version
[06-Oct-2025 07:13:56 UTC] Cart::getSessionCartItem - Params: {"session_id":"1eeol10buoh3pv5stmjpn3r9vr","product_id":32,"size":"10ml","version":"EDP \/ LIGHT"}
[06-Oct-2025 07:13:56 UTC] Cart::getSessionCartItem - No session item found
[06-Oct-2025 07:13:56 UTC] Cart::addItem - No existing item found, creating new item
[06-Oct-2025 07:13:56 UTC] Cart::addItem - Successfully created new item with ID: 93
[06-Oct-2025 07:13:56 UTC] Successfully added to cart. Cart count: 2, Cart item ID: 93
[06-Oct-2025 07:17:25 UTC] Product ID: 32, Feedback records found: 1
[06-Oct-2025 07:17:25 UTC] Product ID: 32, Total sold: 2
[06-Oct-2025 07:17:27 UTC] Product ID: 36, Feedback records found: 0
[06-Oct-2025 07:17:27 UTC] Total feedback records in database: 1
[06-Oct-2025 07:17:27 UTC] Product ID: 36, Total sold: 0
[06-Oct-2025 07:17:54 UTC] Product ID: 33, Feedback records found: 0
[06-Oct-2025 07:17:54 UTC] Total feedback records in database: 1
[06-Oct-2025 07:17:54 UTC] Product ID: 33, Total sold: 0
[06-Oct-2025 07:18:08 UTC] Product ID: 33, Feedback records found: 0
[06-Oct-2025 07:18:08 UTC] Total feedback records in database: 1
[06-Oct-2025 07:18:08 UTC] Product ID: 33, Total sold: 0
[06-Oct-2025 07:18:23 UTC] Product ID: 33, Feedback records found: 0
[06-Oct-2025 07:18:23 UTC] Total feedback records in database: 1
[06-Oct-2025 07:18:23 UTC] Product ID: 33, Total sold: 0
[06-Oct-2025 07:18:44 UTC] Add to cart: user_id=2, session_id=1eeol10buoh3pv5stmjpn3r9vr, product_id=33, quantity=1, size=10ml, version=EDP / LIGHT, price=16.9
[06-Oct-2025 07:18:44 UTC] Cart::addItem - user_id: 2, session_id: 1eeol10buoh3pv5stmjpn3r9vr, product_id: 33, size: 10ml, version: EDP / LIGHT, quantity: 1, price: 16.9
[06-Oct-2025 07:18:44 UTC] Cart::getCartItem - Query: SELECT * FROM cart 
                  WHERE product_id = :product_id AND size = :size AND version = :version AND user_id = :user_id AND session_id = :session_id
[06-Oct-2025 07:18:44 UTC] Cart::getCartItem - Params: {"product_id":33,"size":"10ml","version":"EDP \/ LIGHT","user_id":"2","session_id":"1eeol10buoh3pv5stmjpn3r9vr"}
[06-Oct-2025 07:18:44 UTC] Cart::getCartItem - No existing item found
[06-Oct-2025 07:18:44 UTC] Cart::getSessionCartItem - Query: SELECT * FROM cart 
                  WHERE session_id = :session_id AND product_id = :product_id AND size = :size AND version = :version
[06-Oct-2025 07:18:44 UTC] Cart::getSessionCartItem - Params: {"session_id":"1eeol10buoh3pv5stmjpn3r9vr","product_id":33,"size":"10ml","version":"EDP \/ LIGHT"}
[06-Oct-2025 07:18:44 UTC] Cart::getSessionCartItem - No session item found
[06-Oct-2025 07:18:44 UTC] Cart::addItem - No existing item found, creating new item
[06-Oct-2025 07:18:44 UTC] Cart::addItem - Successfully created new item with ID: 94
[06-Oct-2025 07:18:44 UTC] Successfully added to cart. Cart count: 3, Cart item ID: 94
[06-Oct-2025 07:20:07 UTC] Product ID: 36, Feedback records found: 0
[06-Oct-2025 07:20:07 UTC] Total feedback records in database: 1
[06-Oct-2025 07:20:07 UTC] Product ID: 36, Total sold: 0
[06-Oct-2025 07:20:14 UTC] Product ID: 36, Feedback records found: 0
[06-Oct-2025 07:20:14 UTC] Total feedback records in database: 1
[06-Oct-2025 07:20:14 UTC] Product ID: 36, Total sold: 0
[06-Oct-2025 07:20:22 UTC] Product ID: 33, Feedback records found: 0
[06-Oct-2025 07:20:22 UTC] Total feedback records in database: 1
[06-Oct-2025 07:20:22 UTC] Product ID: 33, Total sold: 0
[06-Oct-2025 07:29:07 UTC] Product ID: 34, Feedback records found: 0
[06-Oct-2025 07:29:07 UTC] Total feedback records in database: 1
[06-Oct-2025 07:29:07 UTC] Product ID: 34, Total sold: 0
[06-Oct-2025 07:29:55 UTC] Product ID: 34, Feedback records found: 0
[06-Oct-2025 07:29:55 UTC] Total feedback records in database: 1
[06-Oct-2025 07:29:55 UTC] Product ID: 34, Total sold: 0
[06-Oct-2025 07:30:04 UTC] Product ID: 36, Feedback records found: 0
[06-Oct-2025 07:30:04 UTC] Total feedback records in database: 1
[06-Oct-2025 07:30:04 UTC] Product ID: 36, Total sold: 0
[06-Oct-2025 07:30:12 UTC] Product ID: 33, Feedback records found: 0
[06-Oct-2025 07:30:12 UTC] Total feedback records in database: 1
[06-Oct-2025 07:30:12 UTC] Product ID: 33, Total sold: 0
[06-Oct-2025 07:30:16 UTC] Product ID: 33, Feedback records found: 0
[06-Oct-2025 07:30:16 UTC] Total feedback records in database: 1
[06-Oct-2025 07:30:16 UTC] Product ID: 33, Total sold: 0
[06-Oct-2025 07:30:19 UTC] Product ID: 36, Feedback records found: 0
[06-Oct-2025 07:30:19 UTC] Total feedback records in database: 1
[06-Oct-2025 07:30:19 UTC] Product ID: 36, Total sold: 0
[06-Oct-2025 07:31:09 UTC] Product ID: 36, Feedback records found: 0
[06-Oct-2025 07:31:09 UTC] Total feedback records in database: 1
[06-Oct-2025 07:31:09 UTC] Product ID: 36, Total sold: 0
[06-Oct-2025 07:32:22 UTC] Product ID: 36, Feedback records found: 0
[06-Oct-2025 07:32:22 UTC] Total feedback records in database: 1
[06-Oct-2025 07:32:22 UTC] Product ID: 36, Total sold: 0
[06-Oct-2025 07:32:27 UTC] Product ID: 33, Feedback records found: 0
[06-Oct-2025 07:32:27 UTC] Total feedback records in database: 1
[06-Oct-2025 07:32:27 UTC] Product ID: 33, Total sold: 0
[06-Oct-2025 07:32:45 UTC] Product ID: 35, Feedback records found: 0
[06-Oct-2025 07:32:45 UTC] Total feedback records in database: 1
[06-Oct-2025 07:32:45 UTC] Product ID: 35, Total sold: 0
[06-Oct-2025 07:33:03 UTC] Product ID: 35, Feedback records found: 0
[06-Oct-2025 07:33:03 UTC] Total feedback records in database: 1
[06-Oct-2025 07:33:03 UTC] Product ID: 35, Total sold: 0
[06-Oct-2025 07:51:29 UTC] Product ID: 35, Feedback records found: 0
[06-Oct-2025 07:51:29 UTC] Total feedback records in database: 1
[06-Oct-2025 07:51:29 UTC] Product ID: 35, Total sold: 0
[06-Oct-2025 07:51:52 UTC] Product ID: 36, Feedback records found: 0
[06-Oct-2025 07:51:52 UTC] Total feedback records in database: 1
[06-Oct-2025 07:51:52 UTC] Product ID: 36, Total sold: 0
[06-Oct-2025 07:56:24 UTC] Product ID: 32, Feedback records found: 1
[06-Oct-2025 07:56:24 UTC] Product ID: 32, Total sold: 2
[06-Oct-2025 07:56:41 UTC] Product ID: 36, Feedback records found: 0
[06-Oct-2025 07:56:41 UTC] Total feedback records in database: 1
[06-Oct-2025 07:56:41 UTC] Product ID: 36, Total sold: 0
[06-Oct-2025 07:56:46 UTC] Product ID: 36, Feedback records found: 0
[06-Oct-2025 07:56:46 UTC] Total feedback records in database: 1
[06-Oct-2025 07:56:46 UTC] Product ID: 36, Total sold: 0
[06-Oct-2025 07:56:49 UTC] Product ID: 36, Feedback records found: 0
[06-Oct-2025 07:56:49 UTC] Total feedback records in database: 1
[06-Oct-2025 07:56:49 UTC] Product ID: 36, Total sold: 0
[06-Oct-2025 07:56:55 UTC] Product ID: 36, Feedback records found: 0
[06-Oct-2025 07:56:55 UTC] Total feedback records in database: 1
[06-Oct-2025 07:56:55 UTC] Product ID: 36, Total sold: 0
[06-Oct-2025 07:57:05 UTC] Product ID: 32, Feedback records found: 1
[06-Oct-2025 07:57:05 UTC] Product ID: 32, Total sold: 2
[06-Oct-2025 08:19:12 UTC] Product ID: 36, Feedback records found: 0
[06-Oct-2025 08:19:12 UTC] Total feedback records in database: 1
[06-Oct-2025 08:19:12 UTC] Product ID: 36, Total sold: 0
[06-Oct-2025 16:42:13 UTC] Shipping config query for amount 61.6 found: {"id":"1","name":"ezparcel","description":"","fee_type":"Weight_Based","base_fee":"3.67","fee_value":"8.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"2","delivery_days_max":"3","is_active":"1","sort_order":"1","created_at":"2025-09-24 15:18:29","updated_at":"2025-10-05 10:48:14","per_kg_fee":"2.50","min_weight":"0.00","max_weight":"10.00"}
[06-Oct-2025 16:42:13 UTC] Cart page requesting shipping config for order amount: 61.6
[06-Oct-2025 16:42:46 UTC] Product ID: 32, Feedback records found: 1
[06-Oct-2025 16:42:46 UTC] Product ID: 32, Total sold: 2
[06-Oct-2025 16:42:48 UTC] Product ID: 32, Feedback records found: 1
[06-Oct-2025 16:42:48 UTC] Product ID: 32, Total sold: 2
[06-Oct-2025 16:42:50 UTC] Product ID: 36, Feedback records found: 0
[06-Oct-2025 16:42:50 UTC] Total feedback records in database: 1
[06-Oct-2025 16:42:50 UTC] Product ID: 36, Total sold: 0
[06-Oct-2025 16:42:56 UTC] Shipping config query for amount 16.9 found: {"id":"1","name":"ezparcel","description":"","fee_type":"Weight_Based","base_fee":"3.67","fee_value":"8.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"2","delivery_days_max":"3","is_active":"1","sort_order":"1","created_at":"2025-09-24 15:18:29","updated_at":"2025-10-05 10:48:14","per_kg_fee":"2.50","min_weight":"0.00","max_weight":"10.00"}
[06-Oct-2025 16:42:56 UTC] Cart page requesting shipping config for order amount: 16.9
[06-Oct-2025 16:43:09 UTC] Shipping config query for amount 16.9 found: {"id":"1","name":"ezparcel","description":"","fee_type":"Weight_Based","base_fee":"3.67","fee_value":"8.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"2","delivery_days_max":"3","is_active":"1","sort_order":"1","created_at":"2025-09-24 15:18:29","updated_at":"2025-10-05 10:48:14","per_kg_fee":"2.50","min_weight":"0.00","max_weight":"10.00"}
[06-Oct-2025 16:43:09 UTC] Cart page requesting shipping config for order amount: 16.9
[06-Oct-2025 22:45:56 UTC] Product ID: 36, Feedback records found: 0
[06-Oct-2025 22:45:56 UTC] Total feedback records in database: 1
[06-Oct-2025 22:45:56 UTC] Product ID: 36, Total sold: 0
[06-Oct-2025 22:46:05 UTC] Shipping config query for amount 16.9 found: {"id":"1","name":"ezparcel","description":"","fee_type":"Weight_Based","base_fee":"3.67","fee_value":"8.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"2","delivery_days_max":"3","is_active":"1","sort_order":"1","created_at":"2025-09-24 15:18:29","updated_at":"2025-10-05 10:48:14","per_kg_fee":"2.50","min_weight":"0.00","max_weight":"10.00"}
[06-Oct-2025 22:46:05 UTC] Cart page requesting shipping config for order amount: 16.9
[07-Oct-2025 03:11:33 UTC] Product ID: 34, Feedback records found: 0
[07-Oct-2025 03:11:33 UTC] Total feedback records in database: 1
[07-Oct-2025 03:11:33 UTC] Product ID: 34, Total sold: 0
[07-Oct-2025 03:11:44 UTC] Add to cart: user_id=2, session_id=1eeol10buoh3pv5stmjpn3r9vr, product_id=34, quantity=1, size=10ml, version=EDP / LIGHT, price=14.9
[07-Oct-2025 03:11:44 UTC] Cart::addItem - user_id: 2, session_id: 1eeol10buoh3pv5stmjpn3r9vr, product_id: 34, size: 10ml, version: EDP / LIGHT, quantity: 1, price: 14.9
[07-Oct-2025 03:11:44 UTC] Cart::getCartItem - Query: SELECT * FROM cart 
                  WHERE product_id = :product_id AND size = :size AND version = :version AND user_id = :user_id AND session_id = :session_id
[07-Oct-2025 03:11:44 UTC] Cart::getCartItem - Params: {"product_id":34,"size":"10ml","version":"EDP \/ LIGHT","user_id":"2","session_id":"1eeol10buoh3pv5stmjpn3r9vr"}
[07-Oct-2025 03:11:44 UTC] Cart::getCartItem - No existing item found
[07-Oct-2025 03:11:44 UTC] Cart::getSessionCartItem - Query: SELECT * FROM cart 
                  WHERE session_id = :session_id AND product_id = :product_id AND size = :size AND version = :version
[07-Oct-2025 03:11:44 UTC] Cart::getSessionCartItem - Params: {"session_id":"1eeol10buoh3pv5stmjpn3r9vr","product_id":34,"size":"10ml","version":"EDP \/ LIGHT"}
[07-Oct-2025 03:11:44 UTC] Cart::getSessionCartItem - No session item found
[07-Oct-2025 03:11:44 UTC] Cart::addItem - No existing item found, creating new item
[07-Oct-2025 03:11:44 UTC] Cart::addItem - Successfully created new item with ID: 95
[07-Oct-2025 03:11:44 UTC] Successfully added to cart. Cart count: 2, Cart item ID: 95
[07-Oct-2025 03:11:47 UTC] Shipping config query for amount 31.8 found: {"id":"1","name":"ezparcel","description":"","fee_type":"Weight_Based","base_fee":"3.67","fee_value":"8.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"2","delivery_days_max":"3","is_active":"1","sort_order":"1","created_at":"2025-09-24 15:18:29","updated_at":"2025-10-05 10:48:14","per_kg_fee":"2.50","min_weight":"0.00","max_weight":"10.00"}
[07-Oct-2025 03:11:47 UTC] Cart page requesting shipping config for order amount: 31.8
[07-Oct-2025 03:11:51 UTC] Product ID: 34, Feedback records found: 0
[07-Oct-2025 03:11:51 UTC] Total feedback records in database: 1
[07-Oct-2025 03:11:51 UTC] Product ID: 34, Total sold: 0
[07-Oct-2025 03:11:54 UTC] Shipping config query for amount 31.8 found: {"id":"1","name":"ezparcel","description":"","fee_type":"Weight_Based","base_fee":"3.67","fee_value":"8.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"2","delivery_days_max":"3","is_active":"1","sort_order":"1","created_at":"2025-09-24 15:18:29","updated_at":"2025-10-05 10:48:14","per_kg_fee":"2.50","min_weight":"0.00","max_weight":"10.00"}
[07-Oct-2025 03:11:54 UTC] Cart page requesting shipping config for order amount: 31.8
[07-Oct-2025 03:12:48 UTC] Shipping config query for amount 31.8 found: {"id":"1","name":"ezparcel","description":"","fee_type":"Weight_Based","base_fee":"3.67","fee_value":"8.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"2","delivery_days_max":"3","is_active":"1","sort_order":"1","created_at":"2025-09-24 15:18:29","updated_at":"2025-10-05 10:48:14","per_kg_fee":"2.50","min_weight":"0.00","max_weight":"10.00"}
[07-Oct-2025 03:12:48 UTC] Cart page requesting shipping config for order amount: 31.8
[07-Oct-2025 03:13:58 UTC] Product ID: 32, Feedback records found: 1
[07-Oct-2025 03:13:58 UTC] Product ID: 32, Total sold: 2
[07-Oct-2025 03:14:00 UTC] Add to cart: user_id=2, session_id=f1kt7etm3jpu2j0035i7llnme8, product_id=32, quantity=1, size=10ml, version=EDP / LIGHT, price=14.9
[07-Oct-2025 03:14:00 UTC] Cart::addItem - user_id: 2, session_id: f1kt7etm3jpu2j0035i7llnme8, product_id: 32, size: 10ml, version: EDP / LIGHT, quantity: 1, price: 14.9
[07-Oct-2025 03:14:00 UTC] Cart::getCartItem - Query: SELECT * FROM cart 
                  WHERE product_id = :product_id AND size = :size AND version = :version AND user_id = :user_id AND session_id = :session_id
[07-Oct-2025 03:14:00 UTC] Cart::getCartItem - Params: {"product_id":32,"size":"10ml","version":"EDP \/ LIGHT","user_id":"2","session_id":"f1kt7etm3jpu2j0035i7llnme8"}
[07-Oct-2025 03:14:00 UTC] Cart::getCartItem - No existing item found
[07-Oct-2025 03:14:00 UTC] Cart::getSessionCartItem - Query: SELECT * FROM cart 
                  WHERE session_id = :session_id AND product_id = :product_id AND size = :size AND version = :version
[07-Oct-2025 03:14:00 UTC] Cart::getSessionCartItem - Params: {"session_id":"f1kt7etm3jpu2j0035i7llnme8","product_id":32,"size":"10ml","version":"EDP \/ LIGHT"}
[07-Oct-2025 03:14:00 UTC] Cart::getSessionCartItem - No session item found
[07-Oct-2025 03:14:00 UTC] Cart::addItem - No existing item found, creating new item
[07-Oct-2025 03:14:00 UTC] Cart::addItem - Successfully created new item with ID: 96
[07-Oct-2025 03:14:00 UTC] Successfully added to cart. Cart count: 1, Cart item ID: 96
[07-Oct-2025 03:14:02 UTC] Shipping config query for amount 14.9 found: {"id":"1","name":"ezparcel","description":"","fee_type":"Weight_Based","base_fee":"3.67","fee_value":"8.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"2","delivery_days_max":"3","is_active":"1","sort_order":"1","created_at":"2025-09-24 15:18:29","updated_at":"2025-10-05 10:48:14","per_kg_fee":"2.50","min_weight":"0.00","max_weight":"10.00"}
[07-Oct-2025 03:14:02 UTC] Cart page requesting shipping config for order amount: 14.9
[07-Oct-2025 03:14:15 UTC] Shipping config query for amount 31.8 found: {"id":"1","name":"ezparcel","description":"","fee_type":"Weight_Based","base_fee":"3.67","fee_value":"8.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"2","delivery_days_max":"3","is_active":"1","sort_order":"1","created_at":"2025-09-24 15:18:29","updated_at":"2025-10-05 10:48:14","per_kg_fee":"2.50","min_weight":"0.00","max_weight":"10.00"}
[07-Oct-2025 03:14:15 UTC] Cart page requesting shipping config for order amount: 31.8
[07-Oct-2025 03:15:54 UTC] Shipping config query for amount 31.8 found: {"id":"1","name":"ezparcel","description":"","fee_type":"Weight_Based","base_fee":"3.67","fee_value":"8.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"2","delivery_days_max":"3","is_active":"1","sort_order":"1","created_at":"2025-09-24 15:18:29","updated_at":"2025-10-05 10:48:14","per_kg_fee":"2.50","min_weight":"0.00","max_weight":"10.00"}
[07-Oct-2025 03:15:54 UTC] Cart page requesting shipping config for order amount: 31.8
[07-Oct-2025 03:17:00 UTC] Shipping config query for amount 31.8 found: {"id":"1","name":"ezparcel","description":"","fee_type":"Weight_Based","base_fee":"3.67","fee_value":"8.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"2","delivery_days_max":"3","is_active":"1","sort_order":"1","created_at":"2025-09-24 15:18:29","updated_at":"2025-10-05 10:48:14","per_kg_fee":"2.50","min_weight":"0.00","max_weight":"10.00"}
[07-Oct-2025 03:17:00 UTC] Cart page requesting shipping config for order amount: 31.8
[07-Oct-2025 03:17:07 UTC] Shipping config query for amount 14.9 found: {"id":"1","name":"ezparcel","description":"","fee_type":"Weight_Based","base_fee":"3.67","fee_value":"8.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"2","delivery_days_max":"3","is_active":"1","sort_order":"1","created_at":"2025-09-24 15:18:29","updated_at":"2025-10-05 10:48:14","per_kg_fee":"2.50","min_weight":"0.00","max_weight":"10.00"}
[07-Oct-2025 03:17:07 UTC] Cart page requesting shipping config for order amount: 14.9
[07-Oct-2025 03:18:11 UTC] Product ID: 32, Feedback records found: 1
[07-Oct-2025 03:18:11 UTC] Product ID: 32, Total sold: 2
[07-Oct-2025 03:18:13 UTC] Add to cart: user_id=2, session_id=401vsdb4rh4s72v4g1mh86d96g, product_id=32, quantity=1, size=10ml, version=EDP / LIGHT, price=14.9
[07-Oct-2025 03:18:13 UTC] Cart::addItem - user_id: 2, session_id: 401vsdb4rh4s72v4g1mh86d96g, product_id: 32, size: 10ml, version: EDP / LIGHT, quantity: 1, price: 14.9
[07-Oct-2025 03:18:13 UTC] Cart::getCartItem - Query: SELECT * FROM cart 
                  WHERE product_id = :product_id AND size = :size AND version = :version AND user_id = :user_id AND session_id = :session_id
[07-Oct-2025 03:18:13 UTC] Cart::getCartItem - Params: {"product_id":32,"size":"10ml","version":"EDP \/ LIGHT","user_id":"2","session_id":"401vsdb4rh4s72v4g1mh86d96g"}
[07-Oct-2025 03:18:13 UTC] Cart::getCartItem - No existing item found
[07-Oct-2025 03:18:13 UTC] Cart::getSessionCartItem - Query: SELECT * FROM cart 
                  WHERE session_id = :session_id AND product_id = :product_id AND size = :size AND version = :version
[07-Oct-2025 03:18:13 UTC] Cart::getSessionCartItem - Params: {"session_id":"401vsdb4rh4s72v4g1mh86d96g","product_id":32,"size":"10ml","version":"EDP \/ LIGHT"}
[07-Oct-2025 03:18:13 UTC] Cart::getSessionCartItem - No session item found
[07-Oct-2025 03:18:13 UTC] Cart::addItem - No existing item found, creating new item
[07-Oct-2025 03:18:13 UTC] Error in add_to_cart: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '2-32-10ml-EDP / LIGHT' for key 'cart.unique_cart_item'
[07-Oct-2025 03:18:19 UTC] Product ID: 36, Feedback records found: 0
[07-Oct-2025 03:18:19 UTC] Total feedback records in database: 1
[07-Oct-2025 03:18:19 UTC] Product ID: 36, Total sold: 0
[07-Oct-2025 03:18:21 UTC] Product ID: 32, Feedback records found: 1
[07-Oct-2025 03:18:21 UTC] Product ID: 32, Total sold: 2
[07-Oct-2025 03:19:04 UTC] Shipping config query for amount 31.8 found: {"id":"1","name":"ezparcel","description":"","fee_type":"Weight_Based","base_fee":"3.67","fee_value":"8.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"2","delivery_days_max":"3","is_active":"1","sort_order":"1","created_at":"2025-09-24 15:18:29","updated_at":"2025-10-05 10:48:14","per_kg_fee":"2.50","min_weight":"0.00","max_weight":"10.00"}
[07-Oct-2025 03:19:04 UTC] Cart page requesting shipping config for order amount: 31.8
[07-Oct-2025 03:19:14 UTC] Product ID: 32, Feedback records found: 1
[07-Oct-2025 03:19:14 UTC] Product ID: 32, Total sold: 2
[07-Oct-2025 03:19:16 UTC] Add to cart: user_id=2, session_id=1eeol10buoh3pv5stmjpn3r9vr, product_id=32, quantity=1, size=10ml, version=EDP / LIGHT, price=14.9
[07-Oct-2025 03:19:16 UTC] Cart::addItem - user_id: 2, session_id: 1eeol10buoh3pv5stmjpn3r9vr, product_id: 32, size: 10ml, version: EDP / LIGHT, quantity: 1, price: 14.9
[07-Oct-2025 03:19:16 UTC] Cart::getCartItem - Query: SELECT * FROM cart 
                  WHERE product_id = :product_id AND size = :size AND version = :version AND user_id = :user_id AND session_id = :session_id
[07-Oct-2025 03:19:16 UTC] Cart::getCartItem - Params: {"product_id":32,"size":"10ml","version":"EDP \/ LIGHT","user_id":"2","session_id":"1eeol10buoh3pv5stmjpn3r9vr"}
[07-Oct-2025 03:19:16 UTC] Cart::getCartItem - No existing item found
[07-Oct-2025 03:19:16 UTC] Cart::getSessionCartItem - Query: SELECT * FROM cart 
                  WHERE session_id = :session_id AND product_id = :product_id AND size = :size AND version = :version
[07-Oct-2025 03:19:16 UTC] Cart::getSessionCartItem - Params: {"session_id":"1eeol10buoh3pv5stmjpn3r9vr","product_id":32,"size":"10ml","version":"EDP \/ LIGHT"}
[07-Oct-2025 03:19:16 UTC] Cart::getSessionCartItem - No session item found
[07-Oct-2025 03:19:16 UTC] Cart::addItem - No existing item found, creating new item
[07-Oct-2025 03:19:16 UTC] Cart::addItem - Successfully created new item with ID: 97
[07-Oct-2025 03:19:16 UTC] Successfully added to cart. Cart count: 1, Cart item ID: 97
[07-Oct-2025 03:19:19 UTC] Shipping config query for amount 14.9 found: {"id":"1","name":"ezparcel","description":"","fee_type":"Weight_Based","base_fee":"3.67","fee_value":"8.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"2","delivery_days_max":"3","is_active":"1","sort_order":"1","created_at":"2025-09-24 15:18:29","updated_at":"2025-10-05 10:48:14","per_kg_fee":"2.50","min_weight":"0.00","max_weight":"10.00"}
[07-Oct-2025 03:19:19 UTC] Cart page requesting shipping config for order amount: 14.9
[07-Oct-2025 03:29:21 UTC] Shipping config query for amount 14.9 found: {"id":"1","name":"ezparcel","description":"","fee_type":"Weight_Based","base_fee":"3.67","fee_value":"8.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"2","delivery_days_max":"3","is_active":"1","sort_order":"1","created_at":"2025-09-24 15:18:29","updated_at":"2025-10-05 10:48:14","per_kg_fee":"2.50","min_weight":"0.00","max_weight":"10.00"}
[07-Oct-2025 03:29:21 UTC] Cart page requesting shipping config for order amount: 14.9
[07-Oct-2025 03:51:37 UTC] Product ID: 36, Feedback records found: 0
[07-Oct-2025 03:51:37 UTC] Total feedback records in database: 1
[07-Oct-2025 03:51:37 UTC] Product ID: 36, Total sold: 0
[07-Oct-2025 03:51:40 UTC] Product ID: 32, Feedback records found: 1
[07-Oct-2025 03:51:40 UTC] Product ID: 32, Total sold: 2
[07-Oct-2025 03:51:42 UTC] Add to cart: user_id=2, session_id=v1mh1kgnd3u7lohvch4nn67v4o, product_id=32, quantity=1, size=10ml, version=EDP / LIGHT, price=14.9
[07-Oct-2025 03:51:42 UTC] Cart::addItem - user_id: 2, session_id: v1mh1kgnd3u7lohvch4nn67v4o, product_id: 32, size: 10ml, version: EDP / LIGHT, quantity: 1, price: 14.9
[07-Oct-2025 03:51:42 UTC] Cart::getCartItem - Query: SELECT * FROM cart 
                  WHERE product_id = :product_id AND size = :size AND version = :version AND user_id = :user_id AND session_id = :session_id
[07-Oct-2025 03:51:42 UTC] Cart::getCartItem - Params: {"product_id":32,"size":"10ml","version":"EDP \/ LIGHT","user_id":"2","session_id":"v1mh1kgnd3u7lohvch4nn67v4o"}
[07-Oct-2025 03:51:42 UTC] Cart::getCartItem - No existing item found
[07-Oct-2025 03:51:42 UTC] Cart::getSessionCartItem - Query: SELECT * FROM cart 
                  WHERE session_id = :session_id AND product_id = :product_id AND size = :size AND version = :version
[07-Oct-2025 03:51:42 UTC] Cart::getSessionCartItem - Params: {"session_id":"v1mh1kgnd3u7lohvch4nn67v4o","product_id":32,"size":"10ml","version":"EDP \/ LIGHT"}
[07-Oct-2025 03:51:42 UTC] Cart::getSessionCartItem - No session item found
[07-Oct-2025 03:51:42 UTC] Cart::addItem - No existing item found, creating new item
[07-Oct-2025 03:51:42 UTC] Error in add_to_cart: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '2-32-10ml-EDP / LIGHT' for key 'cart.unique_cart_item'
[07-Oct-2025 03:51:45 UTC] Add to cart: user_id=2, session_id=v1mh1kgnd3u7lohvch4nn67v4o, product_id=32, quantity=1, size=20ml, version=EDP / LIGHT, price=17
[07-Oct-2025 03:51:45 UTC] Cart::addItem - user_id: 2, session_id: v1mh1kgnd3u7lohvch4nn67v4o, product_id: 32, size: 20ml, version: EDP / LIGHT, quantity: 1, price: 17
[07-Oct-2025 03:51:45 UTC] Cart::getCartItem - Query: SELECT * FROM cart 
                  WHERE product_id = :product_id AND size = :size AND version = :version AND user_id = :user_id AND session_id = :session_id
[07-Oct-2025 03:51:45 UTC] Cart::getCartItem - Params: {"product_id":32,"size":"20ml","version":"EDP \/ LIGHT","user_id":"2","session_id":"v1mh1kgnd3u7lohvch4nn67v4o"}
[07-Oct-2025 03:51:45 UTC] Cart::getCartItem - No existing item found
[07-Oct-2025 03:51:45 UTC] Cart::getSessionCartItem - Query: SELECT * FROM cart 
                  WHERE session_id = :session_id AND product_id = :product_id AND size = :size AND version = :version
[07-Oct-2025 03:51:45 UTC] Cart::getSessionCartItem - Params: {"session_id":"v1mh1kgnd3u7lohvch4nn67v4o","product_id":32,"size":"20ml","version":"EDP \/ LIGHT"}
[07-Oct-2025 03:51:45 UTC] Cart::getSessionCartItem - No session item found
[07-Oct-2025 03:51:45 UTC] Cart::addItem - No existing item found, creating new item
[07-Oct-2025 03:51:45 UTC] Cart::addItem - Successfully created new item with ID: 98
[07-Oct-2025 03:51:45 UTC] Successfully added to cart. Cart count: 1, Cart item ID: 98
[07-Oct-2025 03:51:51 UTC] Shipping config query for amount 17 found: {"id":"1","name":"ezparcel","description":"","fee_type":"Weight_Based","base_fee":"3.67","fee_value":"8.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"2","delivery_days_max":"3","is_active":"1","sort_order":"1","created_at":"2025-09-24 15:18:29","updated_at":"2025-10-05 10:48:14","per_kg_fee":"2.50","min_weight":"0.00","max_weight":"10.00"}
[07-Oct-2025 03:51:51 UTC] Cart page requesting shipping config for order amount: 17
[07-Oct-2025 04:27:16 UTC] Shipping config query for amount 17 found: {"id":"1","name":"ezparcel","description":"","fee_type":"Weight_Based","base_fee":"3.67","fee_value":"8.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"2","delivery_days_max":"3","is_active":"1","sort_order":"1","created_at":"2025-09-24 15:18:29","updated_at":"2025-10-05 10:48:14","per_kg_fee":"2.50","min_weight":"0.00","max_weight":"10.00"}
[07-Oct-2025 04:27:16 UTC] Cart page requesting shipping config for order amount: 17
[07-Oct-2025 04:43:15 UTC] Product ID: 32, Feedback records found: 1
[07-Oct-2025 04:43:15 UTC] Product ID: 32, Total sold: 2
[07-Oct-2025 04:43:46 UTC] Product ID: 36, Feedback records found: 0
[07-Oct-2025 04:43:46 UTC] Total feedback records in database: 1
[07-Oct-2025 04:43:46 UTC] Product ID: 36, Total sold: 0
[07-Oct-2025 04:44:11 UTC] Product ID: 32, Feedback records found: 1
[07-Oct-2025 04:44:11 UTC] Product ID: 32, Total sold: 2
[07-Oct-2025 04:44:20 UTC] Checkout: Received POST request
[07-Oct-2025 04:44:20 UTC] Checkout: POST data: Array
(
    [discounted_total] => 18.82
    [email] => azfarirfan7767@gmail.com
    [saved_address_id] => 1
    [first_name] => AZFAR
    [last_name] => BIN ASRI
    [address] => Kg Surau Bator
    [apartment] => 
    [city] => Bachok
    [country] => Malaysia
    [state] => Kelantan
    [zip_code] => 16070
    [phone] => +60179853875
    [payment_method] => toyyibpay_fpx
    [payment_method_fallback] => toyyibpay_fpx
    [billing_same] => on
)

[07-Oct-2025 04:44:20 UTC] Checkout: Payment method: toyyibpay_fpx
[07-Oct-2025 04:44:20 UTC] Checkout Debug - Applied Voucher: No
[07-Oct-2025 04:44:20 UTC] Order created successfully: ID 60
[07-Oct-2025 04:44:20 UTC] toyyibPay createBill data: Array
(
    [userSecretKey] => j816hxzw-4da3-5a0p-o18t-42rybaon2xky
    [categoryCode] => 93v503tu
    [billName] => Order #60
    [billDescription] => Payment for Order #60
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 1882
    [billReturnUrl] => https://2dayparfum.com/apps/payment-return.php
    [billCallbackUrl] => https://2dayparfum.com/apps/payment-callback.php
    [billExternalReferenceNo] => 60
    [billTo] => AZFAR BIN ASRI
    [billEmail] => azfarirfan7767@gmail.com
    [billPhone] => +60179853875
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[07-Oct-2025 04:44:20 UTC] toyyibPay makeApiCall - URL: https://dev.toyyibpay.com/index.php/api/createBill
[07-Oct-2025 04:44:20 UTC] toyyibPay makeApiCall - Data: Array
(
    [userSecretKey] => j816hxzw-4da3-5a0p-o18t-42rybaon2xky
    [categoryCode] => 93v503tu
    [billName] => Order #60
    [billDescription] => Payment for Order #60
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 1882
    [billReturnUrl] => https://2dayparfum.com/apps/payment-return.php
    [billCallbackUrl] => https://2dayparfum.com/apps/payment-callback.php
    [billExternalReferenceNo] => 60
    [billTo] => AZFAR BIN ASRI
    [billEmail] => azfarirfan7767@gmail.com
    [billPhone] => +60179853875
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[07-Oct-2025 04:44:21 UTC] toyyibPay makeApiCall - HTTP Code: 200
[07-Oct-2025 04:44:21 UTC] toyyibPay makeApiCall - Raw Response: 						[{"BillCode":"juo4s3z6"}]
[07-Oct-2025 04:44:21 UTC] toyyibPay makeApiCall - cURL Info: Array
(
    [url] => https://dev.toyyibpay.com/index.php/api/createBill
    [content_type] => text/html; charset=UTF-8
    [http_code] => 200
    [header_size] => 930
    [request_size] => 2604
    [filetime] => -1
    [ssl_verify_result] => 20
    [redirect_count] => 0
    [total_time] => 0.144231
    [namelookup_time] => 0.027481
    [connect_time] => 0.036843
    [pretransfer_time] => 0.053217
    [size_upload] => 2381
    [size_download] => 31
    [speed_download] => 214
    [speed_upload] => 16508
    [download_content_length] => -1
    [upload_content_length] => 2381
    [starttransfer_time] => 0.144046
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 172.67.70.74
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 103.72.163.73
    [local_port] => 54996
    [http_version] => 3
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => https
    [appconnect_time_us] => 52950
    [connect_time_us] => 36843
    [namelookup_time_us] => 27481
    [pretransfer_time_us] => 53217
    [redirect_time_us] => 0
    [starttransfer_time_us] => 144046
    [total_time_us] => 144231
)

[07-Oct-2025 04:44:21 UTC] toyyibPay makeApiCall - Decoded Response: Array
(
    [0] => Array
        (
            [BillCode] => juo4s3z6
        )

)

[07-Oct-2025 04:44:21 UTC] toyyibPay createBill response: Array
(
    [0] => Array
        (
            [BillCode] => juo4s3z6
        )

)

[07-Oct-2025 04:44:21 UTC] toyyibPay createBill success: juo4s3z6
[07-Oct-2025 04:44:42 UTC] toyyibPay Callback received: Array
(
    [refno] => TP2510072671675131
    [status] => 1
    [reason] => Payment Approved
    [billcode] => juo4s3z6
    [order_id] => 60
    [amount] => 18.82
    [status_id] => 1
    [msg] => ok
    [transaction_id] => TP2510072671675131
    [fpx_transaction_id] => 2510071229071141
    [hash] => 54319c83605db240fee1a0a799dcde76
    [transaction_time] => 2025-10-07 12:29:07
)

[07-Oct-2025 04:44:42 UTC] Order updatePaymentInfo: Updated order 60 with fields: status, reference, amount
[07-Oct-2025 04:44:42 UTC] toyyibPay Callback: Order 60 status updated to processing, payment status updated to paid
[07-Oct-2025 04:44:42 UTC] toyyibPay Callback: Payment successful for order 60, amount: 18.82, reference: TP2510072671675131
[07-Oct-2025 04:44:42 UTC] Product::deductVariationStock - Successfully deducted 1 from product_id=32, size=10ml, version=EDP / LIGHT. New stock: 15
[07-Oct-2025 04:44:42 UTC] Stock deduction completed for order 60: 1 successful, 0 failed
[07-Oct-2025 04:44:42 UTC] Loyalty points awarded for order 60: 15 points to user 2
[07-Oct-2025 04:44:42 UTC] Points breakdown: 2DAYS MAN BORN IN ROMA INTENSE FOR MEN x1 = 15 points (15 per item)
[07-Oct-2025 04:44:43 UTC] toyyibPay Return: Array
(
    [status_id] => 1
    [billcode] => juo4s3z6
    [order_id] => 60
    [msg] => ok
    [transaction_id] => TP2510072671675131
)

[07-Oct-2025 04:44:43 UTC] toyyibPay Return - status_id: 1, billcode: juo4s3z6, order_id: 60
[07-Oct-2025 04:44:43 UTC] toyyibPay Return: Redirecting to order-success.php?id=60&payment_status=1
[07-Oct-2025 04:44:43 UTC] Order Success Debug - Order ID: 60
[07-Oct-2025 04:44:43 UTC] Order Success Debug - Voucher ID: NULL
[07-Oct-2025 04:44:43 UTC] Order Success Debug - Voucher Discount Amount: 0.00
[07-Oct-2025 04:44:43 UTC] Order Success Debug - Voucher Info: Not found
[07-Oct-2025 04:44:43 UTC] Order updatePaymentInfo: Updated order 60 with fields: status
[07-Oct-2025 04:44:43 UTC] Order Success Page: Auto-updated order #60 to processing/paid status
[07-Oct-2025 04:44:43 UTC] Product::deductVariationStock - Successfully deducted 1 from product_id=32, size=10ml, version=EDP / LIGHT. New stock: 14
[07-Oct-2025 04:44:43 UTC] Stock deduction completed for order 60: 1 successful, 0 failed
[07-Oct-2025 07:01:07 UTC] Product ID: 32, Feedback records found: 1
[07-Oct-2025 07:01:07 UTC] Product ID: 32, Total sold: 2
[07-Oct-2025 15:19:25 UTC] Product ID: 32, Feedback records found: 1
[07-Oct-2025 15:19:25 UTC] Product ID: 32, Total sold: 2
[07-Oct-2025 17:02:16 UTC] Product ID: 36, Feedback records found: 0
[07-Oct-2025 17:02:16 UTC] Total feedback records in database: 1
[07-Oct-2025 17:02:16 UTC] Product ID: 36, Total sold: 0
[07-Oct-2025 17:02:29 UTC] Product ID: 32, Feedback records found: 1
[07-Oct-2025 17:02:29 UTC] Product ID: 32, Total sold: 2
[07-Oct-2025 17:02:36 UTC] Product ID: 32, Feedback records found: 1
[07-Oct-2025 17:02:36 UTC] Product ID: 32, Total sold: 2
[07-Oct-2025 17:02:37 UTC] Product ID: 37, Feedback records found: 0
[07-Oct-2025 17:02:37 UTC] Total feedback records in database: 1
[07-Oct-2025 17:02:37 UTC] Product ID: 37, Total sold: 0
[07-Oct-2025 17:02:52 UTC] Product ID: 37, Feedback records found: 0
[07-Oct-2025 17:02:52 UTC] Total feedback records in database: 1
[07-Oct-2025 17:02:52 UTC] Product ID: 37, Total sold: 0
[07-Oct-2025 17:03:16 UTC] Product ID: 36, Feedback records found: 0
[07-Oct-2025 17:03:16 UTC] Total feedback records in database: 1
[07-Oct-2025 17:03:16 UTC] Product ID: 36, Total sold: 0
[08-Oct-2025 01:51:45 UTC] Product ID: 32, Feedback records found: 1
[08-Oct-2025 01:51:45 UTC] Product ID: 32, Total sold: 2
[08-Oct-2025 01:59:32 UTC] Product ID: 32, Feedback records found: 1
[08-Oct-2025 01:59:32 UTC] Product ID: 32, Total sold: 2
[08-Oct-2025 01:59:37 UTC] Add to cart: user_id=2, session_id=cve4gqm4cg5nmeg55hea3hmn0o, product_id=32, quantity=1, size=10ml, version=EDP / LIGHT, price=14.9
[08-Oct-2025 01:59:37 UTC] Cart::addItem - user_id: 2, session_id: cve4gqm4cg5nmeg55hea3hmn0o, product_id: 32, size: 10ml, version: EDP / LIGHT, quantity: 1, price: 14.9
[08-Oct-2025 01:59:37 UTC] Cart::getCartItem - Query: SELECT * FROM cart 
                  WHERE product_id = :product_id AND size = :size AND version = :version AND user_id = :user_id
[08-Oct-2025 01:59:37 UTC] Cart::getCartItem - Params: {"product_id":32,"size":"10ml","version":"EDP \/ LIGHT","user_id":"2"}
[08-Oct-2025 01:59:37 UTC] Cart::getCartItem - No existing item found
[08-Oct-2025 01:59:37 UTC] Cart::getSessionCartItem - Query: SELECT * FROM cart 
                  WHERE session_id = :session_id AND product_id = :product_id AND size = :size AND version = :version
[08-Oct-2025 01:59:37 UTC] Cart::getSessionCartItem - Params: {"session_id":"cve4gqm4cg5nmeg55hea3hmn0o","product_id":32,"size":"10ml","version":"EDP \/ LIGHT"}
[08-Oct-2025 01:59:37 UTC] Cart::getSessionCartItem - No session item found
[08-Oct-2025 01:59:37 UTC] Cart::addItem - No existing item found, creating new item
[08-Oct-2025 01:59:37 UTC] Cart::addItem - Successfully created new item with ID: 99
[08-Oct-2025 01:59:37 UTC] Successfully added to cart. Cart count: 1, Cart item ID: 99
[08-Oct-2025 01:59:41 UTC] Shipping config query for amount 14.9 found: {"id":"1","name":"ezparcel","description":"","fee_type":"Weight_Based","base_fee":"3.67","fee_value":"8.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"2","delivery_days_max":"3","is_active":"1","sort_order":"1","created_at":"2025-09-24 15:18:29","updated_at":"2025-10-05 10:48:14","per_kg_fee":"2.50","min_weight":"0.00","max_weight":"10.00"}
[08-Oct-2025 01:59:41 UTC] Cart page requesting shipping config for order amount: 14.9
[08-Oct-2025 01:59:44 UTC] Shipping config query for amount 14.9 found: {"id":"1","name":"ezparcel","description":"","fee_type":"Weight_Based","base_fee":"3.67","fee_value":"8.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"2","delivery_days_max":"3","is_active":"1","sort_order":"1","created_at":"2025-09-24 15:18:29","updated_at":"2025-10-05 10:48:14","per_kg_fee":"2.50","min_weight":"0.00","max_weight":"10.00"}
[08-Oct-2025 01:59:44 UTC] Cart page requesting shipping config for order amount: 14.9
[08-Oct-2025 02:02:36 UTC] Shipping config query for amount 14.9 found: {"id":"1","name":"ezparcel","description":"","fee_type":"Weight_Based","base_fee":"3.67","fee_value":"8.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"2","delivery_days_max":"3","is_active":"1","sort_order":"1","created_at":"2025-09-24 15:18:29","updated_at":"2025-10-05 10:48:14","per_kg_fee":"2.50","min_weight":"0.00","max_weight":"10.00"}
[08-Oct-2025 02:02:36 UTC] Cart page requesting shipping config for order amount: 14.9
[08-Oct-2025 02:02:39 UTC] Shipping config query for amount 14.9 found: {"id":"1","name":"ezparcel","description":"","fee_type":"Weight_Based","base_fee":"3.67","fee_value":"8.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"2","delivery_days_max":"3","is_active":"1","sort_order":"1","created_at":"2025-09-24 15:18:29","updated_at":"2025-10-05 10:48:14","per_kg_fee":"2.50","min_weight":"0.00","max_weight":"10.00"}
[08-Oct-2025 02:02:39 UTC] Cart page requesting shipping config for order amount: 14.9
[08-Oct-2025 02:02:42 UTC] Shipping config query for amount 14.9 found: {"id":"1","name":"ezparcel","description":"","fee_type":"Weight_Based","base_fee":"3.67","fee_value":"8.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"2","delivery_days_max":"3","is_active":"1","sort_order":"1","created_at":"2025-09-24 15:18:29","updated_at":"2025-10-05 10:48:14","per_kg_fee":"2.50","min_weight":"0.00","max_weight":"10.00"}
[08-Oct-2025 02:02:42 UTC] Cart page requesting shipping config for order amount: 14.9
[08-Oct-2025 02:04:21 UTC] Shipping config query for amount 14.9 found: {"id":"1","name":"ezparcel","description":"","fee_type":"Weight_Based","base_fee":"3.67","fee_value":"8.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"2","delivery_days_max":"3","is_active":"1","sort_order":"1","created_at":"2025-09-24 15:18:29","updated_at":"2025-10-05 10:48:14","per_kg_fee":"2.50","min_weight":"0.00","max_weight":"10.00"}
[08-Oct-2025 02:04:21 UTC] Cart page requesting shipping config for order amount: 14.9
[08-Oct-2025 02:07:42 UTC] Shipping config query for amount 14.9 found: {"id":"1","name":"ezparcel","description":"","fee_type":"Weight_Based","base_fee":"3.67","fee_value":"8.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"2","delivery_days_max":"3","is_active":"1","sort_order":"1","created_at":"2025-09-24 15:18:29","updated_at":"2025-10-05 10:48:14","per_kg_fee":"2.50","min_weight":"0.00","max_weight":"10.00"}
[08-Oct-2025 02:07:42 UTC] Cart page requesting shipping config for order amount: 14.9
[08-Oct-2025 02:07:56 UTC] Shipping config query for amount 104.3 found: {"id":"9","name":"free","description":"","fee_type":"free_shipping_threshold","base_fee":"0.00","fee_value":"0.00","min_order_amount":"100.00","max_order_amount":null,"delivery_days_min":"2","delivery_days_max":"4","is_active":"1","sort_order":"0","created_at":"2025-09-28 14:38:06","updated_at":"2025-09-28 14:38:06","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[08-Oct-2025 02:07:56 UTC] Cart page requesting shipping config for order amount: 104.3
[08-Oct-2025 02:08:02 UTC] Shipping config query for amount 59.6 found: {"id":"1","name":"ezparcel","description":"","fee_type":"Weight_Based","base_fee":"3.67","fee_value":"8.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"2","delivery_days_max":"3","is_active":"1","sort_order":"1","created_at":"2025-09-24 15:18:29","updated_at":"2025-10-05 10:48:14","per_kg_fee":"2.50","min_weight":"0.00","max_weight":"10.00"}
[08-Oct-2025 02:08:02 UTC] Cart page requesting shipping config for order amount: 59.6
[08-Oct-2025 02:08:07 UTC] Shipping config query for amount 44.7 found: {"id":"1","name":"ezparcel","description":"","fee_type":"Weight_Based","base_fee":"3.67","fee_value":"8.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"2","delivery_days_max":"3","is_active":"1","sort_order":"1","created_at":"2025-09-24 15:18:29","updated_at":"2025-10-05 10:48:14","per_kg_fee":"2.50","min_weight":"0.00","max_weight":"10.00"}
[08-Oct-2025 02:08:07 UTC] Cart page requesting shipping config for order amount: 44.7
[08-Oct-2025 02:08:34 UTC] Shipping config query for amount 59.6 found: {"id":"1","name":"ezparcel","description":"","fee_type":"Weight_Based","base_fee":"3.67","fee_value":"8.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"2","delivery_days_max":"3","is_active":"1","sort_order":"1","created_at":"2025-09-24 15:18:29","updated_at":"2025-10-05 10:48:14","per_kg_fee":"2.50","min_weight":"0.00","max_weight":"10.00"}
[08-Oct-2025 02:08:34 UTC] Cart page requesting shipping config for order amount: 59.6
[08-Oct-2025 02:08:43 UTC] Shipping config query for amount 59.6 found: {"id":"1","name":"ezparcel","description":"","fee_type":"Weight_Based","base_fee":"3.67","fee_value":"8.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"2","delivery_days_max":"3","is_active":"1","sort_order":"1","created_at":"2025-09-24 15:18:29","updated_at":"2025-10-05 10:48:14","per_kg_fee":"2.50","min_weight":"0.00","max_weight":"10.00"}
[08-Oct-2025 02:08:43 UTC] Cart page requesting shipping config for order amount: 59.6
[08-Oct-2025 02:09:00 UTC] Product ID: 37, Feedback records found: 0
[08-Oct-2025 02:09:00 UTC] Total feedback records in database: 1
[08-Oct-2025 02:09:00 UTC] Product ID: 37, Total sold: 0
[08-Oct-2025 02:44:23 UTC] Shipping config query for amount 59.6 found: {"id":"1","name":"ezparcel","description":"","fee_type":"Weight_Based","base_fee":"3.67","fee_value":"8.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"2","delivery_days_max":"3","is_active":"1","sort_order":"1","created_at":"2025-09-24 15:18:29","updated_at":"2025-10-05 10:48:14","per_kg_fee":"2.50","min_weight":"0.00","max_weight":"10.00"}
[08-Oct-2025 02:44:23 UTC] Cart page requesting shipping config for order amount: 59.6
[08-Oct-2025 07:00:49 UTC] Product ID: 32, Feedback records found: 1
[08-Oct-2025 07:00:49 UTC] Product ID: 32, Total sold: 2
[08-Oct-2025 07:34:00 UTC] Product ID: 36, Feedback records found: 0
[08-Oct-2025 07:34:00 UTC] Total feedback records in database: 1
[08-Oct-2025 07:34:00 UTC] Product ID: 36, Total sold: 0
[08-Oct-2025 08:09:27 UTC] Product ID: 33, Feedback records found: 0
[08-Oct-2025 08:09:27 UTC] Total feedback records in database: 1
[08-Oct-2025 08:09:27 UTC] Product ID: 33, Total sold: 0
[08-Oct-2025 08:09:31 UTC] Product ID: 36, Feedback records found: 0
[08-Oct-2025 08:09:31 UTC] Total feedback records in database: 1
[08-Oct-2025 08:09:31 UTC] Product ID: 36, Total sold: 0
[08-Oct-2025 08:09:34 UTC] Product ID: 33, Feedback records found: 0
[08-Oct-2025 08:09:34 UTC] Total feedback records in database: 1
[08-Oct-2025 08:09:34 UTC] Product ID: 33, Total sold: 0
[08-Oct-2025 08:11:20 UTC] Product ID: 33, Feedback records found: 0
[08-Oct-2025 08:11:20 UTC] Total feedback records in database: 1
[08-Oct-2025 08:11:20 UTC] Product ID: 33, Total sold: 0
[08-Oct-2025 08:15:43 UTC] Product ID: 32, Feedback records found: 1
[08-Oct-2025 08:15:43 UTC] Product ID: 32, Total sold: 2
[08-Oct-2025 08:32:48 UTC] Product ID: 32, Feedback records found: 1
[08-Oct-2025 08:32:48 UTC] Product ID: 32, Total sold: 2
[08-Oct-2025 08:36:03 UTC] Product ID: 32, Feedback records found: 1
[08-Oct-2025 08:36:03 UTC] Product ID: 32, Total sold: 2
[08-Oct-2025 08:36:13 UTC] Product ID: 37, Feedback records found: 0
[08-Oct-2025 08:36:13 UTC] Total feedback records in database: 1
[08-Oct-2025 08:36:13 UTC] Product ID: 37, Total sold: 0
[08-Oct-2025 08:36:55 UTC] Product ID: 33, Feedback records found: 0
[08-Oct-2025 08:36:55 UTC] Total feedback records in database: 1
[08-Oct-2025 08:36:55 UTC] Product ID: 33, Total sold: 0
[08-Oct-2025 08:37:10 UTC] Product ID: 32, Feedback records found: 1
[08-Oct-2025 08:37:10 UTC] Product ID: 32, Total sold: 2
[08-Oct-2025 08:37:22 UTC] Product ID: 34, Feedback records found: 0
[08-Oct-2025 08:37:22 UTC] Total feedback records in database: 1
[08-Oct-2025 08:37:22 UTC] Product ID: 34, Total sold: 0
[08-Oct-2025 08:51:40 UTC] Product ID: 33, Feedback records found: 0
[08-Oct-2025 08:51:40 UTC] Total feedback records in database: 1
[08-Oct-2025 08:51:40 UTC] Product ID: 33, Total sold: 0
[09-Oct-2025 05:09:10 UTC] Product ID: 33, Feedback records found: 0
[09-Oct-2025 05:09:10 UTC] Total feedback records in database: 1
[09-Oct-2025 05:09:10 UTC] Product ID: 33, Total sold: 0
[09-Oct-2025 08:15:31 UTC] Product ID: 36, Feedback records found: 0
[09-Oct-2025 08:15:31 UTC] Total feedback records in database: 1
[09-Oct-2025 08:15:31 UTC] Product ID: 36, Total sold: 0
[09-Oct-2025 08:15:47 UTC] Shipping config query for amount 59.6 found: {"id":"1","name":"ezparcel","description":"","fee_type":"Weight_Based","base_fee":"3.67","fee_value":"8.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"2","delivery_days_max":"3","is_active":"1","sort_order":"1","created_at":"2025-09-24 15:18:29","updated_at":"2025-10-05 10:48:14","per_kg_fee":"2.50","min_weight":"0.00","max_weight":"10.00"}
[09-Oct-2025 08:15:47 UTC] Cart page requesting shipping config for order amount: 59.6
[09-Oct-2025 08:16:41 UTC] Shipping config query for amount 59.6 found: {"id":"1","name":"ezparcel","description":"","fee_type":"Weight_Based","base_fee":"3.67","fee_value":"8.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"2","delivery_days_max":"3","is_active":"1","sort_order":"1","created_at":"2025-09-24 15:18:29","updated_at":"2025-10-05 10:48:14","per_kg_fee":"2.50","min_weight":"0.00","max_weight":"10.00"}
[09-Oct-2025 08:16:41 UTC] Cart page requesting shipping config for order amount: 59.6
[09-Oct-2025 08:18:06 UTC] Shipping config query for amount 74.5 found: {"id":"1","name":"ezparcel","description":"","fee_type":"Weight_Based","base_fee":"3.67","fee_value":"8.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"2","delivery_days_max":"3","is_active":"1","sort_order":"1","created_at":"2025-09-24 15:18:29","updated_at":"2025-10-05 10:48:14","per_kg_fee":"2.50","min_weight":"0.00","max_weight":"10.00"}
[09-Oct-2025 08:18:06 UTC] Cart page requesting shipping config for order amount: 74.5
[09-Oct-2025 20:26:25 UTC] Product ID: 32, Feedback records found: 1
[09-Oct-2025 20:26:25 UTC] Product ID: 32, Total sold: 2
[09-Oct-2025 20:26:42 UTC] Product ID: 34, Feedback records found: 0
[09-Oct-2025 20:26:42 UTC] Total feedback records in database: 1
[09-Oct-2025 20:26:42 UTC] Product ID: 34, Total sold: 0
[10-Oct-2025 05:17:03 UTC] Product ID: 37, Feedback records found: 0
[10-Oct-2025 05:17:03 UTC] Total feedback records in database: 1
[10-Oct-2025 05:17:03 UTC] Product ID: 37, Total sold: 0
[10-Oct-2025 05:17:11 UTC] Product ID: 34, Feedback records found: 0
[10-Oct-2025 05:17:11 UTC] Total feedback records in database: 1
[10-Oct-2025 05:17:11 UTC] Product ID: 34, Total sold: 0
[11-Oct-2025 08:21:30 UTC] Product ID: 33, Feedback records found: 0
[11-Oct-2025 08:21:30 UTC] Total feedback records in database: 1
[11-Oct-2025 08:21:30 UTC] Product ID: 33, Total sold: 0
[11-Oct-2025 15:31:49 UTC] Product ID: 36, Feedback records found: 0
[11-Oct-2025 15:31:49 UTC] Total feedback records in database: 1
[11-Oct-2025 15:31:49 UTC] Product ID: 36, Total sold: 0
[11-Oct-2025 15:31:52 UTC] Product ID: 36, Feedback records found: 0
[11-Oct-2025 15:31:52 UTC] Total feedback records in database: 1
[11-Oct-2025 15:31:52 UTC] Product ID: 36, Total sold: 0
[11-Oct-2025 15:32:02 UTC] Product ID: 38, Feedback records found: 0
[11-Oct-2025 15:32:02 UTC] Total feedback records in database: 1
[11-Oct-2025 15:32:02 UTC] Product ID: 38, Total sold: 0
[11-Oct-2025 15:32:09 UTC] Product ID: 38, Feedback records found: 0
[11-Oct-2025 15:32:09 UTC] Total feedback records in database: 1
[11-Oct-2025 15:32:09 UTC] Product ID: 38, Total sold: 0
[11-Oct-2025 15:32:18 UTC] Product ID: 36, Feedback records found: 0
[11-Oct-2025 15:32:18 UTC] Total feedback records in database: 1
[11-Oct-2025 15:32:18 UTC] Product ID: 36, Total sold: 0
[11-Oct-2025 15:32:24 UTC] Shipping config query for amount 74.5 found: {"id":"1","name":"ezparcel","description":"","fee_type":"Weight_Based","base_fee":"3.67","fee_value":"8.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"2","delivery_days_max":"3","is_active":"1","sort_order":"1","created_at":"2025-09-24 15:18:29","updated_at":"2025-10-05 10:48:14","per_kg_fee":"2.50","min_weight":"0.00","max_weight":"10.00"}
[11-Oct-2025 15:32:24 UTC] Cart page requesting shipping config for order amount: 74.5
[12-Oct-2025 07:10:35 UTC] Product ID: 37, Feedback records found: 0
[12-Oct-2025 07:10:35 UTC] Total feedback records in database: 1
[12-Oct-2025 07:10:35 UTC] Product ID: 37, Total sold: 0
[12-Oct-2025 07:10:41 UTC] Product ID: 36, Feedback records found: 0
[12-Oct-2025 07:10:41 UTC] Total feedback records in database: 1
[12-Oct-2025 07:10:41 UTC] Product ID: 36, Total sold: 0
[12-Oct-2025 07:10:44 UTC] Product ID: 32, Feedback records found: 1
[12-Oct-2025 07:10:44 UTC] Product ID: 32, Total sold: 3
[12-Oct-2025 07:22:10 UTC] Shipping config query for amount 0 found: {"id":"1","name":"ezparcel","description":"","fee_type":"Weight_Based","base_fee":"3.67","fee_value":"8.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"2","delivery_days_max":"3","is_active":"1","sort_order":"1","created_at":"2025-09-24 15:18:29","updated_at":"2025-10-05 10:48:14","per_kg_fee":"2.50","min_weight":"0.00","max_weight":"10.00"}
[12-Oct-2025 07:22:10 UTC] Cart page requesting shipping config for order amount: 0
[12-Oct-2025 07:22:27 UTC] Product ID: 35, Feedback records found: 0
[12-Oct-2025 07:22:27 UTC] Total feedback records in database: 1
[12-Oct-2025 07:22:27 UTC] Product ID: 35, Total sold: 0
[12-Oct-2025 07:23:25 UTC] PHP Warning:  Trying to access array offset on value of type bool in /home2/igoldser/public_html/2dayparfum.com/apps/royalty-rewards.php on line 22
[12-Oct-2025 07:23:25 UTC] PHP Warning:  Trying to access array offset on value of type bool in /home2/igoldser/public_html/2dayparfum.com/apps/royalty-rewards.php on line 23
[12-Oct-2025 07:23:31 UTC] Shipping config query for amount 0 found: {"id":"1","name":"ezparcel","description":"","fee_type":"Weight_Based","base_fee":"3.67","fee_value":"8.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"2","delivery_days_max":"3","is_active":"1","sort_order":"1","created_at":"2025-09-24 15:18:29","updated_at":"2025-10-05 10:48:14","per_kg_fee":"2.50","min_weight":"0.00","max_weight":"10.00"}
[12-Oct-2025 07:23:31 UTC] Cart page requesting shipping config for order amount: 0
[12-Oct-2025 07:23:41 UTC] Product ID: 33, Feedback records found: 0
[12-Oct-2025 07:23:41 UTC] Total feedback records in database: 1
[12-Oct-2025 07:23:41 UTC] Product ID: 33, Total sold: 0
[12-Oct-2025 07:25:02 UTC] Shipping config query for amount 0 found: {"id":"1","name":"ezparcel","description":"","fee_type":"Weight_Based","base_fee":"3.67","fee_value":"8.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"2","delivery_days_max":"3","is_active":"1","sort_order":"1","created_at":"2025-09-24 15:18:29","updated_at":"2025-10-05 10:48:14","per_kg_fee":"2.50","min_weight":"0.00","max_weight":"10.00"}
[12-Oct-2025 07:25:02 UTC] Cart page requesting shipping config for order amount: 0
[12-Oct-2025 07:26:59 UTC] Product ID: 36, Feedback records found: 0
[12-Oct-2025 07:26:59 UTC] Total feedback records in database: 1
[12-Oct-2025 07:26:59 UTC] Product ID: 36, Total sold: 0
[12-Oct-2025 07:27:42 UTC] Product ID: 36, Feedback records found: 0
[12-Oct-2025 07:27:42 UTC] Total feedback records in database: 1
[12-Oct-2025 07:27:42 UTC] Product ID: 36, Total sold: 0
[12-Oct-2025 07:27:51 UTC] Product ID: 36, Feedback records found: 0
[12-Oct-2025 07:27:51 UTC] Total feedback records in database: 1
[12-Oct-2025 07:27:51 UTC] Product ID: 36, Total sold: 0
[12-Oct-2025 07:27:56 UTC] Product ID: 36, Feedback records found: 0
[12-Oct-2025 07:27:56 UTC] Total feedback records in database: 1
[12-Oct-2025 07:27:56 UTC] Product ID: 36, Total sold: 0
[12-Oct-2025 07:27:58 UTC] Product ID: 36, Feedback records found: 0
[12-Oct-2025 07:27:58 UTC] Total feedback records in database: 1
[12-Oct-2025 07:27:58 UTC] Product ID: 36, Total sold: 0
[12-Oct-2025 07:28:08 UTC] Product ID: 36, Feedback records found: 0
[12-Oct-2025 07:28:08 UTC] Total feedback records in database: 1
[12-Oct-2025 07:28:08 UTC] Product ID: 36, Total sold: 0
[12-Oct-2025 07:28:47 UTC] Shipping config query for amount 0 found: {"id":"1","name":"ezparcel","description":"","fee_type":"Weight_Based","base_fee":"3.67","fee_value":"8.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"2","delivery_days_max":"3","is_active":"1","sort_order":"1","created_at":"2025-09-24 15:18:29","updated_at":"2025-10-05 10:48:14","per_kg_fee":"2.50","min_weight":"0.00","max_weight":"10.00"}
[12-Oct-2025 07:28:47 UTC] Cart page requesting shipping config for order amount: 0
[12-Oct-2025 07:30:33 UTC] Product ID: 39, Feedback records found: 0
[12-Oct-2025 07:30:33 UTC] Total feedback records in database: 1
[12-Oct-2025 07:30:33 UTC] Product ID: 39, Total sold: 0
[12-Oct-2025 07:30:37 UTC] Product ID: 36, Feedback records found: 0
[12-Oct-2025 07:30:37 UTC] Total feedback records in database: 1
[12-Oct-2025 07:30:37 UTC] Product ID: 36, Total sold: 0
[12-Oct-2025 07:31:21 UTC] Add to cart: user_id=9, session_id=ahmj5blllo1kn5fqj71kdqa3mb, product_id=39, quantity=1, size=20ml, version=PARFUM / MEDIUM, price=32.3
[12-Oct-2025 07:31:21 UTC] Cart::addItem - user_id: 9, session_id: ahmj5blllo1kn5fqj71kdqa3mb, product_id: 39, size: 20ml, version: PARFUM / MEDIUM, quantity: 1, price: 32.3
[12-Oct-2025 07:31:21 UTC] Cart::getCartItem - Query: SELECT * FROM cart 
                  WHERE product_id = :product_id AND size = :size AND version = :version AND user_id = :user_id
[12-Oct-2025 07:31:21 UTC] Cart::getCartItem - Params: {"product_id":39,"size":"20ml","version":"PARFUM \/ MEDIUM","user_id":"9"}
[12-Oct-2025 07:31:21 UTC] Cart::getCartItem - No existing item found
[12-Oct-2025 07:31:21 UTC] Cart::getSessionCartItem - Query: SELECT * FROM cart 
                  WHERE session_id = :session_id AND product_id = :product_id AND size = :size AND version = :version
[12-Oct-2025 07:31:21 UTC] Cart::getSessionCartItem - Params: {"session_id":"ahmj5blllo1kn5fqj71kdqa3mb","product_id":39,"size":"20ml","version":"PARFUM \/ MEDIUM"}
[12-Oct-2025 07:31:21 UTC] Cart::getSessionCartItem - No session item found
[12-Oct-2025 07:31:21 UTC] Cart::addItem - No existing item found, creating new item
[12-Oct-2025 07:31:21 UTC] Cart::addItem - Successfully created new item with ID: 100
[12-Oct-2025 07:31:21 UTC] Successfully added to cart. Cart count: 1, Cart item ID: 100
[12-Oct-2025 07:31:28 UTC] Shipping config query for amount 32.3 found: {"id":"1","name":"ezparcel","description":"","fee_type":"Weight_Based","base_fee":"3.67","fee_value":"8.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"2","delivery_days_max":"3","is_active":"1","sort_order":"1","created_at":"2025-09-24 15:18:29","updated_at":"2025-10-05 10:48:14","per_kg_fee":"2.50","min_weight":"0.00","max_weight":"10.00"}
[12-Oct-2025 07:31:28 UTC] Cart page requesting shipping config for order amount: 32.3
[12-Oct-2025 07:34:53 UTC] Product ID: 40, Feedback records found: 0
[12-Oct-2025 07:34:53 UTC] Total feedback records in database: 1
[12-Oct-2025 07:34:53 UTC] Product ID: 40, Total sold: 0
[12-Oct-2025 07:34:54 UTC] Product ID: 40, Feedback records found: 0
[12-Oct-2025 07:34:54 UTC] Total feedback records in database: 1
[12-Oct-2025 07:34:54 UTC] Product ID: 40, Total sold: 0
[12-Oct-2025 07:35:00 UTC] Product ID: 40, Feedback records found: 0
[12-Oct-2025 07:35:00 UTC] Total feedback records in database: 1
[12-Oct-2025 07:35:00 UTC] Product ID: 40, Total sold: 0
[12-Oct-2025 07:36:07 UTC] Product ID: 40, Feedback records found: 0
[12-Oct-2025 07:36:07 UTC] Total feedback records in database: 1
[12-Oct-2025 07:36:07 UTC] Product ID: 40, Total sold: 0
[12-Oct-2025 07:36:37 UTC] Product ID: 36, Feedback records found: 0
[12-Oct-2025 07:36:37 UTC] Total feedback records in database: 1
[12-Oct-2025 07:36:37 UTC] Product ID: 36, Total sold: 0
[12-Oct-2025 07:36:44 UTC] Product ID: 40, Feedback records found: 0
[12-Oct-2025 07:36:44 UTC] Total feedback records in database: 1
[12-Oct-2025 07:36:44 UTC] Product ID: 40, Total sold: 0
[12-Oct-2025 07:37:12 UTC] Product ID: 40, Feedback records found: 0
[12-Oct-2025 07:37:12 UTC] Total feedback records in database: 1
[12-Oct-2025 07:37:12 UTC] Product ID: 40, Total sold: 0
[12-Oct-2025 07:37:34 UTC] Product ID: 40, Feedback records found: 0
[12-Oct-2025 07:37:34 UTC] Total feedback records in database: 1
[12-Oct-2025 07:37:34 UTC] Product ID: 40, Total sold: 0
[12-Oct-2025 07:40:56 UTC] Shipping config query for amount 74.5 found: {"id":"1","name":"ezparcel","description":"","fee_type":"Weight_Based","base_fee":"3.67","fee_value":"8.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"2","delivery_days_max":"3","is_active":"1","sort_order":"1","created_at":"2025-09-24 15:18:29","updated_at":"2025-10-05 10:48:14","per_kg_fee":"2.50","min_weight":"0.00","max_weight":"10.00"}
[12-Oct-2025 07:40:56 UTC] Cart page requesting shipping config for order amount: 74.5
[12-Oct-2025 07:41:50 UTC] Product ID: 40, Feedback records found: 0
[12-Oct-2025 07:41:50 UTC] Total feedback records in database: 1
[12-Oct-2025 07:41:50 UTC] Product ID: 40, Total sold: 0
[12-Oct-2025 07:41:54 UTC] Product ID: 40, Feedback records found: 0
[12-Oct-2025 07:41:54 UTC] Total feedback records in database: 1
[12-Oct-2025 07:41:54 UTC] Product ID: 40, Total sold: 0
[12-Oct-2025 07:42:12 UTC] Add to cart: user_id=6, session_id=fe8pfotqk050g645eje6v3c571, product_id=40, quantity=1, size=20ml, version=EDP / LIGHT, price=20
[12-Oct-2025 07:42:12 UTC] Cart::addItem - user_id: 6, session_id: fe8pfotqk050g645eje6v3c571, product_id: 40, size: 20ml, version: EDP / LIGHT, quantity: 1, price: 20
[12-Oct-2025 07:42:12 UTC] Cart::getCartItem - Query: SELECT * FROM cart 
                  WHERE product_id = :product_id AND size = :size AND version = :version AND user_id = :user_id
[12-Oct-2025 07:42:12 UTC] Cart::getCartItem - Params: {"product_id":40,"size":"20ml","version":"EDP \/ LIGHT","user_id":"6"}
[12-Oct-2025 07:42:12 UTC] Cart::getCartItem - No existing item found
[12-Oct-2025 07:42:12 UTC] Cart::getSessionCartItem - Query: SELECT * FROM cart 
                  WHERE session_id = :session_id AND product_id = :product_id AND size = :size AND version = :version
[12-Oct-2025 07:42:12 UTC] Cart::getSessionCartItem - Params: {"session_id":"fe8pfotqk050g645eje6v3c571","product_id":40,"size":"20ml","version":"EDP \/ LIGHT"}
[12-Oct-2025 07:42:12 UTC] Cart::getSessionCartItem - No session item found
[12-Oct-2025 07:42:12 UTC] Cart::addItem - No existing item found, creating new item
[12-Oct-2025 07:42:12 UTC] Cart::addItem - Successfully created new item with ID: 101
[12-Oct-2025 07:42:12 UTC] Successfully added to cart. Cart count: 1, Cart item ID: 101
[12-Oct-2025 07:42:14 UTC] Shipping config query for amount 20 found: {"id":"1","name":"ezparcel","description":"","fee_type":"Weight_Based","base_fee":"3.67","fee_value":"8.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"2","delivery_days_max":"3","is_active":"1","sort_order":"1","created_at":"2025-09-24 15:18:29","updated_at":"2025-10-05 10:48:14","per_kg_fee":"2.50","min_weight":"0.00","max_weight":"10.00"}
[12-Oct-2025 07:42:14 UTC] Cart page requesting shipping config for order amount: 20
[12-Oct-2025 07:42:24 UTC] Product ID: 36, Feedback records found: 0
[12-Oct-2025 07:42:24 UTC] Total feedback records in database: 1
[12-Oct-2025 07:42:24 UTC] Product ID: 36, Total sold: 0
[12-Oct-2025 07:42:36 UTC] Shipping config query for amount 0 found: {"id":"1","name":"ezparcel","description":"","fee_type":"Weight_Based","base_fee":"3.67","fee_value":"8.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"2","delivery_days_max":"3","is_active":"1","sort_order":"1","created_at":"2025-09-24 15:18:29","updated_at":"2025-10-05 10:48:14","per_kg_fee":"2.50","min_weight":"0.00","max_weight":"10.00"}
[12-Oct-2025 07:42:36 UTC] Cart page requesting shipping config for order amount: 0
[12-Oct-2025 07:42:42 UTC] Checkout: Received POST request
[12-Oct-2025 07:42:42 UTC] Checkout: POST data: Array
(
    [discounted_total] => 21.47
    [email] => azfarirfan7767@gmail.com
    [saved_address_id] => 1
    [first_name] => AZFAR
    [last_name] => BIN ASRI
    [address] => Kg Surau Bator
    [apartment] => 
    [city] => Bachok
    [country] => Malaysia
    [state] => Kelantan
    [zip_code] => 16070
    [phone] => +60179853875
    [payment_method] => toyyibpay_fpx
    [payment_method_fallback] => toyyibpay_fpx
    [billing_same] => on
)

[12-Oct-2025 07:42:42 UTC] Checkout: Payment method: toyyibpay_fpx
[12-Oct-2025 07:42:42 UTC] Checkout Debug - Applied Voucher: No
[12-Oct-2025 07:42:42 UTC] Order created successfully: ID 61
[12-Oct-2025 07:42:42 UTC] toyyibPay createBill data: Array
(
    [userSecretKey] => j816hxzw-4da3-5a0p-o18t-42rybaon2xky
    [categoryCode] => 93v503tu
    [billName] => Order #61
    [billDescription] => Payment for Order #61
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 2147
    [billReturnUrl] => https://2dayparfum.com/apps/payment-return.php
    [billCallbackUrl] => https://2dayparfum.com/apps/payment-callback.php
    [billExternalReferenceNo] => 61
    [billTo] => AZFAR BIN ASRI
    [billEmail] => azfarirfan7767@gmail.com
    [billPhone] => +60179853875
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[12-Oct-2025 07:42:42 UTC] toyyibPay makeApiCall - URL: https://dev.toyyibpay.com/index.php/api/createBill
[12-Oct-2025 07:42:42 UTC] toyyibPay makeApiCall - Data: Array
(
    [userSecretKey] => j816hxzw-4da3-5a0p-o18t-42rybaon2xky
    [categoryCode] => 93v503tu
    [billName] => Order #61
    [billDescription] => Payment for Order #61
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 2147
    [billReturnUrl] => https://2dayparfum.com/apps/payment-return.php
    [billCallbackUrl] => https://2dayparfum.com/apps/payment-callback.php
    [billExternalReferenceNo] => 61
    [billTo] => AZFAR BIN ASRI
    [billEmail] => azfarirfan7767@gmail.com
    [billPhone] => +60179853875
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[12-Oct-2025 07:42:42 UTC] toyyibPay makeApiCall - HTTP Code: 200
[12-Oct-2025 07:42:42 UTC] toyyibPay makeApiCall - Raw Response: 						[{"BillCode":"s3tmlgnd"}]
[12-Oct-2025 07:42:42 UTC] toyyibPay makeApiCall - cURL Info: Array
(
    [url] => https://dev.toyyibpay.com/index.php/api/createBill
    [content_type] => text/html; charset=UTF-8
    [http_code] => 200
    [header_size] => 915
    [request_size] => 2604
    [filetime] => -1
    [ssl_verify_result] => 20
    [redirect_count] => 0
    [total_time] => 0.196616
    [namelookup_time] => 0.029826
    [connect_time] => 0.068895
    [pretransfer_time] => 0.107945
    [size_upload] => 2381
    [size_download] => 31
    [speed_download] => 157
    [speed_upload] => 12109
    [download_content_length] => -1
    [upload_content_length] => 2381
    [starttransfer_time] => 0.196526
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 172.67.70.74
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 103.72.163.73
    [local_port] => 36076
    [http_version] => 3
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => https
    [appconnect_time_us] => 107701
    [connect_time_us] => 68895
    [namelookup_time_us] => 29826
    [pretransfer_time_us] => 107945
    [redirect_time_us] => 0
    [starttransfer_time_us] => 196526
    [total_time_us] => 196616
)

[12-Oct-2025 07:42:42 UTC] toyyibPay makeApiCall - Decoded Response: Array
(
    [0] => Array
        (
            [BillCode] => s3tmlgnd
        )

)

[12-Oct-2025 07:42:42 UTC] toyyibPay createBill response: Array
(
    [0] => Array
        (
            [BillCode] => s3tmlgnd
        )

)

[12-Oct-2025 07:42:42 UTC] toyyibPay createBill success: s3tmlgnd
[12-Oct-2025 07:42:56 UTC] Checkout: Received POST request
[12-Oct-2025 07:42:56 UTC] Checkout: POST data: Array
(
    [discounted_total] => 23.67
    [email] => irfanhashim94@gmail.com
    [first_name] => Irfan
    [last_name] => Hashim
    [address] => Lot 408
    [apartment] => 
    [city] => Kota bharu
    [country] => Malaysia
    [state] => Kelantan
    [zip_code] => 160160
    [phone] => 0139032053
    [payment_method] => toyyibpay_fpx
    [payment_method_fallback] => toyyibpay_fpx
    [billing_same] => on
)

[12-Oct-2025 07:42:56 UTC] Checkout: Payment method: toyyibpay_fpx
[12-Oct-2025 07:42:56 UTC] Checkout Debug - Applied Voucher: No
[12-Oct-2025 07:42:56 UTC] Order created successfully: ID 62
[12-Oct-2025 07:42:56 UTC] toyyibPay createBill data: Array
(
    [userSecretKey] => j816hxzw-4da3-5a0p-o18t-42rybaon2xky
    [categoryCode] => 93v503tu
    [billName] => Order #62
    [billDescription] => Payment for Order #62
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 2367
    [billReturnUrl] => https://2dayparfum.com/apps/payment-return.php
    [billCallbackUrl] => https://2dayparfum.com/apps/payment-callback.php
    [billExternalReferenceNo] => 62
    [billTo] => Irfan Hashim
    [billEmail] => irfanhashim94@gmail.com
    [billPhone] => 0139032053
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[12-Oct-2025 07:42:56 UTC] toyyibPay makeApiCall - URL: https://dev.toyyibpay.com/index.php/api/createBill
[12-Oct-2025 07:42:56 UTC] toyyibPay makeApiCall - Data: Array
(
    [userSecretKey] => j816hxzw-4da3-5a0p-o18t-42rybaon2xky
    [categoryCode] => 93v503tu
    [billName] => Order #62
    [billDescription] => Payment for Order #62
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 2367
    [billReturnUrl] => https://2dayparfum.com/apps/payment-return.php
    [billCallbackUrl] => https://2dayparfum.com/apps/payment-callback.php
    [billExternalReferenceNo] => 62
    [billTo] => Irfan Hashim
    [billEmail] => irfanhashim94@gmail.com
    [billPhone] => 0139032053
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[12-Oct-2025 07:42:56 UTC] toyyibPay makeApiCall - HTTP Code: 200
[12-Oct-2025 07:42:56 UTC] toyyibPay makeApiCall - Raw Response: 						[{"BillCode":"amk96sng"}]
[12-Oct-2025 07:42:56 UTC] toyyibPay makeApiCall - cURL Info: Array
(
    [url] => https://dev.toyyibpay.com/index.php/api/createBill
    [content_type] => text/html; charset=UTF-8
    [http_code] => 200
    [header_size] => 928
    [request_size] => 2599
    [filetime] => -1
    [ssl_verify_result] => 20
    [redirect_count] => 0
    [total_time] => 0.116664
    [namelookup_time] => 0.00051
    [connect_time] => 0.010596
    [pretransfer_time] => 0.025657
    [size_upload] => 2376
    [size_download] => 31
    [speed_download] => 265
    [speed_upload] => 20366
    [download_content_length] => -1
    [upload_content_length] => 2376
    [starttransfer_time] => 0.116558
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 172.67.70.74
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 103.72.163.73
    [local_port] => 48530
    [http_version] => 3
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => https
    [appconnect_time_us] => 25318
    [connect_time_us] => 10596
    [namelookup_time_us] => 510
    [pretransfer_time_us] => 25657
    [redirect_time_us] => 0
    [starttransfer_time_us] => 116558
    [total_time_us] => 116664
)

[12-Oct-2025 07:42:56 UTC] toyyibPay makeApiCall - Decoded Response: Array
(
    [0] => Array
        (
            [BillCode] => amk96sng
        )

)

[12-Oct-2025 07:42:56 UTC] toyyibPay createBill response: Array
(
    [0] => Array
        (
            [BillCode] => amk96sng
        )

)

[12-Oct-2025 07:42:56 UTC] toyyibPay createBill success: amk96sng
[12-Oct-2025 07:43:09 UTC] toyyibPay Callback received: Array
(
    [refno] => TP2510121118951714
    [status] => 1
    [reason] => Payment Approved
    [billcode] => s3tmlgnd
    [order_id] => 61
    [amount] => 21.47
    [status_id] => 1
    [msg] => ok
    [transaction_id] => TP2510121118951714
    [fpx_transaction_id] => 2510120327313001
    [hash] => d7cc1b902c91e318790253327747748d
    [transaction_time] => 2025-10-12 03:27:31
)

[12-Oct-2025 07:43:09 UTC] Order updatePaymentInfo: Updated order 61 with fields: status, reference, amount
[12-Oct-2025 07:43:09 UTC] toyyibPay Callback: Order 61 status updated to processing, payment status updated to paid
[12-Oct-2025 07:43:09 UTC] toyyibPay Callback: Payment successful for order 61, amount: 21.47, reference: TP2510121118951714
[12-Oct-2025 07:43:09 UTC] Product::deductVariationStock - Successfully deducted 1 from product_id=40, size=10ml, version=EDP / LIGHT. New stock: 39
[12-Oct-2025 07:43:09 UTC] Stock deduction completed for order 61: 1 successful, 0 failed
[12-Oct-2025 07:43:09 UTC] Loyalty points awarded for order 61: 12 points to user 2
[12-Oct-2025 07:43:09 UTC] Points breakdown: AFNINE 9PM REBEL x1 = 12 points (12 per item)
[12-Oct-2025 07:43:11 UTC] toyyibPay Return: Array
(
    [status_id] => 1
    [billcode] => s3tmlgnd
    [order_id] => 61
    [msg] => ok
    [transaction_id] => TP2510121118951714
)

[12-Oct-2025 07:43:11 UTC] toyyibPay Return - status_id: 1, billcode: s3tmlgnd, order_id: 61
[12-Oct-2025 07:43:11 UTC] toyyibPay Return: Redirecting to order-success.php?id=61&payment_status=1
[12-Oct-2025 07:43:11 UTC] Order Success Debug - Order ID: 61
[12-Oct-2025 07:43:11 UTC] Order Success Debug - Voucher ID: NULL
[12-Oct-2025 07:43:11 UTC] Order Success Debug - Voucher Discount Amount: 0.00
[12-Oct-2025 07:43:11 UTC] Order Success Debug - Voucher Info: Not found
[12-Oct-2025 07:43:11 UTC] Order updatePaymentInfo: Updated order 61 with fields: status
[12-Oct-2025 07:43:11 UTC] Order Success Page: Auto-updated order #61 to processing/paid status
[12-Oct-2025 07:43:11 UTC] Product::deductVariationStock - Successfully deducted 1 from product_id=40, size=10ml, version=EDP / LIGHT. New stock: 38
[12-Oct-2025 07:43:11 UTC] Stock deduction completed for order 61: 1 successful, 0 failed
[12-Oct-2025 07:43:49 UTC] toyyibPay Callback received: Array
(
    [refno] => TP2510120893854094
    [status] => 3
    [reason] => Payment Unsuccessful
    [billcode] => amk96sng
    [order_id] => 62
    [amount] => 23.67
    [status_id] => 3
    [msg] => ok
    [transaction_id] => TP2510120893854094
    [fpx_transaction_id] => 2510120327444023
    [hash] => f710e2fffa46daad2f0452a81b846f8f
    [transaction_time] => 2025-10-12 03:27:44
)

[12-Oct-2025 07:43:49 UTC] Order updatePaymentInfo: Updated order 62 with fields: status, reference, amount
[12-Oct-2025 07:43:49 UTC] toyyibPay Callback: Order 62 status updated to awaiting_payment, payment status updated to failed
[12-Oct-2025 07:43:51 UTC] toyyibPay Return: Array
(
    [status_id] => 3
    [billcode] => amk96sng
    [order_id] => 62
    [msg] => ok
    [transaction_id] => TP2510120893854094
)

[12-Oct-2025 07:43:51 UTC] toyyibPay Return - status_id: 3, billcode: amk96sng, order_id: 62
[12-Oct-2025 07:43:51 UTC] toyyibPay Return: Redirecting to order-success.php?id=62&payment_status=3
[12-Oct-2025 07:43:51 UTC] Order Success Debug - Order ID: 62
[12-Oct-2025 07:43:51 UTC] Order Success Debug - Voucher ID: NULL
[12-Oct-2025 07:43:51 UTC] Order Success Debug - Voucher Discount Amount: 0.00
[12-Oct-2025 07:43:51 UTC] Order Success Debug - Voucher Info: Not found
[12-Oct-2025 07:44:04 UTC] Order Success Debug - Order ID: 62
[12-Oct-2025 07:44:04 UTC] Order Success Debug - Voucher ID: NULL
[12-Oct-2025 07:44:04 UTC] Order Success Debug - Voucher Discount Amount: 0.00
[12-Oct-2025 07:44:04 UTC] Order Success Debug - Voucher Info: Not found
[12-Oct-2025 07:48:47 UTC] Product ID: 36, Feedback records found: 0
[12-Oct-2025 07:48:47 UTC] Total feedback records in database: 3
[12-Oct-2025 07:48:47 UTC] Product ID: 36, Total sold: 0
[12-Oct-2025 07:55:31 UTC] Product ID: 36, Feedback records found: 0
[12-Oct-2025 07:55:31 UTC] Total feedback records in database: 3
[12-Oct-2025 07:55:31 UTC] Product ID: 36, Total sold: 0
[12-Oct-2025 07:55:37 UTC] Product ID: 36, Feedback records found: 0
[12-Oct-2025 07:55:37 UTC] Total feedback records in database: 3
[12-Oct-2025 07:55:37 UTC] Product ID: 36, Total sold: 0
[12-Oct-2025 07:55:58 UTC] Product ID: 40, Feedback records found: 1
[12-Oct-2025 07:55:58 UTC] Product ID: 40, Total sold: 1
[12-Oct-2025 08:18:22 UTC] Shipping config query for amount 0 found: {"id":"1","name":"ezparcel","description":"","fee_type":"Weight_Based","base_fee":"3.67","fee_value":"8.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"2","delivery_days_max":"3","is_active":"1","sort_order":"1","created_at":"2025-09-24 15:18:29","updated_at":"2025-10-05 10:48:14","per_kg_fee":"2.50","min_weight":"0.00","max_weight":"10.00"}
[12-Oct-2025 08:18:22 UTC] Cart page requesting shipping config for order amount: 0
[12-Oct-2025 08:18:26 UTC] Product ID: 36, Feedback records found: 0
[12-Oct-2025 08:18:26 UTC] Total feedback records in database: 3
[12-Oct-2025 08:18:26 UTC] Product ID: 36, Total sold: 0
[12-Oct-2025 08:18:28 UTC] Add to cart: user_id=2, session_id=qh2ahg2v63mih29c5rd214t26k, product_id=36, quantity=1, size=10ml, version=EDP / LIGHT, price=14.9
[12-Oct-2025 08:18:28 UTC] Cart::addItem - user_id: 2, session_id: qh2ahg2v63mih29c5rd214t26k, product_id: 36, size: 10ml, version: EDP / LIGHT, quantity: 1, price: 14.9
[12-Oct-2025 08:18:28 UTC] Cart::getCartItem - Query: SELECT * FROM cart 
                  WHERE product_id = :product_id AND size = :size AND version = :version AND user_id = :user_id
[12-Oct-2025 08:18:28 UTC] Cart::getCartItem - Params: {"product_id":36,"size":"10ml","version":"EDP \/ LIGHT","user_id":"2"}
[12-Oct-2025 08:18:28 UTC] Cart::getCartItem - No existing item found
[12-Oct-2025 08:18:28 UTC] Cart::getSessionCartItem - Query: SELECT * FROM cart 
                  WHERE session_id = :session_id AND product_id = :product_id AND size = :size AND version = :version
[12-Oct-2025 08:18:28 UTC] Cart::getSessionCartItem - Params: {"session_id":"qh2ahg2v63mih29c5rd214t26k","product_id":36,"size":"10ml","version":"EDP \/ LIGHT"}
[12-Oct-2025 08:18:28 UTC] Cart::getSessionCartItem - No session item found
[12-Oct-2025 08:18:28 UTC] Cart::addItem - No existing item found, creating new item
[12-Oct-2025 08:18:28 UTC] Cart::addItem - Successfully created new item with ID: 102
[12-Oct-2025 08:18:28 UTC] Successfully added to cart. Cart count: 1, Cart item ID: 102
[12-Oct-2025 08:18:33 UTC] Shipping config query for amount 14.9 found: {"id":"1","name":"ezparcel","description":"","fee_type":"Weight_Based","base_fee":"3.67","fee_value":"8.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"2","delivery_days_max":"3","is_active":"1","sort_order":"1","created_at":"2025-09-24 15:18:29","updated_at":"2025-10-05 10:48:14","per_kg_fee":"2.50","min_weight":"0.00","max_weight":"10.00"}
[12-Oct-2025 08:18:33 UTC] Cart page requesting shipping config for order amount: 14.9
[12-Oct-2025 21:39:07 UTC] Shipping config query for amount 0 found: {"id":"1","name":"ezparcel","description":"","fee_type":"Weight_Based","base_fee":"3.67","fee_value":"8.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"2","delivery_days_max":"3","is_active":"1","sort_order":"1","created_at":"2025-09-24 15:18:29","updated_at":"2025-10-05 10:48:14","per_kg_fee":"2.50","min_weight":"0.00","max_weight":"10.00"}
[12-Oct-2025 21:39:07 UTC] Cart page requesting shipping config for order amount: 0
[13-Oct-2025 01:13:10 UTC] Shipping config query for amount 14.9 found: {"id":"1","name":"ezparcel","description":"","fee_type":"Weight_Based","base_fee":"3.67","fee_value":"8.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"2","delivery_days_max":"3","is_active":"1","sort_order":"1","created_at":"2025-09-24 15:18:29","updated_at":"2025-10-05 10:48:14","per_kg_fee":"2.50","min_weight":"0.00","max_weight":"10.00"}
[13-Oct-2025 01:13:10 UTC] Cart page requesting shipping config for order amount: 14.9
[13-Oct-2025 01:48:21 UTC] Shipping config query for amount 14.9 found: {"id":"1","name":"ezparcel","description":"","fee_type":"Weight_Based","base_fee":"3.67","fee_value":"8.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"2","delivery_days_max":"3","is_active":"1","sort_order":"1","created_at":"2025-09-24 15:18:29","updated_at":"2025-10-05 10:48:14","per_kg_fee":"2.50","min_weight":"0.00","max_weight":"10.00"}
[13-Oct-2025 01:48:21 UTC] Cart page requesting shipping config for order amount: 14.9
[13-Oct-2025 02:10:47 UTC] Shipping config query for amount 14.9 found: {"id":"1","name":"ezparcel","description":"","fee_type":"Weight_Based","base_fee":"3.67","fee_value":"8.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"2","delivery_days_max":"3","is_active":"1","sort_order":"1","created_at":"2025-09-24 15:18:29","updated_at":"2025-10-05 10:48:14","per_kg_fee":"2.50","min_weight":"0.00","max_weight":"10.00"}
[13-Oct-2025 02:10:47 UTC] Cart page requesting shipping config for order amount: 14.9
[13-Oct-2025 02:11:31 UTC] Checkout: Received POST request
[13-Oct-2025 02:11:31 UTC] Checkout: POST data: Array
(
    [discounted_total] => 18.57
    [email] => azfarirfan7767@gmail.com
    [saved_address_id] => 1
    [first_name] => AZFAR
    [last_name] => BIN ASRI
    [address] => Kg Surau Bator
    [apartment] => 
    [city] => Bachok
    [country] => Malaysia
    [state] => Kelantan
    [zip_code] => 16070
    [phone] => +60179853875
    [payment_method] => toyyibpay_fpx
    [payment_method_fallback] => toyyibpay_fpx
    [notes] => Salam saya nk minyak wangi ni 3 walaupun saya beli 1
    [billing_same] => on
)

[13-Oct-2025 02:11:31 UTC] Checkout: Payment method: toyyibpay_fpx
[13-Oct-2025 02:11:31 UTC] Checkout Debug - Applied Voucher: No
[13-Oct-2025 02:11:31 UTC] Order created successfully: ID 63
[13-Oct-2025 02:11:31 UTC] toyyibPay createBill data: Array
(
    [userSecretKey] => j816hxzw-4da3-5a0p-o18t-42rybaon2xky
    [categoryCode] => 93v503tu
    [billName] => Order #63
    [billDescription] => Payment for Order #63
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 1857
    [billReturnUrl] => https://2dayparfum.com/apps/payment-return.php
    [billCallbackUrl] => https://2dayparfum.com/apps/payment-callback.php
    [billExternalReferenceNo] => 63
    [billTo] => AZFAR BIN ASRI
    [billEmail] => azfarirfan7767@gmail.com
    [billPhone] => +60179853875
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[13-Oct-2025 02:11:31 UTC] toyyibPay makeApiCall - URL: https://dev.toyyibpay.com/index.php/api/createBill
[13-Oct-2025 02:11:31 UTC] toyyibPay makeApiCall - Data: Array
(
    [userSecretKey] => j816hxzw-4da3-5a0p-o18t-42rybaon2xky
    [categoryCode] => 93v503tu
    [billName] => Order #63
    [billDescription] => Payment for Order #63
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 1857
    [billReturnUrl] => https://2dayparfum.com/apps/payment-return.php
    [billCallbackUrl] => https://2dayparfum.com/apps/payment-callback.php
    [billExternalReferenceNo] => 63
    [billTo] => AZFAR BIN ASRI
    [billEmail] => azfarirfan7767@gmail.com
    [billPhone] => +60179853875
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[13-Oct-2025 02:11:31 UTC] toyyibPay makeApiCall - HTTP Code: 200
[13-Oct-2025 02:11:31 UTC] toyyibPay makeApiCall - Raw Response: 						[{"BillCode":"uebf9qyq"}]
[13-Oct-2025 02:11:31 UTC] toyyibPay makeApiCall - cURL Info: Array
(
    [url] => https://dev.toyyibpay.com/index.php/api/createBill
    [content_type] => text/html; charset=UTF-8
    [http_code] => 200
    [header_size] => 921
    [request_size] => 2604
    [filetime] => -1
    [ssl_verify_result] => 20
    [redirect_count] => 0
    [total_time] => 0.176413
    [namelookup_time] => 0.029653
    [connect_time] => 0.038485
    [pretransfer_time] => 0.052035
    [size_upload] => 2381
    [size_download] => 31
    [speed_download] => 175
    [speed_upload] => 13496
    [download_content_length] => -1
    [upload_content_length] => 2381
    [starttransfer_time] => 0.176327
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 104.26.13.38
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 103.72.163.73
    [local_port] => 33248
    [http_version] => 3
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => https
    [appconnect_time_us] => 51791
    [connect_time_us] => 38485
    [namelookup_time_us] => 29653
    [pretransfer_time_us] => 52035
    [redirect_time_us] => 0
    [starttransfer_time_us] => 176327
    [total_time_us] => 176413
)

[13-Oct-2025 02:11:31 UTC] toyyibPay makeApiCall - Decoded Response: Array
(
    [0] => Array
        (
            [BillCode] => uebf9qyq
        )

)

[13-Oct-2025 02:11:31 UTC] toyyibPay createBill response: Array
(
    [0] => Array
        (
            [BillCode] => uebf9qyq
        )

)

[13-Oct-2025 02:11:31 UTC] toyyibPay createBill success: uebf9qyq
[13-Oct-2025 02:11:54 UTC] toyyibPay Callback received: Array
(
    [refno] => TP2510130313551311
    [status] => 1
    [reason] => Payment Approved
    [billcode] => uebf9qyq
    [order_id] => 63
    [amount] => 18.57
    [status_id] => 1
    [msg] => ok
    [transaction_id] => TP2510130313551311
    [fpx_transaction_id] => 2510130956168667
    [hash] => 602377640851ca27b84add1d8de60ce1
    [transaction_time] => 2025-10-13 09:56:16
)

[13-Oct-2025 02:11:54 UTC] Order updatePaymentInfo: Updated order 63 with fields: status, reference, amount
[13-Oct-2025 02:11:54 UTC] toyyibPay Callback: Order 63 status updated to processing, payment status updated to paid
[13-Oct-2025 02:11:54 UTC] toyyibPay Callback: Payment successful for order 63, amount: 18.57, reference: TP2510130313551311
[13-Oct-2025 02:11:54 UTC] Product::deductVariationStock - Successfully deducted 1 from product_id=36, size=10ml, version=EDP / LIGHT. New stock: 31
[13-Oct-2025 02:11:54 UTC] Stock deduction completed for order 63: 1 successful, 0 failed
[13-Oct-2025 02:11:54 UTC] No loyalty points to award for order 63 (no products with point rewards)
[13-Oct-2025 02:11:56 UTC] toyyibPay Return: Array
(
    [status_id] => 1
    [billcode] => uebf9qyq
    [order_id] => 63
    [msg] => ok
    [transaction_id] => TP2510130313551311
)

[13-Oct-2025 02:11:56 UTC] toyyibPay Return - status_id: 1, billcode: uebf9qyq, order_id: 63
[13-Oct-2025 02:11:56 UTC] toyyibPay Return: Redirecting to order-success.php?id=63&payment_status=1
[13-Oct-2025 02:11:56 UTC] Order Success Debug - Order ID: 63
[13-Oct-2025 02:11:56 UTC] Order Success Debug - Voucher ID: NULL
[13-Oct-2025 02:11:56 UTC] Order Success Debug - Voucher Discount Amount: 0.00
[13-Oct-2025 02:11:56 UTC] Order Success Debug - Voucher Info: Not found
[13-Oct-2025 02:11:56 UTC] Order updatePaymentInfo: Updated order 63 with fields: status
[13-Oct-2025 02:11:56 UTC] Order Success Page: Auto-updated order #63 to processing/paid status
[13-Oct-2025 02:11:56 UTC] Product::deductVariationStock - Successfully deducted 1 from product_id=36, size=10ml, version=EDP / LIGHT. New stock: 30
[13-Oct-2025 02:11:56 UTC] Stock deduction completed for order 63: 1 successful, 0 failed
[13-Oct-2025 02:40:58 UTC] Shipping config query for amount 0 found: {"id":"1","name":"ezparcel","description":"","fee_type":"Weight_Based","base_fee":"3.67","fee_value":"8.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"2","delivery_days_max":"3","is_active":"1","sort_order":"1","created_at":"2025-09-24 15:18:29","updated_at":"2025-10-05 10:48:14","per_kg_fee":"2.50","min_weight":"0.00","max_weight":"10.00"}
[13-Oct-2025 02:40:58 UTC] Cart page requesting shipping config for order amount: 0
[13-Oct-2025 02:51:33 UTC] Product ID: 32, Feedback records found: 2
[13-Oct-2025 02:51:33 UTC] Product ID: 32, Total sold: 3
[13-Oct-2025 03:04:38 UTC] Product ID: 36, Feedback records found: 0
[13-Oct-2025 03:04:38 UTC] Total feedback records in database: 3
[13-Oct-2025 03:04:38 UTC] Product ID: 36, Total sold: 0
[13-Oct-2025 03:06:23 UTC] Product ID: 37, Feedback records found: 0
[13-Oct-2025 03:06:23 UTC] Total feedback records in database: 3
[13-Oct-2025 03:06:23 UTC] Product ID: 37, Total sold: 0
[13-Oct-2025 03:06:29 UTC] Product ID: 40, Feedback records found: 1
[13-Oct-2025 03:06:29 UTC] Product ID: 40, Total sold: 1
[13-Oct-2025 03:06:32 UTC] Product ID: 40, Feedback records found: 1
[13-Oct-2025 03:06:32 UTC] Product ID: 40, Total sold: 1
[13-Oct-2025 04:05:32 UTC] Product ID: 36, Feedback records found: 0
[13-Oct-2025 04:05:32 UTC] Total feedback records in database: 3
[13-Oct-2025 04:05:32 UTC] Product ID: 36, Total sold: 0
[13-Oct-2025 04:05:54 UTC] Product ID: 33, Feedback records found: 0
[13-Oct-2025 04:05:54 UTC] Total feedback records in database: 3
[13-Oct-2025 04:05:54 UTC] Product ID: 33, Total sold: 0
[13-Oct-2025 04:05:59 UTC] Product ID: 32, Feedback records found: 2
[13-Oct-2025 04:05:59 UTC] Product ID: 32, Total sold: 3
[13-Oct-2025 04:06:05 UTC] Product ID: 40, Feedback records found: 1
[13-Oct-2025 04:06:05 UTC] Product ID: 40, Total sold: 1
[13-Oct-2025 04:06:15 UTC] Product ID: 40, Feedback records found: 1
[13-Oct-2025 04:06:15 UTC] Product ID: 40, Total sold: 1
[13-Oct-2025 05:57:23 UTC] toyyibPay Callback received: Array
(
    [refno] => TP2510134608510209
    [status] => 1
    [reason] => Payment Approved
    [billcode] => e2qohp9f
    [order_id] => 54
    [amount] => 29.70
    [status_id] => 1
    [msg] => ok
    [transaction_id] => TP2510134608510209
    [fpx_transaction_id] => 2510131128483212
    [hash] => 2cb7ae9f8762b3d9edc1b3bb5c788d49
    [transaction_time] => 2025-10-13 11:28:48
)

[13-Oct-2025 05:57:23 UTC] toyyibPay Callback: Order not found - ID: 54
[13-Oct-2025 05:57:24 UTC] toyyibPay Callback received: Array
(
    [refno] => TP2510130513561834
    [status] => 1
    [reason] => Payment Approved
    [billcode] => iezjwt6r
    [order_id] => 55
    [amount] => 23.00
    [status_id] => 1
    [msg] => ok
    [transaction_id] => TP2510130513561834
    [fpx_transaction_id] => 2510131144533093
    [hash] => 81406a2d3dfd8b61e0d702ca78cde9c9
    [transaction_time] => 2025-10-13 11:44:53
)

[13-Oct-2025 05:57:24 UTC] toyyibPay Callback: Order not found - ID: 55
[13-Oct-2025 05:57:26 UTC] toyyibPay Callback received: Array
(
    [refno] => TP2510131712658107
    [status] => 1
    [reason] => Payment Approved
    [billcode] => teln37gi
    [order_id] => 54
    [amount] => 29.70
    [status_id] => 1
    [msg] => ok
    [transaction_id] => TP2510131712658107
    [fpx_transaction_id] => 2510131126487552
    [hash] => 474306d6228486297081bc1527c238ae
    [transaction_time] => 2025-10-13 11:26:48
)

[13-Oct-2025 05:57:26 UTC] toyyibPay Callback: Order not found - ID: 54
[13-Oct-2025 05:57:27 UTC] toyyibPay Callback received: Array
(
    [refno] => TP2510131493690143
    [status] => 1
    [reason] => Payment Approved
    [billcode] => 0i03wlgp
    [order_id] => 53
    [amount] => 23.35
    [status_id] => 1
    [msg] => ok
    [transaction_id] => TP2510131493690143
    [fpx_transaction_id] => 2510131129353943
    [hash] => a4f2d7cd123f87c4fff914a20dee589f
    [transaction_time] => 2025-10-13 11:29:35
)

[13-Oct-2025 05:57:27 UTC] toyyibPay Callback: Order not found - ID: 53
[13-Oct-2025 06:32:55 UTC] toyyibPay Callback received: Array
(
    [refno] => TP2510130786159373
    [status] => 1
    [reason] => Payment Approved
    [billcode] => 06xo96vm
    [order_id] => 56
    [amount] => 23.00
    [status_id] => 1
    [msg] => ok
    [transaction_id] => TP2510130786159373
    [fpx_transaction_id] => 2510130217177372
    [hash] => b4ce214d7e26b7e0df44d301c4db9890
    [transaction_time] => 2025-10-13 02:17:17
)

[13-Oct-2025 06:32:55 UTC] toyyibPay Callback: Order not found - ID: 56
[13-Oct-2025 06:32:56 UTC] toyyibPay Return: Array
(
    [status_id] => 1
    [billcode] => 06xo96vm
    [order_id] => 56
    [msg] => ok
    [transaction_id] => TP2510130786159373
)

[13-Oct-2025 06:32:56 UTC] toyyibPay Return - status_id: 1, billcode: 06xo96vm, order_id: 56
[13-Oct-2025 06:32:56 UTC] toyyibPay Return: Fallback redirect to order-success.php?payment_status=1
[13-Oct-2025 06:33:37 UTC] Product ID: 36, Feedback records found: 0
[13-Oct-2025 06:33:37 UTC] Total feedback records in database: 3
[13-Oct-2025 06:33:37 UTC] Product ID: 36, Total sold: 0
[13-Oct-2025 06:34:42 UTC] toyyibPay Callback received: Array
(
    [refno] => TP2510133220068921
    [status] => 1
    [reason] => Payment Approved
    [billcode] => dydlodsh
    [order_id] => 57
    [amount] => 66.00
    [status_id] => 1
    [msg] => ok
    [transaction_id] => TP2510133220068921
    [fpx_transaction_id] => 2510130219037302
    [hash] => 176683e1779c579d9880b0aa4d2c0d47
    [transaction_time] => 2025-10-13 02:19:03
)

[13-Oct-2025 06:34:42 UTC] toyyibPay Callback: Order not found - ID: 57
[13-Oct-2025 06:34:44 UTC] toyyibPay Return: Array
(
    [status_id] => 1
    [billcode] => dydlodsh
    [order_id] => 57
    [msg] => ok
    [transaction_id] => TP2510133220068921
)

[13-Oct-2025 06:34:44 UTC] toyyibPay Return - status_id: 1, billcode: dydlodsh, order_id: 57
[13-Oct-2025 06:34:44 UTC] toyyibPay Return: Fallback redirect to order-success.php?payment_status=1
[13-Oct-2025 06:36:10 UTC] toyyibPay Callback received: Array
(
    [refno] => TP2510130313749034
    [status] => 1
    [reason] => Payment Approved
    [billcode] => ah8o7bfe
    [order_id] => 58
    [amount] => 23.10
    [status_id] => 1
    [msg] => ok
    [transaction_id] => TP2510130313749034
    [fpx_transaction_id] => 2510130220308269
    [hash] => bfd2494044ea62d2e089e8d831129ad3
    [transaction_time] => 2025-10-13 02:20:30
)

[13-Oct-2025 06:36:10 UTC] Order updatePaymentInfo: Updated order 58 with fields: status, reference, amount
[13-Oct-2025 06:36:10 UTC] toyyibPay Callback: Order 58 status updated to processing, payment status updated to paid
[13-Oct-2025 06:36:10 UTC] toyyibPay Callback: Payment successful for order 58, amount: 23.10, reference: TP2510130313749034
[13-Oct-2025 06:36:10 UTC] Product::deductVariationStock - Successfully deducted 1 from product_id=32, size=10ml, version=EDP / LIGHT. New stock: 13
[13-Oct-2025 06:36:10 UTC] Stock deduction completed for order 58: 1 successful, 0 failed
[13-Oct-2025 06:36:10 UTC] Loyalty points awarded for order 58: 15 points to user 2
[13-Oct-2025 06:36:10 UTC] Points breakdown: 2DAYS MAN BORN IN ROMA INTENSE FOR MEN x1 = 15 points (15 per item)
[13-Oct-2025 06:36:11 UTC] toyyibPay Return: Array
(
    [status_id] => 1
    [billcode] => ah8o7bfe
    [order_id] => 58
    [msg] => ok
    [transaction_id] => TP2510130313749034
)

[13-Oct-2025 06:36:11 UTC] toyyibPay Return - status_id: 1, billcode: ah8o7bfe, order_id: 58
[13-Oct-2025 06:36:11 UTC] toyyibPay Return: Redirecting to order-success.php?id=58&payment_status=1
[13-Oct-2025 06:36:12 UTC] Order Success Debug - Order ID: 58
[13-Oct-2025 06:36:12 UTC] Order Success Debug - Voucher ID: NULL
[13-Oct-2025 06:36:12 UTC] Order Success Debug - Voucher Discount Amount: 0.00
[13-Oct-2025 06:36:12 UTC] Order Success Debug - Voucher Info: Not found
[13-Oct-2025 06:36:12 UTC] Order updatePaymentInfo: Updated order 58 with fields: status
[13-Oct-2025 06:36:12 UTC] Order Success Page: Auto-updated order #58 to processing/paid status
[13-Oct-2025 06:36:12 UTC] Product::deductVariationStock - Successfully deducted 1 from product_id=32, size=10ml, version=EDP / LIGHT. New stock: 12
[13-Oct-2025 06:36:12 UTC] Stock deduction completed for order 58: 1 successful, 0 failed
[13-Oct-2025 06:40:18 UTC] toyyibPay Callback received: Array
(
    [refno] => TP2510134267934003
    [status] => 1
    [reason] => Payment Approved
    [billcode] => c1lh5gv3
    [order_id] => 59
    [amount] => 23.00
    [status_id] => 1
    [msg] => ok
    [transaction_id] => TP2510134267934003
    [fpx_transaction_id] => 2510130224392854
    [hash] => d8015dcfd5de81ed954600c664a256e1
    [transaction_time] => 2025-10-13 02:24:39
)

[13-Oct-2025 06:40:18 UTC] Order updatePaymentInfo: Updated order 59 with fields: status, reference, amount
[13-Oct-2025 06:40:18 UTC] toyyibPay Callback: Order 59 status updated to processing, payment status updated to paid
[13-Oct-2025 06:40:18 UTC] toyyibPay Callback: Payment successful for order 59, amount: 23.00, reference: TP2510134267934003
[13-Oct-2025 06:40:18 UTC] Product::deductVariationStock - Successfully deducted 1 from product_id=32, size=10ml, version=EDP / LIGHT. New stock: 11
[13-Oct-2025 06:40:18 UTC] Stock deduction completed for order 59: 1 successful, 0 failed
[13-Oct-2025 06:40:18 UTC] Loyalty points awarded for order 59: 15 points to user 2
[13-Oct-2025 06:40:18 UTC] Points breakdown: 2DAYS MAN BORN IN ROMA INTENSE FOR MEN x1 = 15 points (15 per item)
[13-Oct-2025 06:40:20 UTC] toyyibPay Return: Array
(
    [order_id] => 59
    [status_id] => 1
    [billcode] => c1lh5gv3
    [msg] => ok
    [transaction_id] => TP2510134267934003
)

[13-Oct-2025 06:40:20 UTC] toyyibPay Return - status_id: 1, billcode: c1lh5gv3, order_id: 59
[13-Oct-2025 06:40:20 UTC] toyyibPay Return: Redirecting to order-success.php?id=59&payment_status=1
[13-Oct-2025 06:40:20 UTC] Order Success Debug - Order ID: 59
[13-Oct-2025 06:40:20 UTC] Order Success Debug - Voucher ID: NULL
[13-Oct-2025 06:40:20 UTC] Order Success Debug - Voucher Discount Amount: 0.00
[13-Oct-2025 06:40:20 UTC] Order Success Debug - Voucher Info: Not found
[13-Oct-2025 06:40:20 UTC] Order updatePaymentInfo: Updated order 59 with fields: status
[13-Oct-2025 06:40:20 UTC] Order Success Page: Auto-updated order #59 to processing/paid status
[13-Oct-2025 06:40:20 UTC] Product::deductVariationStock - Successfully deducted 1 from product_id=32, size=10ml, version=EDP / LIGHT. New stock: 10
[13-Oct-2025 06:40:20 UTC] Stock deduction completed for order 59: 1 successful, 0 failed
[13-Oct-2025 06:40:41 UTC] Product ID: 32, Feedback records found: 2
[13-Oct-2025 06:40:41 UTC] Product ID: 32, Total sold: 1
[13-Oct-2025 06:42:42 UTC] Order Success Debug - Order ID: 59
[13-Oct-2025 06:42:42 UTC] Order Success Debug - Voucher ID: NULL
[13-Oct-2025 06:42:42 UTC] Order Success Debug - Voucher Discount Amount: 0.00
[13-Oct-2025 06:42:42 UTC] Order Success Debug - Voucher Info: Not found
[13-Oct-2025 06:42:42 UTC] Order updatePaymentInfo: Updated order 59 with fields: status
[13-Oct-2025 06:42:42 UTC] Order Success Page: Auto-updated order #59 to processing/paid status
[13-Oct-2025 06:42:42 UTC] Product::deductVariationStock - Successfully deducted 1 from product_id=32, size=10ml, version=EDP / LIGHT. New stock: 9
[13-Oct-2025 06:42:42 UTC] Stock deduction completed for order 59: 1 successful, 0 failed
[13-Oct-2025 06:42:48 UTC] Order Success Debug - Order ID: 59
[13-Oct-2025 06:42:48 UTC] Order Success Debug - Voucher ID: NULL
[13-Oct-2025 06:42:48 UTC] Order Success Debug - Voucher Discount Amount: 0.00
[13-Oct-2025 06:42:48 UTC] Order Success Debug - Voucher Info: Not found
[13-Oct-2025 06:42:48 UTC] Order updatePaymentInfo: Updated order 59 with fields: status
[13-Oct-2025 06:42:48 UTC] Order Success Page: Auto-updated order #59 to processing/paid status
[13-Oct-2025 06:42:48 UTC] Product::deductVariationStock - Successfully deducted 1 from product_id=32, size=10ml, version=EDP / LIGHT. New stock: 8
[13-Oct-2025 06:42:48 UTC] Stock deduction completed for order 59: 1 successful, 0 failed
[13-Oct-2025 06:53:55 UTC] Product ID: 36, Feedback records found: 0
[13-Oct-2025 06:53:55 UTC] Total feedback records in database: 3
[13-Oct-2025 06:53:55 UTC] Product ID: 36, Total sold: 0
[13-Oct-2025 07:13:21 UTC] toyyibPay Callback received: Array
(
    [refno] => TP2510134913784101
    [status] => 1
    [reason] => Payment Approved
    [billcode] => ga0r1gv0
    [order_id] => 67
    [amount] => 23.00
    [status_id] => 1
    [msg] => ok
    [transaction_id] => TP2510134913784101
    [fpx_transaction_id] => 2510130257402852
    [hash] => 45a7476655a79a984dd38a6ede4f354b
    [transaction_time] => 2025-10-13 02:57:40
)

[13-Oct-2025 07:13:21 UTC] toyyibPay Callback: Order not found - ID: 67
[13-Oct-2025 07:13:24 UTC] toyyibPay Return: Array
(
    [status_id] => 1
    [billcode] => ga0r1gv0
    [order_id] => 67
    [msg] => ok
    [transaction_id] => TP2510134913784101
)

[13-Oct-2025 07:13:24 UTC] toyyibPay Return - status_id: 1, billcode: ga0r1gv0, order_id: 67
[13-Oct-2025 07:13:24 UTC] toyyibPay Return: Fallback redirect to order-success.php?payment_status=1
[13-Oct-2025 07:14:15 UTC] toyyibPay Callback received: Array
(
    [refno] => TP2510134963531792
    [status] => 1
    [reason] => Payment Approved
    [billcode] => y2wjgvxd
    [order_id] => 68
    [amount] => 23.10
    [status_id] => 1
    [msg] => ok
    [transaction_id] => TP2510134963531792
    [fpx_transaction_id] => 2510130258363360
    [hash] => a96c6fe0d095078f3781997e75acc4cf
    [transaction_time] => 2025-10-13 02:58:36
)

[13-Oct-2025 07:14:15 UTC] toyyibPay Callback: Order not found - ID: 68
[13-Oct-2025 07:14:17 UTC] toyyibPay Return: Array
(
    [status_id] => 1
    [billcode] => y2wjgvxd
    [order_id] => 68
    [msg] => ok
    [transaction_id] => TP2510134963531792
)

[13-Oct-2025 07:14:17 UTC] toyyibPay Return - status_id: 1, billcode: y2wjgvxd, order_id: 68
[13-Oct-2025 07:14:17 UTC] toyyibPay Return: Fallback redirect to order-success.php?payment_status=1
[13-Oct-2025 07:14:27 UTC] Product ID: 36, Feedback records found: 0
[13-Oct-2025 07:14:27 UTC] Total feedback records in database: 3
[13-Oct-2025 07:14:27 UTC] Product ID: 36, Total sold: 0
[13-Oct-2025 07:14:38 UTC] Checkout: Received POST request
[13-Oct-2025 07:14:38 UTC] Checkout: POST data: Array
(
    [discounted_total] => 18.57
    [email] => azfarirfan7767@gmail.com
    [saved_address_id] => 1
    [first_name] => AZFAR
    [last_name] => BIN ASRI
    [address] => Kg Surau Bator
    [apartment] => 
    [city] => Bachok
    [country] => Malaysia
    [state] => Kelantan
    [zip_code] => 16070
    [phone] => +60179853875
    [payment_method] => toyyibpay_fpx
    [payment_method_fallback] => toyyibpay_fpx
    [notes] => 
    [billing_same] => on
)

[13-Oct-2025 07:14:38 UTC] Checkout: Payment method: toyyibpay_fpx
[13-Oct-2025 07:14:38 UTC] Checkout Debug - Applied Voucher: No
[13-Oct-2025 07:14:38 UTC] Order created successfully: ID 64
[13-Oct-2025 07:14:38 UTC] toyyibPay createBill data: Array
(
    [userSecretKey] => j816hxzw-4da3-5a0p-o18t-42rybaon2xky
    [categoryCode] => 93v503tu
    [billName] => Order #64
    [billDescription] => Payment for Order #64
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 1857
    [billReturnUrl] => https://2dayparfum.com/apps/payment-return.php
    [billCallbackUrl] => https://2dayparfum.com/apps/payment-callback.php
    [billExternalReferenceNo] => 64
    [billTo] => AZFAR BIN ASRI
    [billEmail] => azfarirfan7767@gmail.com
    [billPhone] => +60179853875
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[13-Oct-2025 07:14:38 UTC] toyyibPay makeApiCall - URL: https://dev.toyyibpay.com/index.php/api/createBill
[13-Oct-2025 07:14:38 UTC] toyyibPay makeApiCall - Data: Array
(
    [userSecretKey] => j816hxzw-4da3-5a0p-o18t-42rybaon2xky
    [categoryCode] => 93v503tu
    [billName] => Order #64
    [billDescription] => Payment for Order #64
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 1857
    [billReturnUrl] => https://2dayparfum.com/apps/payment-return.php
    [billCallbackUrl] => https://2dayparfum.com/apps/payment-callback.php
    [billExternalReferenceNo] => 64
    [billTo] => AZFAR BIN ASRI
    [billEmail] => azfarirfan7767@gmail.com
    [billPhone] => +60179853875
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[13-Oct-2025 07:14:38 UTC] toyyibPay makeApiCall - HTTP Code: 200
[13-Oct-2025 07:14:38 UTC] toyyibPay makeApiCall - Raw Response: 						[{"BillCode":"jzqeycle"}]
[13-Oct-2025 07:14:38 UTC] toyyibPay makeApiCall - cURL Info: Array
(
    [url] => https://dev.toyyibpay.com/index.php/api/createBill
    [content_type] => text/html; charset=UTF-8
    [http_code] => 200
    [header_size] => 917
    [request_size] => 2604
    [filetime] => -1
    [ssl_verify_result] => 20
    [redirect_count] => 0
    [total_time] => 0.165988
    [namelookup_time] => 0.029151
    [connect_time] => 0.038678
    [pretransfer_time] => 0.05271
    [size_upload] => 2381
    [size_download] => 31
    [speed_download] => 186
    [speed_upload] => 14344
    [download_content_length] => -1
    [upload_content_length] => 2381
    [starttransfer_time] => 0.165804
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 104.26.12.38
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 103.72.163.73
    [local_port] => 58506
    [http_version] => 3
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => https
    [appconnect_time_us] => 52413
    [connect_time_us] => 38678
    [namelookup_time_us] => 29151
    [pretransfer_time_us] => 52710
    [redirect_time_us] => 0
    [starttransfer_time_us] => 165804
    [total_time_us] => 165988
)

[13-Oct-2025 07:14:38 UTC] toyyibPay makeApiCall - Decoded Response: Array
(
    [0] => Array
        (
            [BillCode] => jzqeycle
        )

)

[13-Oct-2025 07:14:38 UTC] toyyibPay createBill response: Array
(
    [0] => Array
        (
            [BillCode] => jzqeycle
        )

)

[13-Oct-2025 07:14:38 UTC] toyyibPay createBill success: jzqeycle
[13-Oct-2025 07:14:59 UTC] toyyibPay Callback received: Array
(
    [refno] => TP2510134301203434
    [status] => 1
    [reason] => Payment Approved
    [billcode] => jzqeycle
    [order_id] => 64
    [amount] => 18.57
    [status_id] => 1
    [msg] => ok
    [transaction_id] => TP2510134301203434
    [fpx_transaction_id] => 2510130259194943
    [hash] => 67f3346e278b6e992517321b70a6fa5a
    [transaction_time] => 2025-10-13 02:59:19
)

[13-Oct-2025 07:14:59 UTC] Order updatePaymentInfo: Updated order 64 with fields: status, reference, amount
[13-Oct-2025 07:14:59 UTC] toyyibPay Callback: Order 64 status updated to processing, payment status updated to paid
[13-Oct-2025 07:14:59 UTC] toyyibPay Callback: Payment successful for order 64, amount: 18.57, reference: TP2510134301203434
[13-Oct-2025 07:14:59 UTC] Product::deductVariationStock - Successfully deducted 1 from product_id=36, size=10ml, version=EDP / LIGHT. New stock: 29
[13-Oct-2025 07:14:59 UTC] Stock deduction completed for order 64: 1 successful, 0 failed
[13-Oct-2025 07:14:59 UTC] No loyalty points to award for order 64 (no products with point rewards)
[13-Oct-2025 07:15:04 UTC] toyyibPay Return: Array
(
    [status_id] => 1
    [billcode] => jzqeycle
    [order_id] => 64
    [msg] => ok
    [transaction_id] => TP2510134301203434
)

[13-Oct-2025 07:15:04 UTC] toyyibPay Return - status_id: 1, billcode: jzqeycle, order_id: 64
[13-Oct-2025 07:15:04 UTC] toyyibPay Return: Redirecting to order-success.php?id=64&payment_status=1
[13-Oct-2025 07:15:04 UTC] Order Success Debug - Order ID: 64
[13-Oct-2025 07:15:04 UTC] Order Success Debug - Voucher ID: NULL
[13-Oct-2025 07:15:04 UTC] Order Success Debug - Voucher Discount Amount: 0.00
[13-Oct-2025 07:15:04 UTC] Order Success Debug - Voucher Info: Not found
[13-Oct-2025 07:15:04 UTC] Order updatePaymentInfo: Updated order 64 with fields: status
[13-Oct-2025 07:15:04 UTC] Order Success Page: Auto-updated order #64 to processing/paid status
[13-Oct-2025 07:15:04 UTC] Product::deductVariationStock - Successfully deducted 1 from product_id=36, size=10ml, version=EDP / LIGHT. New stock: 28
[13-Oct-2025 07:15:04 UTC] Stock deduction completed for order 64: 1 successful, 0 failed
[13-Oct-2025 07:25:03 UTC] toyyibPay Callback received: Array
(
    [refno] => TP2510131512984791
    [status] => 1
    [reason] => Payment Approved
    [billcode] => esuhs4wk
    [order_id] => 69
    [amount] => 33.00
    [status_id] => 1
    [msg] => ok
    [transaction_id] => TP2510131512984791
    [fpx_transaction_id] => 2510130309219506
    [hash] => 38a8ccedf05cf1d47409cf5b21dae283
    [transaction_time] => 2025-10-13 03:09:21
)

[13-Oct-2025 07:25:03 UTC] toyyibPay Callback: Order not found - ID: 69
[13-Oct-2025 07:25:07 UTC] toyyibPay Return: Array
(
    [status_id] => 1
    [billcode] => esuhs4wk
    [order_id] => 69
    [msg] => ok
    [transaction_id] => TP2510131512984791
)

[13-Oct-2025 07:25:07 UTC] toyyibPay Return - status_id: 1, billcode: esuhs4wk, order_id: 69
[13-Oct-2025 07:25:07 UTC] toyyibPay Return: Fallback redirect to order-success.php?payment_status=1
[13-Oct-2025 07:33:00 UTC] Order Success Debug - Order ID: 64
[13-Oct-2025 07:33:00 UTC] Order Success Debug - Voucher ID: NULL
[13-Oct-2025 07:33:00 UTC] Order Success Debug - Voucher Discount Amount: 0.00
[13-Oct-2025 07:33:00 UTC] Order Success Debug - Voucher Info: Not found
[13-Oct-2025 07:33:00 UTC] Order updatePaymentInfo: Updated order 64 with fields: status
[13-Oct-2025 07:33:00 UTC] Order Success Page: Auto-updated order #64 to processing/paid status
[13-Oct-2025 07:33:00 UTC] Product::deductVariationStock - Successfully deducted 1 from product_id=36, size=10ml, version=EDP / LIGHT. New stock: 27
[13-Oct-2025 07:33:00 UTC] Stock deduction completed for order 64: 1 successful, 0 failed
[13-Oct-2025 07:33:01 UTC] Product ID: 36, Feedback records found: 0
[13-Oct-2025 07:33:01 UTC] Total feedback records in database: 3
[13-Oct-2025 07:33:01 UTC] Product ID: 36, Total sold: 0
[13-Oct-2025 07:33:42 UTC] toyyibPay Callback received: Array
(
    [refno] => TP2510130889934446
    [status] => 1
    [reason] => Payment Approved
    [billcode] => txhliktt
    [order_id] => 70
    [amount] => 23.00
    [status_id] => 1
    [msg] => ok
    [transaction_id] => TP2510130889934446
    [fpx_transaction_id] => 2510130318043845
    [hash] => d448e5fddc0266d5a1634b4435956ad6
    [transaction_time] => 2025-10-13 03:18:04
)

[13-Oct-2025 07:33:42 UTC] toyyibPay Callback: Order not found - ID: 70
[13-Oct-2025 07:33:44 UTC] toyyibPay Return: Array
(
    [status_id] => 1
    [billcode] => txhliktt
    [order_id] => 70
    [msg] => ok
    [transaction_id] => TP2510130889934446
)

[13-Oct-2025 07:33:44 UTC] toyyibPay Return - status_id: 1, billcode: txhliktt, order_id: 70
[13-Oct-2025 07:33:44 UTC] toyyibPay Return: Fallback redirect to order-success.php?payment_status=1
[13-Oct-2025 07:38:23 UTC] Product ID: 36, Feedback records found: 0
[13-Oct-2025 07:38:23 UTC] Total feedback records in database: 3
[13-Oct-2025 07:38:23 UTC] Product ID: 36, Total sold: 0
[13-Oct-2025 07:46:32 UTC] Checkout Debug - Found 4 shipping options
[13-Oct-2025 07:46:32 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[13-Oct-2025 07:46:32 UTC] Shipping Option: jnt (ID: 12, Type: weight_based, Active: 1)
[13-Oct-2025 07:46:32 UTC] Shipping Option: free (ID: 9, Type: free_shipping_threshold, Active: 1)
[13-Oct-2025 07:46:32 UTC] Shipping Option: ezparcel (ID: 1, Type: weight_based, Active: 1)
[13-Oct-2025 07:46:32 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 14.9)
[13-Oct-2025 07:46:32 UTC] Shipping option 'jnt' availability: YES (subtotal: 14.9)
[13-Oct-2025 07:46:32 UTC] Shipping option 'free' filtered out: subtotal (14.9) < min_order_amount (100.00)
[13-Oct-2025 07:46:32 UTC] Shipping option 'free' availability: NO (subtotal: 14.9)
[13-Oct-2025 07:46:32 UTC] Shipping option 'ezparcel' availability: YES (subtotal: 14.9)
[13-Oct-2025 07:46:48 UTC] Checkout Debug - Found 4 shipping options
[13-Oct-2025 07:46:48 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[13-Oct-2025 07:46:48 UTC] Shipping Option: jnt (ID: 12, Type: weight_based, Active: 1)
[13-Oct-2025 07:46:48 UTC] Shipping Option: free (ID: 9, Type: free_shipping_threshold, Active: 1)
[13-Oct-2025 07:46:48 UTC] Shipping Option: ezparcel (ID: 1, Type: weight_based, Active: 1)
[13-Oct-2025 07:46:48 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 39)
[13-Oct-2025 07:46:48 UTC] Shipping option 'jnt' availability: YES (subtotal: 39)
[13-Oct-2025 07:46:48 UTC] Shipping option 'free' filtered out: subtotal (39) < min_order_amount (100.00)
[13-Oct-2025 07:46:48 UTC] Shipping option 'free' availability: NO (subtotal: 39)
[13-Oct-2025 07:46:48 UTC] Shipping option 'ezparcel' availability: YES (subtotal: 39)
[13-Oct-2025 07:48:41 UTC] Checkout: Received POST request
[13-Oct-2025 07:48:41 UTC] Checkout: POST data: Array
(
    [discounted_total] => 39.00
    [email] => azfarirfan7767@gmail.com
    [saved_address_id] => 1
    [first_name] => AZFAR
    [last_name] => BIN ASRI
    [address] => Kg Surau Bator
    [apartment] => 
    [city] => Bachok
    [country] => Malaysia
    [state] => Kelantan
    [zip_code] => 16070
    [phone] => +60179853875
    [shipping_method_id] => 11
    [payment_method] => toyyibpay_fpx
    [payment_method_fallback] => toyyibpay_fpx
    [notes] => 
    [billing_same] => on
)

[13-Oct-2025 07:48:41 UTC] Checkout: Payment method: toyyibpay_fpx
[13-Oct-2025 07:48:41 UTC] Checkout Debug - Applied Voucher: No
[13-Oct-2025 07:48:41 UTC] Order created successfully: ID 65
[13-Oct-2025 07:48:41 UTC] toyyibPay createBill data: Array
(
    [userSecretKey] => j816hxzw-4da3-5a0p-o18t-42rybaon2xky
    [categoryCode] => 93v503tu
    [billName] => Order #65
    [billDescription] => Payment for Order #65
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 3900
    [billReturnUrl] => https://2dayparfum.com/apps/payment-return.php
    [billCallbackUrl] => https://2dayparfum.com/apps/payment-callback.php
    [billExternalReferenceNo] => 65
    [billTo] => AZFAR BIN ASRI
    [billEmail] => azfarirfan7767@gmail.com
    [billPhone] => +60179853875
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[13-Oct-2025 07:48:41 UTC] toyyibPay makeApiCall - URL: https://dev.toyyibpay.com/index.php/api/createBill
[13-Oct-2025 07:48:41 UTC] toyyibPay makeApiCall - Data: Array
(
    [userSecretKey] => j816hxzw-4da3-5a0p-o18t-42rybaon2xky
    [categoryCode] => 93v503tu
    [billName] => Order #65
    [billDescription] => Payment for Order #65
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 3900
    [billReturnUrl] => https://2dayparfum.com/apps/payment-return.php
    [billCallbackUrl] => https://2dayparfum.com/apps/payment-callback.php
    [billExternalReferenceNo] => 65
    [billTo] => AZFAR BIN ASRI
    [billEmail] => azfarirfan7767@gmail.com
    [billPhone] => +60179853875
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[13-Oct-2025 07:48:41 UTC] toyyibPay makeApiCall - HTTP Code: 200
[13-Oct-2025 07:48:41 UTC] toyyibPay makeApiCall - Raw Response: 						[{"BillCode":"1qzxh5lx"}]
[13-Oct-2025 07:48:41 UTC] toyyibPay makeApiCall - cURL Info: Array
(
    [url] => https://dev.toyyibpay.com/index.php/api/createBill
    [content_type] => text/html; charset=UTF-8
    [http_code] => 200
    [header_size] => 920
    [request_size] => 2604
    [filetime] => -1
    [ssl_verify_result] => 20
    [redirect_count] => 0
    [total_time] => 0.148621
    [namelookup_time] => 0.028909
    [connect_time] => 0.039823
    [pretransfer_time] => 0.055306
    [size_upload] => 2381
    [size_download] => 31
    [speed_download] => 208
    [speed_upload] => 16020
    [download_content_length] => -1
    [upload_content_length] => 2381
    [starttransfer_time] => 0.148424
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 104.26.13.38
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 103.72.163.73
    [local_port] => 46440
    [http_version] => 3
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => https
    [appconnect_time_us] => 54837
    [connect_time_us] => 39823
    [namelookup_time_us] => 28909
    [pretransfer_time_us] => 55306
    [redirect_time_us] => 0
    [starttransfer_time_us] => 148424
    [total_time_us] => 148621
)

[13-Oct-2025 07:48:41 UTC] toyyibPay makeApiCall - Decoded Response: Array
(
    [0] => Array
        (
            [BillCode] => 1qzxh5lx
        )

)

[13-Oct-2025 07:48:41 UTC] toyyibPay createBill response: Array
(
    [0] => Array
        (
            [BillCode] => 1qzxh5lx
        )

)

[13-Oct-2025 07:48:41 UTC] toyyibPay createBill success: 1qzxh5lx
[13-Oct-2025 07:48:42 UTC] Checkout Debug - Found 4 shipping options
[13-Oct-2025 07:48:42 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[13-Oct-2025 07:48:42 UTC] Shipping Option: jnt (ID: 12, Type: weight_based, Active: 1)
[13-Oct-2025 07:48:42 UTC] Shipping Option: free (ID: 9, Type: free_shipping_threshold, Active: 1)
[13-Oct-2025 07:48:42 UTC] Shipping Option: ezparcel (ID: 1, Type: weight_based, Active: 1)
[13-Oct-2025 07:48:42 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 39)
[13-Oct-2025 07:48:42 UTC] Shipping option 'jnt' availability: YES (subtotal: 39)
[13-Oct-2025 07:48:42 UTC] Shipping option 'free' filtered out: subtotal (39) < min_order_amount (100.00)
[13-Oct-2025 07:48:42 UTC] Shipping option 'free' availability: NO (subtotal: 39)
[13-Oct-2025 07:48:42 UTC] Shipping option 'ezparcel' availability: YES (subtotal: 39)
[13-Oct-2025 07:48:52 UTC] Checkout: Received POST request
[13-Oct-2025 07:48:52 UTC] Checkout: POST data: Array
(
    [discounted_total] => 39.00
    [email] => azfarirfan7767@gmail.com
    [saved_address_id] => 1
    [first_name] => AZFAR
    [last_name] => BIN ASRI
    [address] => Kg Surau Bator
    [apartment] => 
    [city] => Bachok
    [country] => Malaysia
    [state] => Kelantan
    [zip_code] => 16070
    [phone] => +60179853875
    [shipping_method_id] => 11
    [payment_method] => toyyibpay_fpx
    [payment_method_fallback] => toyyibpay_fpx
    [notes] => 
    [billing_same] => on
)

[13-Oct-2025 07:48:52 UTC] Checkout: Payment method: toyyibpay_fpx
[13-Oct-2025 07:48:52 UTC] Checkout Debug - Applied Voucher: No
[13-Oct-2025 07:48:52 UTC] Order created successfully: ID 66
[13-Oct-2025 07:48:52 UTC] toyyibPay createBill data: Array
(
    [userSecretKey] => j816hxzw-4da3-5a0p-o18t-42rybaon2xky
    [categoryCode] => 93v503tu
    [billName] => Order #66
    [billDescription] => Payment for Order #66
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 3900
    [billReturnUrl] => https://2dayparfum.com/apps/payment-return.php
    [billCallbackUrl] => https://2dayparfum.com/apps/payment-callback.php
    [billExternalReferenceNo] => 66
    [billTo] => AZFAR BIN ASRI
    [billEmail] => azfarirfan7767@gmail.com
    [billPhone] => +60179853875
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[13-Oct-2025 07:48:52 UTC] toyyibPay makeApiCall - URL: https://dev.toyyibpay.com/index.php/api/createBill
[13-Oct-2025 07:48:52 UTC] toyyibPay makeApiCall - Data: Array
(
    [userSecretKey] => j816hxzw-4da3-5a0p-o18t-42rybaon2xky
    [categoryCode] => 93v503tu
    [billName] => Order #66
    [billDescription] => Payment for Order #66
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 3900
    [billReturnUrl] => https://2dayparfum.com/apps/payment-return.php
    [billCallbackUrl] => https://2dayparfum.com/apps/payment-callback.php
    [billExternalReferenceNo] => 66
    [billTo] => AZFAR BIN ASRI
    [billEmail] => azfarirfan7767@gmail.com
    [billPhone] => +60179853875
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[13-Oct-2025 07:48:52 UTC] toyyibPay makeApiCall - HTTP Code: 200
[13-Oct-2025 07:48:52 UTC] toyyibPay makeApiCall - Raw Response: 						[{"BillCode":"krv7kv2c"}]
[13-Oct-2025 07:48:52 UTC] toyyibPay makeApiCall - cURL Info: Array
(
    [url] => https://dev.toyyibpay.com/index.php/api/createBill
    [content_type] => text/html; charset=UTF-8
    [http_code] => 200
    [header_size] => 919
    [request_size] => 2604
    [filetime] => -1
    [ssl_verify_result] => 20
    [redirect_count] => 0
    [total_time] => 0.132414
    [namelookup_time] => 0.000819
    [connect_time] => 0.012999
    [pretransfer_time] => 0.034118
    [size_upload] => 2381
    [size_download] => 31
    [speed_download] => 234
    [speed_upload] => 17981
    [download_content_length] => -1
    [upload_content_length] => 2381
    [starttransfer_time] => 0.132132
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 104.26.13.38
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 103.72.163.73
    [local_port] => 40496
    [http_version] => 3
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => https
    [appconnect_time_us] => 33653
    [connect_time_us] => 12999
    [namelookup_time_us] => 819
    [pretransfer_time_us] => 34118
    [redirect_time_us] => 0
    [starttransfer_time_us] => 132132
    [total_time_us] => 132414
)

[13-Oct-2025 07:48:52 UTC] toyyibPay makeApiCall - Decoded Response: Array
(
    [0] => Array
        (
            [BillCode] => krv7kv2c
        )

)

[13-Oct-2025 07:48:52 UTC] toyyibPay createBill response: Array
(
    [0] => Array
        (
            [BillCode] => krv7kv2c
        )

)

[13-Oct-2025 07:48:52 UTC] toyyibPay createBill success: krv7kv2c
[13-Oct-2025 07:49:16 UTC] toyyibPay Callback received: Array
(
    [refno] => TP2510132838896300
    [status] => 1
    [reason] => Payment Approved
    [billcode] => krv7kv2c
    [order_id] => 66
    [amount] => 39.00
    [status_id] => 1
    [msg] => ok
    [transaction_id] => TP2510132838896300
    [fpx_transaction_id] => 2510130333373784
    [hash] => 3c61f30030feaadd40e7737eb5db3a9a
    [transaction_time] => 2025-10-13 03:33:37
)

[13-Oct-2025 07:49:16 UTC] Order updatePaymentInfo: Updated order 66 with fields: status, reference, amount
[13-Oct-2025 07:49:16 UTC] toyyibPay Callback: Order 66 status updated to processing, payment status updated to paid
[13-Oct-2025 07:49:16 UTC] toyyibPay Callback: Payment successful for order 66, amount: 39.00, reference: TP2510132838896300
[13-Oct-2025 07:49:16 UTC] Product::deductVariationStock - Successfully deducted 1 from product_id=36, size=40ml, version=EDP / LIGHT. New stock: 32
[13-Oct-2025 07:49:16 UTC] Stock deduction completed for order 66: 1 successful, 0 failed
[13-Oct-2025 07:49:16 UTC] No loyalty points to award for order 66 (no products with point rewards)
[13-Oct-2025 07:49:17 UTC] toyyibPay Return: Array
(
    [status_id] => 1
    [billcode] => krv7kv2c
    [order_id] => 66
    [msg] => ok
    [transaction_id] => TP2510132838896300
)

[13-Oct-2025 07:49:17 UTC] toyyibPay Return - status_id: 1, billcode: krv7kv2c, order_id: 66
[13-Oct-2025 07:49:17 UTC] toyyibPay Return: Redirecting to order-success.php?id=66&payment_status=1
[13-Oct-2025 07:49:18 UTC] Order Success Debug - Order ID: 66
[13-Oct-2025 07:49:18 UTC] Order Success Debug - Voucher ID: NULL
[13-Oct-2025 07:49:18 UTC] Order Success Debug - Voucher Discount Amount: 0.00
[13-Oct-2025 07:49:18 UTC] Order Success Debug - Voucher Info: Not found
[13-Oct-2025 07:49:18 UTC] Order updatePaymentInfo: Updated order 66 with fields: status
[13-Oct-2025 07:49:18 UTC] Order Success Page: Auto-updated order #66 to processing/paid status
[13-Oct-2025 07:49:18 UTC] Product::deductVariationStock - Successfully deducted 1 from product_id=36, size=40ml, version=EDP / LIGHT. New stock: 31
[13-Oct-2025 07:49:18 UTC] Stock deduction completed for order 66: 1 successful, 0 failed
[13-Oct-2025 07:50:14 UTC] Product ID: 36, Feedback records found: 0
[13-Oct-2025 07:50:14 UTC] Total feedback records in database: 3
[13-Oct-2025 07:50:14 UTC] Product ID: 36, Total sold: 0
[13-Oct-2025 07:53:51 UTC] Product ID: 36, Feedback records found: 0
[13-Oct-2025 07:53:51 UTC] Total feedback records in database: 3
[13-Oct-2025 07:53:51 UTC] Product ID: 36, Total sold: 0
[13-Oct-2025 07:53:53 UTC] Checkout Debug - Found 4 shipping options
[13-Oct-2025 07:53:53 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[13-Oct-2025 07:53:53 UTC] Shipping Option: jnt (ID: 12, Type: weight_based, Active: 1)
[13-Oct-2025 07:53:53 UTC] Shipping Option: free (ID: 9, Type: free_shipping_threshold, Active: 1)
[13-Oct-2025 07:53:53 UTC] Shipping Option: ezparcel (ID: 1, Type: weight_based, Active: 1)
[13-Oct-2025 07:53:53 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 14.9)
[13-Oct-2025 07:53:53 UTC] Shipping option 'jnt' availability: YES (subtotal: 14.9)
[13-Oct-2025 07:53:53 UTC] Shipping option 'free' filtered out: subtotal (14.9) < min_order_amount (100.00)
[13-Oct-2025 07:53:53 UTC] Shipping option 'free' availability: NO (subtotal: 14.9)
[13-Oct-2025 07:53:53 UTC] Shipping option 'ezparcel' availability: YES (subtotal: 14.9)
[13-Oct-2025 07:53:58 UTC] Product ID: 32, Feedback records found: 2
[13-Oct-2025 07:53:58 UTC] Product ID: 32, Total sold: 1
[13-Oct-2025 07:54:01 UTC] Checkout Debug - Found 4 shipping options
[13-Oct-2025 07:54:01 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[13-Oct-2025 07:54:01 UTC] Shipping Option: jnt (ID: 12, Type: weight_based, Active: 1)
[13-Oct-2025 07:54:01 UTC] Shipping Option: free (ID: 9, Type: free_shipping_threshold, Active: 1)
[13-Oct-2025 07:54:01 UTC] Shipping Option: ezparcel (ID: 1, Type: weight_based, Active: 1)
[13-Oct-2025 07:54:01 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 17)
[13-Oct-2025 07:54:01 UTC] Shipping option 'jnt' availability: YES (subtotal: 17)
[13-Oct-2025 07:54:01 UTC] Shipping option 'free' filtered out: subtotal (17) < min_order_amount (100.00)
[13-Oct-2025 07:54:01 UTC] Shipping option 'free' availability: NO (subtotal: 17)
[13-Oct-2025 07:54:01 UTC] Shipping option 'ezparcel' availability: YES (subtotal: 17)
[13-Oct-2025 07:54:48 UTC] Checkout: Received POST request
[13-Oct-2025 07:54:48 UTC] Checkout: POST data: Array
(
    [discounted_total] => 17.00
    [email] => azfarirfan7767@gmail.com
    [saved_address_id] => 1
    [first_name] => AZFAR
    [last_name] => BIN ASRI
    [address] => Kg Surau Bator
    [apartment] => 
    [city] => Bachok
    [country] => Malaysia
    [state] => Kelantan
    [zip_code] => 16070
    [phone] => +60179853875
    [shipping_method_id] => 12
    [payment_method] => toyyibpay_fpx
    [payment_method_fallback] => toyyibpay_fpx
    [notes] => 
    [billing_same] => on
)

[13-Oct-2025 07:54:48 UTC] Checkout: Payment method: toyyibpay_fpx
[13-Oct-2025 07:54:48 UTC] Checkout Debug - Applied Voucher: Yes
[13-Oct-2025 07:54:48 UTC] Checkout Debug - Voucher ID: 5
[13-Oct-2025 07:54:48 UTC] Checkout Debug - Discount Amount: 1.7
[13-Oct-2025 07:54:48 UTC] Checkout Debug - Discount Type: percentage
[13-Oct-2025 07:54:48 UTC] Checkout Debug - Discount Value: 10
[13-Oct-2025 07:54:48 UTC] Order created successfully: ID 67
[13-Oct-2025 07:54:48 UTC] toyyibPay createBill data: Array
(
    [userSecretKey] => j816hxzw-4da3-5a0p-o18t-42rybaon2xky
    [categoryCode] => 93v503tu
    [billName] => Order #67
    [billDescription] => Payment for Order #67
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 1700
    [billReturnUrl] => https://2dayparfum.com/apps/payment-return.php
    [billCallbackUrl] => https://2dayparfum.com/apps/payment-callback.php
    [billExternalReferenceNo] => 67
    [billTo] => AZFAR BIN ASRI
    [billEmail] => azfarirfan7767@gmail.com
    [billPhone] => +60179853875
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[13-Oct-2025 07:54:48 UTC] toyyibPay makeApiCall - URL: https://dev.toyyibpay.com/index.php/api/createBill
[13-Oct-2025 07:54:48 UTC] toyyibPay makeApiCall - Data: Array
(
    [userSecretKey] => j816hxzw-4da3-5a0p-o18t-42rybaon2xky
    [categoryCode] => 93v503tu
    [billName] => Order #67
    [billDescription] => Payment for Order #67
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 1700
    [billReturnUrl] => https://2dayparfum.com/apps/payment-return.php
    [billCallbackUrl] => https://2dayparfum.com/apps/payment-callback.php
    [billExternalReferenceNo] => 67
    [billTo] => AZFAR BIN ASRI
    [billEmail] => azfarirfan7767@gmail.com
    [billPhone] => +60179853875
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[13-Oct-2025 07:54:48 UTC] toyyibPay makeApiCall - HTTP Code: 200
[13-Oct-2025 07:54:48 UTC] toyyibPay makeApiCall - Raw Response: 						[{"BillCode":"162rxr4z"}]
[13-Oct-2025 07:54:48 UTC] toyyibPay makeApiCall - cURL Info: Array
(
    [url] => https://dev.toyyibpay.com/index.php/api/createBill
    [content_type] => text/html; charset=UTF-8
    [http_code] => 200
    [header_size] => 919
    [request_size] => 2604
    [filetime] => -1
    [ssl_verify_result] => 20
    [redirect_count] => 0
    [total_time] => 0.124771
    [namelookup_time] => 0.000471
    [connect_time] => 0.009545
    [pretransfer_time] => 0.026021
    [size_upload] => 2381
    [size_download] => 31
    [speed_download] => 248
    [speed_upload] => 19082
    [download_content_length] => -1
    [upload_content_length] => 2381
    [starttransfer_time] => 0.124594
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 172.67.70.74
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 103.72.163.73
    [local_port] => 55214
    [http_version] => 3
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => https
    [appconnect_time_us] => 25495
    [connect_time_us] => 9545
    [namelookup_time_us] => 471
    [pretransfer_time_us] => 26021
    [redirect_time_us] => 0
    [starttransfer_time_us] => 124594
    [total_time_us] => 124771
)

[13-Oct-2025 07:54:48 UTC] toyyibPay makeApiCall - Decoded Response: Array
(
    [0] => Array
        (
            [BillCode] => 162rxr4z
        )

)

[13-Oct-2025 07:54:48 UTC] toyyibPay createBill response: Array
(
    [0] => Array
        (
            [BillCode] => 162rxr4z
        )

)

[13-Oct-2025 07:54:48 UTC] toyyibPay createBill success: 162rxr4z
[13-Oct-2025 07:55:11 UTC] toyyibPay Callback received: Array
(
    [refno] => TP2510134503589614
    [status] => 1
    [reason] => Payment Approved
    [billcode] => 162rxr4z
    [order_id] => 67
    [amount] => 17.00
    [status_id] => 1
    [msg] => ok
    [transaction_id] => TP2510134503589614
    [fpx_transaction_id] => 2510130339271728
    [hash] => 99ae90da13259411a83e6cf67321b0b9
    [transaction_time] => 2025-10-13 03:39:27
)

[13-Oct-2025 07:55:11 UTC] Order updatePaymentInfo: Updated order 67 with fields: status, reference, amount
[13-Oct-2025 07:55:11 UTC] toyyibPay Callback: Order 67 status updated to processing, payment status updated to paid
[13-Oct-2025 07:55:11 UTC] toyyibPay Callback: Payment successful for order 67, amount: 17.00, reference: TP2510134503589614
[13-Oct-2025 07:55:11 UTC] Product::deductVariationStock - Successfully deducted 1 from product_id=32, size=20ml, version=EDP / LIGHT. New stock: 19
[13-Oct-2025 07:55:11 UTC] Stock deduction completed for order 67: 1 successful, 0 failed
[13-Oct-2025 07:55:11 UTC] Loyalty points awarded for order 67: 15 points to user 2
[13-Oct-2025 07:55:11 UTC] Points breakdown: 2DAYS MAN BORN IN ROMA INTENSE FOR MEN x1 = 15 points (15 per item)
[13-Oct-2025 07:55:12 UTC] toyyibPay Return: Array
(
    [status_id] => 1
    [billcode] => 162rxr4z
    [order_id] => 67
    [msg] => ok
    [transaction_id] => TP2510134503589614
)

[13-Oct-2025 07:55:12 UTC] toyyibPay Return - status_id: 1, billcode: 162rxr4z, order_id: 67
[13-Oct-2025 07:55:12 UTC] toyyibPay Return: Redirecting to order-success.php?id=67&payment_status=1
[13-Oct-2025 07:55:12 UTC] Order Success Debug - Order ID: 67
[13-Oct-2025 07:55:12 UTC] Order Success Debug - Voucher ID: 5
[13-Oct-2025 07:55:12 UTC] Order Success Debug - Voucher Discount Amount: 1.70
[13-Oct-2025 07:55:12 UTC] Order Success Debug - Voucher Info: Found
[13-Oct-2025 07:55:12 UTC] Order updatePaymentInfo: Updated order 67 with fields: status
[13-Oct-2025 07:55:12 UTC] Order Success Page: Auto-updated order #67 to processing/paid status
[13-Oct-2025 07:55:12 UTC] Product::deductVariationStock - Successfully deducted 1 from product_id=32, size=20ml, version=EDP / LIGHT. New stock: 18
[13-Oct-2025 07:55:12 UTC] Stock deduction completed for order 67: 1 successful, 0 failed
[13-Oct-2025 08:10:14 UTC] Product ID: 32, Feedback records found: 2
[13-Oct-2025 08:10:14 UTC] Product ID: 32, Total sold: 1
[13-Oct-2025 08:10:16 UTC] Product ID: 36, Feedback records found: 0
[13-Oct-2025 08:10:16 UTC] Total feedback records in database: 3
[13-Oct-2025 08:10:16 UTC] Product ID: 36, Total sold: 0
[13-Oct-2025 08:10:58 UTC] Product ID: 32, Feedback records found: 2
[13-Oct-2025 08:10:58 UTC] Product ID: 32, Total sold: 1
[13-Oct-2025 08:11:00 UTC] Product ID: 36, Feedback records found: 1
[13-Oct-2025 08:11:00 UTC] Product ID: 36, Total sold: 1
[13-Oct-2025 08:25:29 UTC] Product ID: 36, Feedback records found: 1
[13-Oct-2025 08:25:29 UTC] Product ID: 36, Total sold: 1
[13-Oct-2025 08:25:33 UTC] Checkout Debug - Found 4 shipping options
[13-Oct-2025 08:25:33 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[13-Oct-2025 08:25:33 UTC] Shipping Option: jnt (ID: 12, Type: weight_based, Active: 1)
[13-Oct-2025 08:25:33 UTC] Shipping Option: free (ID: 9, Type: free_shipping_threshold, Active: 1)
[13-Oct-2025 08:25:33 UTC] Shipping Option: ezparcel (ID: 1, Type: weight_based, Active: 1)
[13-Oct-2025 08:25:33 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 14.9)
[13-Oct-2025 08:25:33 UTC] Shipping option 'jnt' availability: YES (subtotal: 14.9)
[13-Oct-2025 08:25:33 UTC] Shipping option 'free' filtered out: subtotal (14.9) < min_order_amount (100.00)
[13-Oct-2025 08:25:33 UTC] Shipping option 'free' availability: NO (subtotal: 14.9)
[13-Oct-2025 08:25:33 UTC] Shipping option 'ezparcel' availability: YES (subtotal: 14.9)
[13-Oct-2025 08:42:11 UTC] Product ID: 35, Feedback records found: 0
[13-Oct-2025 08:42:11 UTC] Total feedback records in database: 4
[13-Oct-2025 08:42:11 UTC] Product ID: 35, Total sold: 0
[13-Oct-2025 08:42:20 UTC] Shipping config query for amount 0 found: {"id":"11","name":"Pickup Order","description":"Self collection from store (free shipping)","fee_type":"pickup","base_fee":"0.00","fee_value":"0.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"0","delivery_days_max":"0","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:37:58","updated_at":"2025-10-13 15:37:58","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[13-Oct-2025 08:42:20 UTC] Cart page requesting shipping config for order amount: 0
[13-Oct-2025 08:42:24 UTC] Product ID: 32, Feedback records found: 2
[13-Oct-2025 08:42:24 UTC] Product ID: 32, Total sold: 1
[13-Oct-2025 08:42:33 UTC] Shipping config query for amount 0 found: {"id":"11","name":"Pickup Order","description":"Self collection from store (free shipping)","fee_type":"pickup","base_fee":"0.00","fee_value":"0.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"0","delivery_days_max":"0","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:37:58","updated_at":"2025-10-13 15:37:58","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[13-Oct-2025 08:42:33 UTC] Cart page requesting shipping config for order amount: 0
[13-Oct-2025 08:42:36 UTC] Product ID: 36, Feedback records found: 1
[13-Oct-2025 08:42:36 UTC] Product ID: 36, Total sold: 1
[13-Oct-2025 08:42:39 UTC] Add to cart: user_id=2, session_id=qh2ahg2v63mih29c5rd214t26k, product_id=36, quantity=1, size=10ml, version=EDP / LIGHT, price=14.9
[13-Oct-2025 08:42:39 UTC] Cart::addItem - user_id: 2, session_id: qh2ahg2v63mih29c5rd214t26k, product_id: 36, size: 10ml, version: EDP / LIGHT, quantity: 1, price: 14.9
[13-Oct-2025 08:42:39 UTC] Cart::getCartItem - Query: SELECT * FROM cart 
                  WHERE product_id = :product_id AND size = :size AND version = :version AND user_id = :user_id
[13-Oct-2025 08:42:39 UTC] Cart::getCartItem - Params: {"product_id":36,"size":"10ml","version":"EDP \/ LIGHT","user_id":"2"}
[13-Oct-2025 08:42:39 UTC] Cart::getCartItem - No existing item found
[13-Oct-2025 08:42:39 UTC] Cart::getSessionCartItem - Query: SELECT * FROM cart 
                  WHERE session_id = :session_id AND product_id = :product_id AND size = :size AND version = :version
[13-Oct-2025 08:42:39 UTC] Cart::getSessionCartItem - Params: {"session_id":"qh2ahg2v63mih29c5rd214t26k","product_id":36,"size":"10ml","version":"EDP \/ LIGHT"}
[13-Oct-2025 08:42:39 UTC] Cart::getSessionCartItem - No session item found
[13-Oct-2025 08:42:39 UTC] Cart::addItem - No existing item found, creating new item
[13-Oct-2025 08:42:39 UTC] Cart::addItem - Successfully created new item with ID: 103
[13-Oct-2025 08:42:39 UTC] Successfully added to cart. Cart count: 1, Cart item ID: 103
[13-Oct-2025 08:42:41 UTC] Shipping config query for amount 14.9 found: {"id":"12","name":"jnt","description":"","fee_type":"weight_based","base_fee":"3.00","fee_value":"0.00","min_order_amount":"1.00","max_order_amount":null,"delivery_days_min":"3","delivery_days_max":"4","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:44:05","updated_at":"2025-10-13 15:44:05","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[13-Oct-2025 08:42:41 UTC] Cart page requesting shipping config for order amount: 14.9
[13-Oct-2025 08:42:45 UTC] Checkout Debug - Found 4 shipping options
[13-Oct-2025 08:42:45 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[13-Oct-2025 08:42:45 UTC] Shipping Option: jnt (ID: 12, Type: weight_based, Active: 1)
[13-Oct-2025 08:42:45 UTC] Shipping Option: free (ID: 9, Type: free_shipping_threshold, Active: 1)
[13-Oct-2025 08:42:45 UTC] Shipping Option: ezparcel (ID: 1, Type: weight_based, Active: 1)
[13-Oct-2025 08:42:45 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 14.9)
[13-Oct-2025 08:42:45 UTC] Shipping option 'jnt' availability: YES (subtotal: 14.9)
[13-Oct-2025 08:42:45 UTC] Shipping option 'free' filtered out: subtotal (14.9) < min_order_amount (100.00)
[13-Oct-2025 08:42:45 UTC] Shipping option 'free' availability: NO (subtotal: 14.9)
[13-Oct-2025 08:42:45 UTC] Shipping option 'ezparcel' availability: YES (subtotal: 14.9)
[13-Oct-2025 08:42:45 UTC] Checkout Debug - User ID: 2
[13-Oct-2025 08:42:45 UTC] Checkout Debug - Claimed vouchers count: 2
[13-Oct-2025 08:42:45 UTC] Checkout Debug - Voucher: test (ID: 10, Status: active)
[13-Oct-2025 08:42:45 UTC] Checkout Debug - Voucher: Premium Sample (ID: 4, Status: active)
[13-Oct-2025 08:43:09 UTC] Checkout: Received POST request
[13-Oct-2025 08:43:09 UTC] Checkout: POST data: Array
(
    [discounted_total] => 14.90
    [email] => azfarirfan7767@gmail.com
    [saved_address_id] => 1
    [first_name] => AZFAR
    [last_name] => BIN ASRI
    [address] => Kg Surau Bator
    [apartment] => 
    [city] => Bachok
    [country] => Malaysia
    [state] => Kelantan
    [zip_code] => 16070
    [phone] => +60179853875
    [shipping_method_id] => 11
    [payment_method] => toyyibpay_fpx
    [payment_method_fallback] => toyyibpay_fpx
    [notes] => Jodi
    [billing_same] => on
)

[13-Oct-2025 08:43:09 UTC] Checkout: Payment method: toyyibpay_fpx
[13-Oct-2025 08:43:09 UTC] Checkout Debug - Applied Voucher: No
[13-Oct-2025 08:43:09 UTC] Stock deducted: Product ID 36, Quantity: 1
[13-Oct-2025 08:43:09 UTC] Order created successfully: ID 68
[13-Oct-2025 08:43:09 UTC] toyyibPay createBill data: Array
(
    [userSecretKey] => j816hxzw-4da3-5a0p-o18t-42rybaon2xky
    [categoryCode] => 93v503tu
    [billName] => Order #68
    [billDescription] => Payment for Order #68
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 1490
    [billReturnUrl] => https://2dayparfum.com/apps/payment-return.php
    [billCallbackUrl] => https://2dayparfum.com/apps/payment-callback.php
    [billExternalReferenceNo] => 68
    [billTo] => AZFAR BIN ASRI
    [billEmail] => azfarirfan7767@gmail.com
    [billPhone] => +60179853875
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[13-Oct-2025 08:43:09 UTC] toyyibPay makeApiCall - URL: https://dev.toyyibpay.com/index.php/api/createBill
[13-Oct-2025 08:43:09 UTC] toyyibPay makeApiCall - Data: Array
(
    [userSecretKey] => j816hxzw-4da3-5a0p-o18t-42rybaon2xky
    [categoryCode] => 93v503tu
    [billName] => Order #68
    [billDescription] => Payment for Order #68
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 1490
    [billReturnUrl] => https://2dayparfum.com/apps/payment-return.php
    [billCallbackUrl] => https://2dayparfum.com/apps/payment-callback.php
    [billExternalReferenceNo] => 68
    [billTo] => AZFAR BIN ASRI
    [billEmail] => azfarirfan7767@gmail.com
    [billPhone] => +60179853875
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[13-Oct-2025 08:43:09 UTC] toyyibPay makeApiCall - HTTP Code: 200
[13-Oct-2025 08:43:09 UTC] toyyibPay makeApiCall - Raw Response: 						[{"BillCode":"g8esuqcd"}]
[13-Oct-2025 08:43:09 UTC] toyyibPay makeApiCall - cURL Info: Array
(
    [url] => https://dev.toyyibpay.com/index.php/api/createBill
    [content_type] => text/html; charset=UTF-8
    [http_code] => 200
    [header_size] => 916
    [request_size] => 2604
    [filetime] => -1
    [ssl_verify_result] => 20
    [redirect_count] => 0
    [total_time] => 0.210916
    [namelookup_time] => 0.026561
    [connect_time] => 0.036996
    [pretransfer_time] => 0.054806
    [size_upload] => 2381
    [size_download] => 31
    [speed_download] => 146
    [speed_upload] => 11288
    [download_content_length] => -1
    [upload_content_length] => 2381
    [starttransfer_time] => 0.210652
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 172.67.70.74
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 103.72.163.73
    [local_port] => 58964
    [http_version] => 3
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => https
    [appconnect_time_us] => 54253
    [connect_time_us] => 36996
    [namelookup_time_us] => 26561
    [pretransfer_time_us] => 54806
    [redirect_time_us] => 0
    [starttransfer_time_us] => 210652
    [total_time_us] => 210916
)

[13-Oct-2025 08:43:09 UTC] toyyibPay makeApiCall - Decoded Response: Array
(
    [0] => Array
        (
            [BillCode] => g8esuqcd
        )

)

[13-Oct-2025 08:43:09 UTC] toyyibPay createBill response: Array
(
    [0] => Array
        (
            [BillCode] => g8esuqcd
        )

)

[13-Oct-2025 08:43:09 UTC] toyyibPay createBill success: g8esuqcd
[13-Oct-2025 08:43:26 UTC] toyyibPay Callback received: Array
(
    [refno] => TP2510132891580678
    [status] => 1
    [reason] => Payment Approved
    [billcode] => g8esuqcd
    [order_id] => 68
    [amount] => 14.90
    [status_id] => 1
    [msg] => ok
    [transaction_id] => TP2510132891580678
    [fpx_transaction_id] => 2510130427474769
    [hash] => 92a042ae8ca95361d855825161b9a2b2
    [transaction_time] => 2025-10-13 04:27:47
)

[13-Oct-2025 08:43:26 UTC] Order updatePaymentInfo: Updated order 68 with fields: status, reference, amount
[13-Oct-2025 08:43:26 UTC] toyyibPay Callback: Order 68 status updated to processing, payment status updated to paid
[13-Oct-2025 08:43:26 UTC] toyyibPay Callback: Payment successful for order 68, amount: 14.90, reference: TP2510132891580678
[13-Oct-2025 08:43:26 UTC] Product::deductVariationStock - Successfully deducted 1 from product_id=36, size=10ml, version=EDP / LIGHT. New stock: 26
[13-Oct-2025 08:43:26 UTC] Stock deduction completed for order 68: 1 successful, 0 failed
[13-Oct-2025 08:43:26 UTC] No loyalty points to award for order 68 (no products with point rewards)
[13-Oct-2025 08:43:27 UTC] toyyibPay Return: Array
(
    [status_id] => 1
    [billcode] => g8esuqcd
    [order_id] => 68
    [msg] => ok
    [transaction_id] => TP2510132891580678
)

[13-Oct-2025 08:43:27 UTC] toyyibPay Return - status_id: 1, billcode: g8esuqcd, order_id: 68
[13-Oct-2025 08:43:27 UTC] toyyibPay Return: Redirecting to order-success.php?id=68&payment_status=1
[13-Oct-2025 08:43:28 UTC] Order Success Debug - Order ID: 68
[13-Oct-2025 08:43:28 UTC] Order Success Debug - Voucher ID: NULL
[13-Oct-2025 08:43:28 UTC] Order Success Debug - Voucher Discount Amount: 0.00
[13-Oct-2025 08:43:28 UTC] Order Success Debug - Voucher Info: Not found
[13-Oct-2025 08:43:28 UTC] Order updatePaymentInfo: Updated order 68 with fields: status
[13-Oct-2025 08:43:28 UTC] Order Success Page: Auto-updated order #68 to processing/paid status
[13-Oct-2025 08:43:28 UTC] Product::deductVariationStock - Successfully deducted 1 from product_id=36, size=10ml, version=EDP / LIGHT. New stock: 25
[13-Oct-2025 08:43:28 UTC] Stock deduction completed for order 68: 1 successful, 0 failed
[13-Oct-2025 08:43:40 UTC] Product ID: 36, Feedback records found: 1
[13-Oct-2025 08:43:40 UTC] Product ID: 36, Total sold: 1
[13-Oct-2025 08:43:46 UTC] Product ID: 36, Feedback records found: 1
[13-Oct-2025 08:43:46 UTC] Product ID: 36, Total sold: 1
[13-Oct-2025 08:43:53 UTC] Checkout Debug - Found 4 shipping options
[13-Oct-2025 08:43:53 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[13-Oct-2025 08:43:53 UTC] Shipping Option: jnt (ID: 12, Type: weight_based, Active: 1)
[13-Oct-2025 08:43:53 UTC] Shipping Option: free (ID: 9, Type: free_shipping_threshold, Active: 1)
[13-Oct-2025 08:43:53 UTC] Shipping Option: ezparcel (ID: 1, Type: weight_based, Active: 1)
[13-Oct-2025 08:43:53 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 14.9)
[13-Oct-2025 08:43:53 UTC] Shipping option 'jnt' availability: YES (subtotal: 14.9)
[13-Oct-2025 08:43:53 UTC] Shipping option 'free' filtered out: subtotal (14.9) < min_order_amount (100.00)
[13-Oct-2025 08:43:53 UTC] Shipping option 'free' availability: NO (subtotal: 14.9)
[13-Oct-2025 08:43:53 UTC] Shipping option 'ezparcel' availability: YES (subtotal: 14.9)
[13-Oct-2025 08:43:53 UTC] Checkout Debug - User ID: 2
[13-Oct-2025 08:43:53 UTC] Checkout Debug - Claimed vouchers count: 2
[13-Oct-2025 08:43:53 UTC] Checkout Debug - Voucher: test (ID: 10, Status: active)
[13-Oct-2025 08:43:53 UTC] Checkout Debug - Voucher: Premium Sample (ID: 4, Status: active)
[13-Oct-2025 08:44:01 UTC] Checkout: Received POST request
[13-Oct-2025 08:44:01 UTC] Checkout: POST data: Array
(
    [discounted_total] => 17.90
    [email] => azfarirfan7767@gmail.com
    [saved_address_id] => 2
    [first_name] => SADAS
    [last_name] => DSADAS
    [address] => DASDASDSADSA
    [apartment] => 
    [city] => SADDSA
    [country] => Malaysia
    [state] => DSADSA
    [zip_code] => 12390
    [phone] => 0123456789
    [shipping_method_id] => 12
    [payment_method] => toyyibpay_fpx
    [payment_method_fallback] => toyyibpay_fpx
    [notes] => 
    [billing_same] => on
)

[13-Oct-2025 08:44:01 UTC] Checkout: Payment method: toyyibpay_fpx
[13-Oct-2025 08:44:01 UTC] Checkout Debug - Applied Voucher: No
[13-Oct-2025 08:44:01 UTC] Stock deducted: Product ID 36, Quantity: 1
[13-Oct-2025 08:44:01 UTC] Order created successfully: ID 69
[13-Oct-2025 08:44:01 UTC] toyyibPay createBill data: Array
(
    [userSecretKey] => j816hxzw-4da3-5a0p-o18t-42rybaon2xky
    [categoryCode] => 93v503tu
    [billName] => Order #69
    [billDescription] => Payment for Order #69
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 1790
    [billReturnUrl] => https://2dayparfum.com/apps/payment-return.php
    [billCallbackUrl] => https://2dayparfum.com/apps/payment-callback.php
    [billExternalReferenceNo] => 69
    [billTo] => SADAS DSADAS
    [billEmail] => azfarirfan7767@gmail.com
    [billPhone] => 0123456789
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[13-Oct-2025 08:44:01 UTC] toyyibPay makeApiCall - URL: https://dev.toyyibpay.com/index.php/api/createBill
[13-Oct-2025 08:44:01 UTC] toyyibPay makeApiCall - Data: Array
(
    [userSecretKey] => j816hxzw-4da3-5a0p-o18t-42rybaon2xky
    [categoryCode] => 93v503tu
    [billName] => Order #69
    [billDescription] => Payment for Order #69
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 1790
    [billReturnUrl] => https://2dayparfum.com/apps/payment-return.php
    [billCallbackUrl] => https://2dayparfum.com/apps/payment-callback.php
    [billExternalReferenceNo] => 69
    [billTo] => SADAS DSADAS
    [billEmail] => azfarirfan7767@gmail.com
    [billPhone] => 0123456789
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[13-Oct-2025 08:44:02 UTC] toyyibPay makeApiCall - HTTP Code: 200
[13-Oct-2025 08:44:02 UTC] toyyibPay makeApiCall - Raw Response: 						[{"BillCode":"qhz3eqqs"}]
[13-Oct-2025 08:44:02 UTC] toyyibPay makeApiCall - cURL Info: Array
(
    [url] => https://dev.toyyibpay.com/index.php/api/createBill
    [content_type] => text/html; charset=UTF-8
    [http_code] => 200
    [header_size] => 917
    [request_size] => 2600
    [filetime] => -1
    [ssl_verify_result] => 20
    [redirect_count] => 0
    [total_time] => 0.208706
    [namelookup_time] => 0.000413
    [connect_time] => 0.009441
    [pretransfer_time] => 0.02341
    [size_upload] => 2377
    [size_download] => 31
    [speed_download] => 148
    [speed_upload] => 11389
    [download_content_length] => -1
    [upload_content_length] => 2377
    [starttransfer_time] => 0.205575
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 172.67.70.74
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 103.72.163.73
    [local_port] => 37958
    [http_version] => 3
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => https
    [appconnect_time_us] => 23140
    [connect_time_us] => 9441
    [namelookup_time_us] => 413
    [pretransfer_time_us] => 23410
    [redirect_time_us] => 0
    [starttransfer_time_us] => 205575
    [total_time_us] => 208706
)

[13-Oct-2025 08:44:02 UTC] toyyibPay makeApiCall - Decoded Response: Array
(
    [0] => Array
        (
            [BillCode] => qhz3eqqs
        )

)

[13-Oct-2025 08:44:02 UTC] toyyibPay createBill response: Array
(
    [0] => Array
        (
            [BillCode] => qhz3eqqs
        )

)

[13-Oct-2025 08:44:02 UTC] toyyibPay createBill success: qhz3eqqs
[13-Oct-2025 08:44:16 UTC] toyyibPay Callback received: Array
(
    [refno] => TP2510133275609819
    [status] => 1
    [reason] => Payment Approved
    [billcode] => qhz3eqqs
    [order_id] => 69
    [amount] => 17.90
    [status_id] => 1
    [msg] => ok
    [transaction_id] => TP2510133275609819
    [fpx_transaction_id] => 2510130428397806
    [hash] => 2a945db122679a1d63e395b587d1baae
    [transaction_time] => 2025-10-13 04:28:39
)

[13-Oct-2025 08:44:16 UTC] Order updatePaymentInfo: Updated order 69 with fields: status, reference, amount
[13-Oct-2025 08:44:16 UTC] toyyibPay Callback: Order 69 status updated to processing, payment status updated to paid
[13-Oct-2025 08:44:16 UTC] toyyibPay Callback: Payment successful for order 69, amount: 17.90, reference: TP2510133275609819
[13-Oct-2025 08:44:16 UTC] Product::deductVariationStock - Successfully deducted 1 from product_id=36, size=10ml, version=EDP / LIGHT. New stock: 24
[13-Oct-2025 08:44:16 UTC] Stock deduction completed for order 69: 1 successful, 0 failed
[13-Oct-2025 08:44:16 UTC] No loyalty points to award for order 69 (no products with point rewards)
[13-Oct-2025 08:44:18 UTC] toyyibPay Return: Array
(
    [status_id] => 1
    [billcode] => qhz3eqqs
    [order_id] => 69
    [msg] => ok
    [transaction_id] => TP2510133275609819
)

[13-Oct-2025 08:44:18 UTC] toyyibPay Return - status_id: 1, billcode: qhz3eqqs, order_id: 69
[13-Oct-2025 08:44:18 UTC] toyyibPay Return: Redirecting to order-success.php?id=69&payment_status=1
[13-Oct-2025 08:44:18 UTC] Order Success Debug - Order ID: 69
[13-Oct-2025 08:44:18 UTC] Order Success Debug - Voucher ID: NULL
[13-Oct-2025 08:44:18 UTC] Order Success Debug - Voucher Discount Amount: 0.00
[13-Oct-2025 08:44:18 UTC] Order Success Debug - Voucher Info: Not found
[13-Oct-2025 08:44:18 UTC] Order updatePaymentInfo: Updated order 69 with fields: status
[13-Oct-2025 08:44:18 UTC] Order Success Page: Auto-updated order #69 to processing/paid status
[13-Oct-2025 08:44:18 UTC] Product::deductVariationStock - Successfully deducted 1 from product_id=36, size=10ml, version=EDP / LIGHT. New stock: 23
[13-Oct-2025 08:44:18 UTC] Stock deduction completed for order 69: 1 successful, 0 failed
[13-Oct-2025 08:44:23 UTC] Product ID: 36, Feedback records found: 1
[13-Oct-2025 08:44:23 UTC] Product ID: 36, Total sold: 1
[13-Oct-2025 08:44:34 UTC] Checkout Debug - Found 4 shipping options
[13-Oct-2025 08:44:34 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[13-Oct-2025 08:44:34 UTC] Shipping Option: jnt (ID: 12, Type: weight_based, Active: 1)
[13-Oct-2025 08:44:34 UTC] Shipping Option: free (ID: 9, Type: free_shipping_threshold, Active: 1)
[13-Oct-2025 08:44:34 UTC] Shipping Option: ezparcel (ID: 1, Type: weight_based, Active: 1)
[13-Oct-2025 08:44:34 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 15.9)
[13-Oct-2025 08:44:34 UTC] Shipping option 'jnt' availability: YES (subtotal: 15.9)
[13-Oct-2025 08:44:34 UTC] Shipping option 'free' filtered out: subtotal (15.9) < min_order_amount (100.00)
[13-Oct-2025 08:44:34 UTC] Shipping option 'free' availability: NO (subtotal: 15.9)
[13-Oct-2025 08:44:34 UTC] Shipping option 'ezparcel' availability: YES (subtotal: 15.9)
[13-Oct-2025 08:44:34 UTC] Checkout Debug - User ID: 2
[13-Oct-2025 08:44:34 UTC] Checkout Debug - Claimed vouchers count: 2
[13-Oct-2025 08:44:34 UTC] Checkout Debug - Voucher: test (ID: 10, Status: active)
[13-Oct-2025 08:44:34 UTC] Checkout Debug - Voucher: Premium Sample (ID: 4, Status: active)
[13-Oct-2025 08:44:39 UTC] Checkout: Received POST request
[13-Oct-2025 08:44:39 UTC] Checkout: POST data: Array
(
    [discounted_total] => 15.90
    [email] => azfarirfan7767@gmail.com
    [saved_address_id] => 1
    [first_name] => AZFAR
    [last_name] => BIN ASRI
    [address] => Kg Surau Bator
    [apartment] => 
    [city] => Bachok
    [country] => Malaysia
    [state] => Kelantan
    [zip_code] => 16070
    [phone] => +60179853875
    [shipping_method_id] => 11
    [payment_method] => toyyibpay_fpx
    [payment_method_fallback] => toyyibpay_fpx
    [notes] => 
    [billing_same] => on
)

[13-Oct-2025 08:44:39 UTC] Checkout: Payment method: toyyibpay_fpx
[13-Oct-2025 08:44:39 UTC] Checkout Debug - Applied Voucher: No
[13-Oct-2025 08:44:39 UTC] Stock deducted: Product ID 36, Quantity: 1
[13-Oct-2025 08:44:39 UTC] Order created successfully: ID 70
[13-Oct-2025 08:44:39 UTC] toyyibPay createBill data: Array
(
    [userSecretKey] => j816hxzw-4da3-5a0p-o18t-42rybaon2xky
    [categoryCode] => 93v503tu
    [billName] => Order #70
    [billDescription] => Payment for Order #70
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 1590
    [billReturnUrl] => https://2dayparfum.com/apps/payment-return.php
    [billCallbackUrl] => https://2dayparfum.com/apps/payment-callback.php
    [billExternalReferenceNo] => 70
    [billTo] => AZFAR BIN ASRI
    [billEmail] => azfarirfan7767@gmail.com
    [billPhone] => +60179853875
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[13-Oct-2025 08:44:39 UTC] toyyibPay makeApiCall - URL: https://dev.toyyibpay.com/index.php/api/createBill
[13-Oct-2025 08:44:39 UTC] toyyibPay makeApiCall - Data: Array
(
    [userSecretKey] => j816hxzw-4da3-5a0p-o18t-42rybaon2xky
    [categoryCode] => 93v503tu
    [billName] => Order #70
    [billDescription] => Payment for Order #70
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 1590
    [billReturnUrl] => https://2dayparfum.com/apps/payment-return.php
    [billCallbackUrl] => https://2dayparfum.com/apps/payment-callback.php
    [billExternalReferenceNo] => 70
    [billTo] => AZFAR BIN ASRI
    [billEmail] => azfarirfan7767@gmail.com
    [billPhone] => +60179853875
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[13-Oct-2025 08:44:39 UTC] toyyibPay makeApiCall - HTTP Code: 200
[13-Oct-2025 08:44:39 UTC] toyyibPay makeApiCall - Raw Response: 						[{"BillCode":"n8pi2ub3"}]
[13-Oct-2025 08:44:39 UTC] toyyibPay makeApiCall - cURL Info: Array
(
    [url] => https://dev.toyyibpay.com/index.php/api/createBill
    [content_type] => text/html; charset=UTF-8
    [http_code] => 200
    [header_size] => 923
    [request_size] => 2604
    [filetime] => -1
    [ssl_verify_result] => 20
    [redirect_count] => 0
    [total_time] => 0.113426
    [namelookup_time] => 0.000789
    [connect_time] => 0.010643
    [pretransfer_time] => 0.028267
    [size_upload] => 2381
    [size_download] => 31
    [speed_download] => 273
    [speed_upload] => 20991
    [download_content_length] => -1
    [upload_content_length] => 2381
    [starttransfer_time] => 0.113123
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 172.67.70.74
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 103.72.163.73
    [local_port] => 46054
    [http_version] => 3
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => https
    [appconnect_time_us] => 27764
    [connect_time_us] => 10643
    [namelookup_time_us] => 789
    [pretransfer_time_us] => 28267
    [redirect_time_us] => 0
    [starttransfer_time_us] => 113123
    [total_time_us] => 113426
)

[13-Oct-2025 08:44:39 UTC] toyyibPay makeApiCall - Decoded Response: Array
(
    [0] => Array
        (
            [BillCode] => n8pi2ub3
        )

)

[13-Oct-2025 08:44:39 UTC] toyyibPay createBill response: Array
(
    [0] => Array
        (
            [BillCode] => n8pi2ub3
        )

)

[13-Oct-2025 08:44:39 UTC] toyyibPay createBill success: n8pi2ub3
[13-Oct-2025 08:44:53 UTC] toyyibPay Callback received: Array
(
    [refno] => TP2510131448454181
    [status] => 1
    [reason] => Payment Approved
    [billcode] => n8pi2ub3
    [order_id] => 70
    [amount] => 15.90
    [status_id] => 1
    [msg] => ok
    [transaction_id] => TP2510131448454181
    [fpx_transaction_id] => 2510130429163343
    [hash] => f2188ecd6474696919b36d6f225a8c49
    [transaction_time] => 2025-10-13 04:29:16
)

[13-Oct-2025 08:44:53 UTC] Order updatePaymentInfo: Updated order 70 with fields: status, reference, amount
[13-Oct-2025 08:44:53 UTC] toyyibPay Callback: Order 70 status updated to processing, payment status updated to paid
[13-Oct-2025 08:44:53 UTC] toyyibPay Callback: Payment successful for order 70, amount: 15.90, reference: TP2510131448454181
[13-Oct-2025 08:44:53 UTC] Product::deductVariationStock - Successfully deducted 1 from product_id=36, size=10ml, version=PARFUM / MEDIUM. New stock: 32
[13-Oct-2025 08:44:53 UTC] Stock deduction completed for order 70: 1 successful, 0 failed
[13-Oct-2025 08:44:53 UTC] No loyalty points to award for order 70 (no products with point rewards)
[13-Oct-2025 08:44:55 UTC] toyyibPay Return: Array
(
    [status_id] => 1
    [billcode] => n8pi2ub3
    [order_id] => 70
    [msg] => ok
    [transaction_id] => TP2510131448454181
)

[13-Oct-2025 08:44:55 UTC] toyyibPay Return - status_id: 1, billcode: n8pi2ub3, order_id: 70
[13-Oct-2025 08:44:55 UTC] toyyibPay Return: Redirecting to order-success.php?id=70&payment_status=1
[13-Oct-2025 08:44:55 UTC] Order Success Debug - Order ID: 70
[13-Oct-2025 08:44:55 UTC] Order Success Debug - Voucher ID: NULL
[13-Oct-2025 08:44:55 UTC] Order Success Debug - Voucher Discount Amount: 0.00
[13-Oct-2025 08:44:55 UTC] Order Success Debug - Voucher Info: Not found
[13-Oct-2025 08:44:55 UTC] Order updatePaymentInfo: Updated order 70 with fields: status
[13-Oct-2025 08:44:55 UTC] Order Success Page: Auto-updated order #70 to processing/paid status
[13-Oct-2025 08:44:55 UTC] Product::deductVariationStock - Successfully deducted 1 from product_id=36, size=10ml, version=PARFUM / MEDIUM. New stock: 31
[13-Oct-2025 08:44:55 UTC] Stock deduction completed for order 70: 1 successful, 0 failed
[13-Oct-2025 08:45:02 UTC] Product ID: 36, Feedback records found: 1
[13-Oct-2025 08:45:02 UTC] Product ID: 36, Total sold: 1
[13-Oct-2025 08:46:29 UTC] Checkout Debug - Found 4 shipping options
[13-Oct-2025 08:46:29 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[13-Oct-2025 08:46:29 UTC] Shipping Option: jnt (ID: 12, Type: weight_based, Active: 1)
[13-Oct-2025 08:46:29 UTC] Shipping Option: free (ID: 9, Type: free_shipping_threshold, Active: 1)
[13-Oct-2025 08:46:29 UTC] Shipping Option: ezparcel (ID: 1, Type: weight_based, Active: 1)
[13-Oct-2025 08:46:29 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 14.9)
[13-Oct-2025 08:46:29 UTC] Shipping option 'jnt' availability: YES (subtotal: 14.9)
[13-Oct-2025 08:46:29 UTC] Shipping option 'free' filtered out: subtotal (14.9) < min_order_amount (100.00)
[13-Oct-2025 08:46:29 UTC] Shipping option 'free' availability: NO (subtotal: 14.9)
[13-Oct-2025 08:46:29 UTC] Shipping option 'ezparcel' availability: YES (subtotal: 14.9)
[13-Oct-2025 08:46:29 UTC] Checkout Debug - User ID: 2
[13-Oct-2025 08:46:29 UTC] Checkout Debug - Claimed vouchers count: 2
[13-Oct-2025 08:46:29 UTC] Checkout Debug - Voucher: test (ID: 10, Status: active)
[13-Oct-2025 08:46:29 UTC] Checkout Debug - Voucher: Premium Sample (ID: 4, Status: active)
[13-Oct-2025 08:46:30 UTC] Product ID: 36, Feedback records found: 1
[13-Oct-2025 08:46:30 UTC] Product ID: 36, Total sold: 1
[13-Oct-2025 08:46:38 UTC] Checkout Debug - Found 4 shipping options
[13-Oct-2025 08:46:38 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[13-Oct-2025 08:46:38 UTC] Shipping Option: jnt (ID: 12, Type: weight_based, Active: 1)
[13-Oct-2025 08:46:38 UTC] Shipping Option: free (ID: 9, Type: free_shipping_threshold, Active: 1)
[13-Oct-2025 08:46:38 UTC] Shipping Option: ezparcel (ID: 1, Type: weight_based, Active: 1)
[13-Oct-2025 08:46:38 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 15.9)
[13-Oct-2025 08:46:38 UTC] Shipping option 'jnt' availability: YES (subtotal: 15.9)
[13-Oct-2025 08:46:38 UTC] Shipping option 'free' filtered out: subtotal (15.9) < min_order_amount (100.00)
[13-Oct-2025 08:46:38 UTC] Shipping option 'free' availability: NO (subtotal: 15.9)
[13-Oct-2025 08:46:38 UTC] Shipping option 'ezparcel' availability: YES (subtotal: 15.9)
[13-Oct-2025 08:46:38 UTC] Checkout Debug - User ID: 2
[13-Oct-2025 08:46:38 UTC] Checkout Debug - Claimed vouchers count: 2
[13-Oct-2025 08:46:38 UTC] Checkout Debug - Voucher: test (ID: 10, Status: active)
[13-Oct-2025 08:46:38 UTC] Checkout Debug - Voucher: Premium Sample (ID: 4, Status: active)
[13-Oct-2025 08:47:08 UTC] Checkout: Received POST request
[13-Oct-2025 08:47:08 UTC] Checkout: POST data: Array
(
    [discounted_total] => 15.74
    [email] => azfarirfan7767@gmail.com
    [saved_address_id] => 1
    [first_name] => AZFAR
    [last_name] => BIN ASRI
    [address] => Kg Surau Bator
    [apartment] => 
    [city] => Bachok
    [country] => Malaysia
    [state] => Kelantan
    [zip_code] => 16070
    [phone] => +60179853875
    [shipping_method_id] => 11
    [payment_method] => toyyibpay_fpx
    [payment_method_fallback] => toyyibpay_fpx
    [notes] => 
    [billing_same] => on
)

[13-Oct-2025 08:47:08 UTC] Checkout: Payment method: toyyibpay_fpx
[13-Oct-2025 08:47:08 UTC] Checkout Debug - Applied Voucher: Yes
[13-Oct-2025 08:47:08 UTC] Checkout Debug - Voucher ID: 10
[13-Oct-2025 08:47:08 UTC] Checkout Debug - Discount Amount: 0.159
[13-Oct-2025 08:47:08 UTC] Checkout Debug - Discount Type: percentage
[13-Oct-2025 08:47:08 UTC] Checkout Debug - Discount Value: 1
[13-Oct-2025 08:47:08 UTC] Stock deduction summary:
[13-Oct-2025 08:47:08 UTC]   Product ID 36: Total quantity to deduct = 1
[13-Oct-2025 08:47:08 UTC] Stock deducted: Product ID 36, Total Quantity: 1
[13-Oct-2025 08:47:08 UTC] Order created successfully: ID 71
[13-Oct-2025 08:47:08 UTC] toyyibPay createBill data: Array
(
    [userSecretKey] => j816hxzw-4da3-5a0p-o18t-42rybaon2xky
    [categoryCode] => 93v503tu
    [billName] => Order #71
    [billDescription] => Payment for Order #71
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 1574
    [billReturnUrl] => https://2dayparfum.com/apps/payment-return.php
    [billCallbackUrl] => https://2dayparfum.com/apps/payment-callback.php
    [billExternalReferenceNo] => 71
    [billTo] => AZFAR BIN ASRI
    [billEmail] => azfarirfan7767@gmail.com
    [billPhone] => +60179853875
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[13-Oct-2025 08:47:08 UTC] toyyibPay makeApiCall - URL: https://dev.toyyibpay.com/index.php/api/createBill
[13-Oct-2025 08:47:08 UTC] toyyibPay makeApiCall - Data: Array
(
    [userSecretKey] => j816hxzw-4da3-5a0p-o18t-42rybaon2xky
    [categoryCode] => 93v503tu
    [billName] => Order #71
    [billDescription] => Payment for Order #71
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 1574
    [billReturnUrl] => https://2dayparfum.com/apps/payment-return.php
    [billCallbackUrl] => https://2dayparfum.com/apps/payment-callback.php
    [billExternalReferenceNo] => 71
    [billTo] => AZFAR BIN ASRI
    [billEmail] => azfarirfan7767@gmail.com
    [billPhone] => +60179853875
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[13-Oct-2025 08:47:08 UTC] toyyibPay makeApiCall - HTTP Code: 200
[13-Oct-2025 08:47:08 UTC] toyyibPay makeApiCall - Raw Response: 						[{"BillCode":"bc0qs3wh"}]
[13-Oct-2025 08:47:08 UTC] toyyibPay makeApiCall - cURL Info: Array
(
    [url] => https://dev.toyyibpay.com/index.php/api/createBill
    [content_type] => text/html; charset=UTF-8
    [http_code] => 200
    [header_size] => 917
    [request_size] => 2604
    [filetime] => -1
    [ssl_verify_result] => 20
    [redirect_count] => 0
    [total_time] => 0.117313
    [namelookup_time] => 0.000892
    [connect_time] => 0.010686
    [pretransfer_time] => 0.028075
    [size_upload] => 2381
    [size_download] => 31
    [speed_download] => 264
    [speed_upload] => 20296
    [download_content_length] => -1
    [upload_content_length] => 2381
    [starttransfer_time] => 0.117093
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 172.67.70.74
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 103.72.163.73
    [local_port] => 46688
    [http_version] => 3
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => https
    [appconnect_time_us] => 27358
    [connect_time_us] => 10686
    [namelookup_time_us] => 892
    [pretransfer_time_us] => 28075
    [redirect_time_us] => 0
    [starttransfer_time_us] => 117093
    [total_time_us] => 117313
)

[13-Oct-2025 08:47:08 UTC] toyyibPay makeApiCall - Decoded Response: Array
(
    [0] => Array
        (
            [BillCode] => bc0qs3wh
        )

)

[13-Oct-2025 08:47:08 UTC] toyyibPay createBill response: Array
(
    [0] => Array
        (
            [BillCode] => bc0qs3wh
        )

)

[13-Oct-2025 08:47:08 UTC] toyyibPay createBill success: bc0qs3wh
[13-Oct-2025 08:47:24 UTC] toyyibPay Callback received: Array
(
    [refno] => TP2510133158718868
    [status] => 1
    [reason] => Payment Approved
    [billcode] => bc0qs3wh
    [order_id] => 71
    [amount] => 15.74
    [status_id] => 1
    [msg] => ok
    [transaction_id] => TP2510133158718868
    [fpx_transaction_id] => 2510130431469608
    [hash] => 9e8a75b18bd44e7ec6eb8c5b1212a5da
    [transaction_time] => 2025-10-13 04:31:46
)

[13-Oct-2025 08:47:24 UTC] Order updatePaymentInfo: Updated order 71 with fields: status, reference, amount
[13-Oct-2025 08:47:24 UTC] toyyibPay Callback: Order 71 status updated to processing, payment status updated to paid
[13-Oct-2025 08:47:24 UTC] toyyibPay Callback: Payment successful for order 71, amount: 15.74, reference: TP2510133158718868
[13-Oct-2025 08:47:24 UTC] Product::deductVariationStock - Successfully deducted 1 from product_id=36, size=10ml, version=PARFUM / MEDIUM. New stock: 30
[13-Oct-2025 08:47:24 UTC] Stock deduction completed for order 71: 1 successful, 0 failed
[13-Oct-2025 08:47:24 UTC] No loyalty points to award for order 71 (no products with point rewards)
[13-Oct-2025 08:47:25 UTC] toyyibPay Return: Array
(
    [status_id] => 1
    [billcode] => bc0qs3wh
    [order_id] => 71
    [msg] => ok
    [transaction_id] => TP2510133158718868
)

[13-Oct-2025 08:47:25 UTC] toyyibPay Return - status_id: 1, billcode: bc0qs3wh, order_id: 71
[13-Oct-2025 08:47:25 UTC] toyyibPay Return: Redirecting to order-success.php?id=71&payment_status=1
[13-Oct-2025 08:47:25 UTC] Order Success Debug - Order ID: 71
[13-Oct-2025 08:47:25 UTC] Order Success Debug - Voucher ID: 10
[13-Oct-2025 08:47:25 UTC] Order Success Debug - Voucher Discount Amount: 0.16
[13-Oct-2025 08:47:25 UTC] Order Success Debug - Voucher Info: Found
[13-Oct-2025 08:47:25 UTC] Order updatePaymentInfo: Updated order 71 with fields: status
[13-Oct-2025 08:47:25 UTC] Order Success Page: Auto-updated order #71 to processing/paid status
[13-Oct-2025 08:47:25 UTC] Product::deductVariationStock - Successfully deducted 1 from product_id=36, size=10ml, version=PARFUM / MEDIUM. New stock: 29
[13-Oct-2025 08:47:25 UTC] Stock deduction completed for order 71: 1 successful, 0 failed
[13-Oct-2025 08:47:31 UTC] Product ID: 36, Feedback records found: 1
[13-Oct-2025 08:47:31 UTC] Product ID: 36, Total sold: 1
[13-Oct-2025 08:48:00 UTC] Product ID: 36, Feedback records found: 1
[13-Oct-2025 08:48:00 UTC] Product ID: 36, Total sold: 1
[13-Oct-2025 08:48:03 UTC] Product ID: 40, Feedback records found: 1
[13-Oct-2025 08:48:03 UTC] Product ID: 40, Total sold: 1
[13-Oct-2025 08:48:08 UTC] Checkout Debug - Found 4 shipping options
[13-Oct-2025 08:48:08 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[13-Oct-2025 08:48:08 UTC] Shipping Option: jnt (ID: 12, Type: weight_based, Active: 1)
[13-Oct-2025 08:48:08 UTC] Shipping Option: free (ID: 9, Type: free_shipping_threshold, Active: 1)
[13-Oct-2025 08:48:08 UTC] Shipping Option: ezparcel (ID: 1, Type: weight_based, Active: 1)
[13-Oct-2025 08:48:08 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 20)
[13-Oct-2025 08:48:08 UTC] Shipping option 'jnt' availability: YES (subtotal: 20)
[13-Oct-2025 08:48:08 UTC] Shipping option 'free' filtered out: subtotal (20) < min_order_amount (100.00)
[13-Oct-2025 08:48:08 UTC] Shipping option 'free' availability: NO (subtotal: 20)
[13-Oct-2025 08:48:08 UTC] Shipping option 'ezparcel' availability: YES (subtotal: 20)
[13-Oct-2025 08:48:08 UTC] Checkout Debug - User ID: 2
[13-Oct-2025 08:48:08 UTC] Checkout Debug - Claimed vouchers count: 1
[13-Oct-2025 08:48:08 UTC] Checkout Debug - Voucher: Premium Sample (ID: 4, Status: active)
[13-Oct-2025 08:48:21 UTC] Checkout: Received POST request
[13-Oct-2025 08:48:21 UTC] Checkout: POST data: Array
(
    [discounted_total] => 23.67
    [email] => azfarirfan7767@gmail.com
    [saved_address_id] => 1
    [first_name] => AZFAR
    [last_name] => BIN ASRI
    [address] => Kg Surau Bator
    [apartment] => 
    [city] => Bachok
    [country] => Malaysia
    [state] => Kelantan
    [zip_code] => 16070
    [phone] => +60179853875
    [shipping_method_id] => 1
    [payment_method] => toyyibpay_fpx
    [payment_method_fallback] => toyyibpay_fpx
    [notes] => 
    [billing_same] => on
)

[13-Oct-2025 08:48:21 UTC] Checkout: Payment method: toyyibpay_fpx
[13-Oct-2025 08:48:21 UTC] Checkout Debug - Applied Voucher: No
[13-Oct-2025 08:48:21 UTC] Stock deduction summary:
[13-Oct-2025 08:48:21 UTC]   Product ID 40: Total quantity to deduct = 1
[13-Oct-2025 08:48:21 UTC] Stock deducted: Product ID 40, Total Quantity: 1
[13-Oct-2025 08:48:21 UTC] Order created successfully: ID 72
[13-Oct-2025 08:48:21 UTC] toyyibPay createBill data: Array
(
    [userSecretKey] => j816hxzw-4da3-5a0p-o18t-42rybaon2xky
    [categoryCode] => 93v503tu
    [billName] => Order #72
    [billDescription] => Payment for Order #72
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 2367
    [billReturnUrl] => https://2dayparfum.com/apps/payment-return.php
    [billCallbackUrl] => https://2dayparfum.com/apps/payment-callback.php
    [billExternalReferenceNo] => 72
    [billTo] => AZFAR BIN ASRI
    [billEmail] => azfarirfan7767@gmail.com
    [billPhone] => +60179853875
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[13-Oct-2025 08:48:21 UTC] toyyibPay makeApiCall - URL: https://dev.toyyibpay.com/index.php/api/createBill
[13-Oct-2025 08:48:21 UTC] toyyibPay makeApiCall - Data: Array
(
    [userSecretKey] => j816hxzw-4da3-5a0p-o18t-42rybaon2xky
    [categoryCode] => 93v503tu
    [billName] => Order #72
    [billDescription] => Payment for Order #72
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 2367
    [billReturnUrl] => https://2dayparfum.com/apps/payment-return.php
    [billCallbackUrl] => https://2dayparfum.com/apps/payment-callback.php
    [billExternalReferenceNo] => 72
    [billTo] => AZFAR BIN ASRI
    [billEmail] => azfarirfan7767@gmail.com
    [billPhone] => +60179853875
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[13-Oct-2025 08:48:21 UTC] toyyibPay makeApiCall - HTTP Code: 200
[13-Oct-2025 08:48:21 UTC] toyyibPay makeApiCall - Raw Response: 						[{"BillCode":"dlbi1t92"}]
[13-Oct-2025 08:48:21 UTC] toyyibPay makeApiCall - cURL Info: Array
(
    [url] => https://dev.toyyibpay.com/index.php/api/createBill
    [content_type] => text/html; charset=UTF-8
    [http_code] => 200
    [header_size] => 918
    [request_size] => 2604
    [filetime] => -1
    [ssl_verify_result] => 20
    [redirect_count] => 0
    [total_time] => 0.120707
    [namelookup_time] => 0.000799
    [connect_time] => 0.010119
    [pretransfer_time] => 0.027574
    [size_upload] => 2381
    [size_download] => 31
    [speed_download] => 256
    [speed_upload] => 19725
    [download_content_length] => -1
    [upload_content_length] => 2381
    [starttransfer_time] => 0.120531
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 104.26.13.38
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 103.72.163.73
    [local_port] => 39640
    [http_version] => 3
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => https
    [appconnect_time_us] => 27039
    [connect_time_us] => 10119
    [namelookup_time_us] => 799
    [pretransfer_time_us] => 27574
    [redirect_time_us] => 0
    [starttransfer_time_us] => 120531
    [total_time_us] => 120707
)

[13-Oct-2025 08:48:21 UTC] toyyibPay makeApiCall - Decoded Response: Array
(
    [0] => Array
        (
            [BillCode] => dlbi1t92
        )

)

[13-Oct-2025 08:48:21 UTC] toyyibPay createBill response: Array
(
    [0] => Array
        (
            [BillCode] => dlbi1t92
        )

)

[13-Oct-2025 08:48:21 UTC] toyyibPay createBill success: dlbi1t92
[13-Oct-2025 08:48:37 UTC] toyyibPay Callback received: Array
(
    [refno] => TP2510134442617414
    [status] => 1
    [reason] => Payment Approved
    [billcode] => dlbi1t92
    [order_id] => 72
    [amount] => 23.67
    [status_id] => 1
    [msg] => ok
    [transaction_id] => TP2510134442617414
    [fpx_transaction_id] => 2510130432578519
    [hash] => 9d4d2508deab86c3fe3aa3d2d52553cd
    [transaction_time] => 2025-10-13 04:32:57
)

[13-Oct-2025 08:48:37 UTC] Order updatePaymentInfo: Updated order 72 with fields: status, reference, amount
[13-Oct-2025 08:48:37 UTC] toyyibPay Callback: Order 72 status updated to processing, payment status updated to paid
[13-Oct-2025 08:48:37 UTC] toyyibPay Callback: Payment successful for order 72, amount: 23.67, reference: TP2510134442617414
[13-Oct-2025 08:48:37 UTC] Product::deductVariationStock - Successfully deducted 1 from product_id=40, size=20ml, version=EDP / LIGHT. New stock: 89
[13-Oct-2025 08:48:37 UTC] Stock deduction completed for order 72: 1 successful, 0 failed
[13-Oct-2025 08:48:37 UTC] Loyalty points awarded for order 72: 12 points to user 2
[13-Oct-2025 08:48:37 UTC] Points breakdown: AFNINE 9PM REBEL x1 = 12 points (12 per item)
[13-Oct-2025 08:48:38 UTC] toyyibPay Return: Array
(
    [status_id] => 1
    [billcode] => dlbi1t92
    [order_id] => 72
    [msg] => ok
    [transaction_id] => TP2510134442617414
)

[13-Oct-2025 08:48:38 UTC] toyyibPay Return - status_id: 1, billcode: dlbi1t92, order_id: 72
[13-Oct-2025 08:48:38 UTC] toyyibPay Return: Redirecting to order-success.php?id=72&payment_status=1
[13-Oct-2025 08:48:38 UTC] Order Success Debug - Order ID: 72
[13-Oct-2025 08:48:38 UTC] Order Success Debug - Voucher ID: NULL
[13-Oct-2025 08:48:38 UTC] Order Success Debug - Voucher Discount Amount: 0.00
[13-Oct-2025 08:48:38 UTC] Order Success Debug - Voucher Info: Not found
[13-Oct-2025 08:48:38 UTC] Order updatePaymentInfo: Updated order 72 with fields: status
[13-Oct-2025 08:48:38 UTC] Order Success Page: Auto-updated order #72 to processing/paid status
[13-Oct-2025 08:48:38 UTC] Product::deductVariationStock - Successfully deducted 1 from product_id=40, size=20ml, version=EDP / LIGHT. New stock: 88
[13-Oct-2025 08:48:38 UTC] Stock deduction completed for order 72: 1 successful, 0 failed
[13-Oct-2025 08:48:52 UTC] Product ID: 40, Feedback records found: 1
[13-Oct-2025 08:48:52 UTC] Product ID: 40, Total sold: 1
[13-Oct-2025 08:50:50 UTC] Product ID: 40, Feedback records found: 1
[13-Oct-2025 08:50:50 UTC] Product ID: 40, Total sold: 1
[13-Oct-2025 08:50:53 UTC] Checkout Debug - Found 4 shipping options
[13-Oct-2025 08:50:53 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[13-Oct-2025 08:50:53 UTC] Shipping Option: jnt (ID: 12, Type: weight_based, Active: 1)
[13-Oct-2025 08:50:53 UTC] Shipping Option: free (ID: 9, Type: free_shipping_threshold, Active: 1)
[13-Oct-2025 08:50:53 UTC] Shipping Option: ezparcel (ID: 1, Type: weight_based, Active: 1)
[13-Oct-2025 08:50:53 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 20)
[13-Oct-2025 08:50:53 UTC] Shipping option 'jnt' availability: YES (subtotal: 20)
[13-Oct-2025 08:50:53 UTC] Shipping option 'free' filtered out: subtotal (20) < min_order_amount (100.00)
[13-Oct-2025 08:50:53 UTC] Shipping option 'free' availability: NO (subtotal: 20)
[13-Oct-2025 08:50:53 UTC] Shipping option 'ezparcel' availability: YES (subtotal: 20)
[13-Oct-2025 08:50:53 UTC] Checkout Debug - User ID: 2
[13-Oct-2025 08:50:53 UTC] Checkout Debug - Claimed vouchers count: 1
[13-Oct-2025 08:50:53 UTC] Checkout Debug - Voucher: Premium Sample (ID: 4, Status: active)
[13-Oct-2025 08:51:00 UTC] Checkout: Received POST request
[13-Oct-2025 08:51:00 UTC] Checkout: POST data: Array
(
    [discounted_total] => 23.00
    [email] => azfarirfan7767@gmail.com
    [saved_address_id] => 1
    [first_name] => AZFAR
    [last_name] => BIN ASRI
    [address] => Kg Surau Bator
    [apartment] => 
    [city] => Bachok
    [country] => Malaysia
    [state] => Kelantan
    [zip_code] => 16070
    [phone] => +60179853875
    [shipping_method_id] => 
    [payment_method] => toyyibpay_fpx
    [payment_method_fallback] => toyyibpay_fpx
    [notes] => 
    [billing_same] => on
)

[13-Oct-2025 08:51:00 UTC] Checkout: Payment method: toyyibpay_fpx
[13-Oct-2025 08:51:00 UTC] Checkout Debug - Applied Voucher: No
[13-Oct-2025 08:51:00 UTC] Order creation exception: SQLSTATE[HY000]: General error: 1366 Incorrect integer value: '' for column 'shipping_method_id' at row 1
[13-Oct-2025 08:51:00 UTC] Order creation trace: #0 /home2/igoldser/public_html/2dayparfum.com/apps/models/Order.php(121): PDOStatement->execute()
#1 /home2/igoldser/public_html/2dayparfum.com/apps/checkout.php(260): Order->create()
#2 {main}
[13-Oct-2025 08:51:00 UTC] Order Creation Error: Failed to create order for user: 2
[13-Oct-2025 08:51:01 UTC] Shipping config query for amount 0 found: {"id":"11","name":"Pickup Order","description":"Self collection from store (free shipping)","fee_type":"pickup","base_fee":"0.00","fee_value":"0.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"0","delivery_days_max":"0","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:37:58","updated_at":"2025-10-13 15:37:58","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[13-Oct-2025 08:51:01 UTC] Cart page requesting shipping config for order amount: 0
[13-Oct-2025 08:51:06 UTC] Product ID: 36, Feedback records found: 1
[13-Oct-2025 08:51:06 UTC] Product ID: 36, Total sold: 1
[13-Oct-2025 08:51:09 UTC] Product ID: 40, Feedback records found: 1
[13-Oct-2025 08:51:09 UTC] Product ID: 40, Total sold: 1
[13-Oct-2025 08:51:12 UTC] Checkout Debug - Found 4 shipping options
[13-Oct-2025 08:51:12 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[13-Oct-2025 08:51:12 UTC] Shipping Option: jnt (ID: 12, Type: weight_based, Active: 1)
[13-Oct-2025 08:51:12 UTC] Shipping Option: free (ID: 9, Type: free_shipping_threshold, Active: 1)
[13-Oct-2025 08:51:12 UTC] Shipping Option: ezparcel (ID: 1, Type: weight_based, Active: 1)
[13-Oct-2025 08:51:12 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 20)
[13-Oct-2025 08:51:12 UTC] Shipping option 'jnt' availability: YES (subtotal: 20)
[13-Oct-2025 08:51:12 UTC] Shipping option 'free' filtered out: subtotal (20) < min_order_amount (100.00)
[13-Oct-2025 08:51:12 UTC] Shipping option 'free' availability: NO (subtotal: 20)
[13-Oct-2025 08:51:12 UTC] Shipping option 'ezparcel' availability: YES (subtotal: 20)
[13-Oct-2025 08:51:12 UTC] Checkout Debug - User ID: 2
[13-Oct-2025 08:51:12 UTC] Checkout Debug - Claimed vouchers count: 1
[13-Oct-2025 08:51:12 UTC] Checkout Debug - Voucher: Premium Sample (ID: 4, Status: active)
[13-Oct-2025 08:51:19 UTC] Checkout: Received POST request
[13-Oct-2025 08:51:19 UTC] Checkout: POST data: Array
(
    [discounted_total] => 20.00
    [email] => azfarirfan7767@gmail.com
    [saved_address_id] => 1
    [first_name] => AZFAR
    [last_name] => BIN ASRI
    [address] => Kg Surau Bator
    [apartment] => 
    [city] => Bachok
    [country] => Malaysia
    [state] => Kelantan
    [zip_code] => 16070
    [phone] => +60179853875
    [shipping_method_id] => 11
    [payment_method] => toyyibpay_fpx
    [payment_method_fallback] => toyyibpay_fpx
    [notes] => 
    [billing_same] => on
)

[13-Oct-2025 08:51:19 UTC] Checkout: Payment method: toyyibpay_fpx
[13-Oct-2025 08:51:19 UTC] Checkout Debug - Applied Voucher: No
[13-Oct-2025 08:51:19 UTC] Inserting order item 0: Product ID = 40, Quantity = 1
[13-Oct-2025 08:51:19 UTC] Order item 0 inserted successfully
[13-Oct-2025 08:51:19 UTC] All order items being processed:
[13-Oct-2025 08:51:19 UTC]   Item 0: Product ID = 40, Quantity = 1, Size = 20ml, Version = EDP / LIGHT
[13-Oct-2025 08:51:19 UTC] Stock deduction summary:
[13-Oct-2025 08:51:19 UTC]   Product ID 40: Total quantity to deduct = 1
[13-Oct-2025 08:51:19 UTC] Stock deducted: Product ID 40, Total Quantity: 1
[13-Oct-2025 08:51:19 UTC] Order created successfully: ID 73
[13-Oct-2025 08:51:19 UTC] toyyibPay createBill data: Array
(
    [userSecretKey] => j816hxzw-4da3-5a0p-o18t-42rybaon2xky
    [categoryCode] => 93v503tu
    [billName] => Order #73
    [billDescription] => Payment for Order #73
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 2000
    [billReturnUrl] => https://2dayparfum.com/apps/payment-return.php
    [billCallbackUrl] => https://2dayparfum.com/apps/payment-callback.php
    [billExternalReferenceNo] => 73
    [billTo] => AZFAR BIN ASRI
    [billEmail] => azfarirfan7767@gmail.com
    [billPhone] => +60179853875
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[13-Oct-2025 08:51:19 UTC] toyyibPay makeApiCall - URL: https://dev.toyyibpay.com/index.php/api/createBill
[13-Oct-2025 08:51:19 UTC] toyyibPay makeApiCall - Data: Array
(
    [userSecretKey] => j816hxzw-4da3-5a0p-o18t-42rybaon2xky
    [categoryCode] => 93v503tu
    [billName] => Order #73
    [billDescription] => Payment for Order #73
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 2000
    [billReturnUrl] => https://2dayparfum.com/apps/payment-return.php
    [billCallbackUrl] => https://2dayparfum.com/apps/payment-callback.php
    [billExternalReferenceNo] => 73
    [billTo] => AZFAR BIN ASRI
    [billEmail] => azfarirfan7767@gmail.com
    [billPhone] => +60179853875
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[13-Oct-2025 08:51:19 UTC] toyyibPay makeApiCall - HTTP Code: 200
[13-Oct-2025 08:51:19 UTC] toyyibPay makeApiCall - Raw Response: 						[{"BillCode":"nnzmgepg"}]
[13-Oct-2025 08:51:19 UTC] toyyibPay makeApiCall - cURL Info: Array
(
    [url] => https://dev.toyyibpay.com/index.php/api/createBill
    [content_type] => text/html; charset=UTF-8
    [http_code] => 200
    [header_size] => 919
    [request_size] => 2604
    [filetime] => -1
    [ssl_verify_result] => 20
    [redirect_count] => 0
    [total_time] => 0.124975
    [namelookup_time] => 0.000828
    [connect_time] => 0.01048
    [pretransfer_time] => 0.029219
    [size_upload] => 2381
    [size_download] => 31
    [speed_download] => 248
    [speed_upload] => 19051
    [download_content_length] => -1
    [upload_content_length] => 2381
    [starttransfer_time] => 0.124834
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 104.26.13.38
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 103.72.163.73
    [local_port] => 58288
    [http_version] => 3
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => https
    [appconnect_time_us] => 28776
    [connect_time_us] => 10480
    [namelookup_time_us] => 828
    [pretransfer_time_us] => 29219
    [redirect_time_us] => 0
    [starttransfer_time_us] => 124834
    [total_time_us] => 124975
)

[13-Oct-2025 08:51:19 UTC] toyyibPay makeApiCall - Decoded Response: Array
(
    [0] => Array
        (
            [BillCode] => nnzmgepg
        )

)

[13-Oct-2025 08:51:19 UTC] toyyibPay createBill response: Array
(
    [0] => Array
        (
            [BillCode] => nnzmgepg
        )

)

[13-Oct-2025 08:51:19 UTC] toyyibPay createBill success: nnzmgepg
[13-Oct-2025 08:51:37 UTC] toyyibPay Callback received: Array
(
    [refno] => TP2510134601227160
    [status] => 1
    [reason] => Payment Approved
    [billcode] => nnzmgepg
    [order_id] => 73
    [amount] => 20.00
    [status_id] => 1
    [msg] => ok
    [transaction_id] => TP2510134601227160
    [fpx_transaction_id] => 2510130435599908
    [hash] => 4e314a796c04d2726e79540b4655adec
    [transaction_time] => 2025-10-13 04:35:59
)

[13-Oct-2025 08:51:37 UTC] Order updatePaymentInfo: Updated order 73 with fields: status, reference, amount
[13-Oct-2025 08:51:37 UTC] toyyibPay Callback: Order 73 status updated to processing, payment status updated to paid
[13-Oct-2025 08:51:37 UTC] toyyibPay Callback: Payment successful for order 73, amount: 20.00, reference: TP2510134601227160
[13-Oct-2025 08:51:37 UTC] Product::deductVariationStock - Successfully deducted 1 from product_id=40, size=20ml, version=EDP / LIGHT. New stock: 87
[13-Oct-2025 08:51:37 UTC] Stock deduction completed for order 73: 1 successful, 0 failed
[13-Oct-2025 08:51:37 UTC] Loyalty points awarded for order 73: 12 points to user 2
[13-Oct-2025 08:51:37 UTC] Points breakdown: AFNINE 9PM REBEL x1 = 12 points (12 per item)
[13-Oct-2025 08:51:39 UTC] toyyibPay Return: Array
(
    [status_id] => 1
    [billcode] => nnzmgepg
    [order_id] => 73
    [msg] => ok
    [transaction_id] => TP2510134601227160
)

[13-Oct-2025 08:51:39 UTC] toyyibPay Return - status_id: 1, billcode: nnzmgepg, order_id: 73
[13-Oct-2025 08:51:39 UTC] toyyibPay Return: Redirecting to order-success.php?id=73&payment_status=1
[13-Oct-2025 08:51:39 UTC] Order Success Debug - Order ID: 73
[13-Oct-2025 08:51:39 UTC] Order Success Debug - Voucher ID: NULL
[13-Oct-2025 08:51:39 UTC] Order Success Debug - Voucher Discount Amount: 0.00
[13-Oct-2025 08:51:39 UTC] Order Success Debug - Voucher Info: Not found
[13-Oct-2025 08:51:39 UTC] Order updatePaymentInfo: Updated order 73 with fields: status
[13-Oct-2025 08:51:39 UTC] Order Success Page: Auto-updated order #73 to processing/paid status
[13-Oct-2025 08:51:39 UTC] Product::deductVariationStock - Successfully deducted 1 from product_id=40, size=20ml, version=EDP / LIGHT. New stock: 86
[13-Oct-2025 08:51:39 UTC] Stock deduction completed for order 73: 1 successful, 0 failed
[13-Oct-2025 08:51:58 UTC] Product ID: 32, Feedback records found: 2
[13-Oct-2025 08:51:58 UTC] Product ID: 32, Total sold: 1
[13-Oct-2025 08:52:00 UTC] Product ID: 40, Feedback records found: 1
[13-Oct-2025 08:52:00 UTC] Product ID: 40, Total sold: 1
[13-Oct-2025 08:52:05 UTC] Shipping config query for amount 0 found: {"id":"11","name":"Pickup Order","description":"Self collection from store (free shipping)","fee_type":"pickup","base_fee":"0.00","fee_value":"0.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"0","delivery_days_max":"0","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:37:58","updated_at":"2025-10-13 15:37:58","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[13-Oct-2025 08:52:05 UTC] Cart page requesting shipping config for order amount: 0
[13-Oct-2025 08:52:10 UTC] Add to cart: user_id=2, session_id=ihcomhv5007op67f0l04cdbu3i, product_id=40, quantity=1, size=20ml, version=EDP / LIGHT, price=20
[13-Oct-2025 08:52:10 UTC] Cart::addItem - user_id: 2, session_id: ihcomhv5007op67f0l04cdbu3i, product_id: 40, size: 20ml, version: EDP / LIGHT, quantity: 1, price: 20
[13-Oct-2025 08:52:10 UTC] Cart::getCartItem - Query: SELECT * FROM cart 
                  WHERE product_id = :product_id AND size = :size AND version = :version AND user_id = :user_id
[13-Oct-2025 08:52:10 UTC] Cart::getCartItem - Params: {"product_id":40,"size":"20ml","version":"EDP \/ LIGHT","user_id":"2"}
[13-Oct-2025 08:52:10 UTC] Cart::getCartItem - No existing item found
[13-Oct-2025 08:52:10 UTC] Cart::getSessionCartItem - Query: SELECT * FROM cart 
                  WHERE session_id = :session_id AND product_id = :product_id AND size = :size AND version = :version
[13-Oct-2025 08:52:10 UTC] Cart::getSessionCartItem - Params: {"session_id":"ihcomhv5007op67f0l04cdbu3i","product_id":40,"size":"20ml","version":"EDP \/ LIGHT"}
[13-Oct-2025 08:52:10 UTC] Cart::getSessionCartItem - No session item found
[13-Oct-2025 08:52:10 UTC] Cart::addItem - No existing item found, creating new item
[13-Oct-2025 08:52:10 UTC] Cart::addItem - Successfully created new item with ID: 104
[13-Oct-2025 08:52:10 UTC] Successfully added to cart. Cart count: 1, Cart item ID: 104
[13-Oct-2025 08:52:10 UTC] Shipping config query for amount 20 found: {"id":"12","name":"jnt","description":"","fee_type":"weight_based","base_fee":"3.00","fee_value":"0.00","min_order_amount":"1.00","max_order_amount":null,"delivery_days_min":"3","delivery_days_max":"4","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:44:05","updated_at":"2025-10-13 15:44:05","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[13-Oct-2025 08:52:10 UTC] Cart page requesting shipping config for order amount: 20
[13-Oct-2025 08:52:14 UTC] Checkout Debug - Found 4 shipping options
[13-Oct-2025 08:52:14 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[13-Oct-2025 08:52:14 UTC] Shipping Option: jnt (ID: 12, Type: weight_based, Active: 1)
[13-Oct-2025 08:52:14 UTC] Shipping Option: free (ID: 9, Type: free_shipping_threshold, Active: 1)
[13-Oct-2025 08:52:14 UTC] Shipping Option: ezparcel (ID: 1, Type: weight_based, Active: 1)
[13-Oct-2025 08:52:14 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 20)
[13-Oct-2025 08:52:14 UTC] Shipping option 'jnt' availability: YES (subtotal: 20)
[13-Oct-2025 08:52:14 UTC] Shipping option 'free' filtered out: subtotal (20) < min_order_amount (100.00)
[13-Oct-2025 08:52:14 UTC] Shipping option 'free' availability: NO (subtotal: 20)
[13-Oct-2025 08:52:14 UTC] Shipping option 'ezparcel' availability: YES (subtotal: 20)
[13-Oct-2025 08:52:14 UTC] Checkout Debug - User ID: 2
[13-Oct-2025 08:52:14 UTC] Checkout Debug - Claimed vouchers count: 1
[13-Oct-2025 08:52:14 UTC] Checkout Debug - Voucher: Premium Sample (ID: 4, Status: active)
[13-Oct-2025 08:52:21 UTC] Checkout: Received POST request
[13-Oct-2025 08:52:21 UTC] Checkout: POST data: Array
(
    [discounted_total] => 20.00
    [email] => azfarirfan7767@gmail.com
    [first_name] => AZFAR
    [last_name] => BIN ASRI
    [address] => 
    [apartment] => 
    [city] => 
    [country] => Malaysia
    [state] => 
    [zip_code] => 
    [phone] => 0179853875
    [shipping_method_id] => 11
    [payment_method] => toyyibpay_fpx
    [payment_method_fallback] => toyyibpay_fpx
    [notes] => 
    [billing_same] => on
)

[13-Oct-2025 08:52:21 UTC] Checkout: Payment method: toyyibpay_fpx
[13-Oct-2025 08:52:21 UTC] Checkout: Validation failed - missing required fields
[13-Oct-2025 08:52:21 UTC] Checkout Debug - Found 4 shipping options
[13-Oct-2025 08:52:21 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[13-Oct-2025 08:52:21 UTC] Shipping Option: jnt (ID: 12, Type: weight_based, Active: 1)
[13-Oct-2025 08:52:21 UTC] Shipping Option: free (ID: 9, Type: free_shipping_threshold, Active: 1)
[13-Oct-2025 08:52:21 UTC] Shipping Option: ezparcel (ID: 1, Type: weight_based, Active: 1)
[13-Oct-2025 08:52:21 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 20)
[13-Oct-2025 08:52:21 UTC] Shipping option 'jnt' availability: YES (subtotal: 20)
[13-Oct-2025 08:52:21 UTC] Shipping option 'free' filtered out: subtotal (20) < min_order_amount (100.00)
[13-Oct-2025 08:52:21 UTC] Shipping option 'free' availability: NO (subtotal: 20)
[13-Oct-2025 08:52:21 UTC] Shipping option 'ezparcel' availability: YES (subtotal: 20)
[13-Oct-2025 08:52:21 UTC] Checkout Debug - User ID: 2
[13-Oct-2025 08:52:21 UTC] Checkout Debug - Claimed vouchers count: 1
[13-Oct-2025 08:52:21 UTC] Checkout Debug - Voucher: Premium Sample (ID: 4, Status: active)
[13-Oct-2025 08:52:28 UTC] Checkout: Received POST request
[13-Oct-2025 08:52:28 UTC] Checkout: POST data: Array
(
    [discounted_total] => 23.00
    [email] => azfarirfan7767@gmail.com
    [saved_address_id] => 1
    [first_name] => AZFAR
    [last_name] => BIN ASRI
    [address] => Kg Surau Bator
    [apartment] => 
    [city] => Bachok
    [country] => Malaysia
    [state] => Kelantan
    [zip_code] => 16070
    [phone] => +60179853875
    [shipping_method_id] => 12
    [payment_method] => toyyibpay_fpx
    [payment_method_fallback] => toyyibpay_fpx
    [notes] => 
    [billing_same] => on
)

[13-Oct-2025 08:52:28 UTC] Checkout: Payment method: toyyibpay_fpx
[13-Oct-2025 08:52:28 UTC] Checkout Debug - Applied Voucher: No
[13-Oct-2025 08:52:28 UTC] Inserting order item 0: Product ID = 40, Quantity = 1
[13-Oct-2025 08:52:28 UTC] Order item 0 inserted successfully
[13-Oct-2025 08:52:28 UTC] All order items being processed:
[13-Oct-2025 08:52:28 UTC]   Item 0: Product ID = 40, Quantity = 1, Size = 20ml, Version = EDP / LIGHT
[13-Oct-2025 08:52:28 UTC] Stock deduction summary:
[13-Oct-2025 08:52:28 UTC]   Product ID 40: Total quantity to deduct = 1
[13-Oct-2025 08:52:28 UTC] Stock deducted: Product ID 40, Total Quantity: 1
[13-Oct-2025 08:52:28 UTC] Order created successfully: ID 74
[13-Oct-2025 08:52:28 UTC] toyyibPay createBill data: Array
(
    [userSecretKey] => j816hxzw-4da3-5a0p-o18t-42rybaon2xky
    [categoryCode] => 93v503tu
    [billName] => Order #74
    [billDescription] => Payment for Order #74
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 2300
    [billReturnUrl] => https://2dayparfum.com/apps/payment-return.php
    [billCallbackUrl] => https://2dayparfum.com/apps/payment-callback.php
    [billExternalReferenceNo] => 74
    [billTo] => AZFAR BIN ASRI
    [billEmail] => azfarirfan7767@gmail.com
    [billPhone] => +60179853875
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[13-Oct-2025 08:52:28 UTC] toyyibPay makeApiCall - URL: https://dev.toyyibpay.com/index.php/api/createBill
[13-Oct-2025 08:52:28 UTC] toyyibPay makeApiCall - Data: Array
(
    [userSecretKey] => j816hxzw-4da3-5a0p-o18t-42rybaon2xky
    [categoryCode] => 93v503tu
    [billName] => Order #74
    [billDescription] => Payment for Order #74
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 2300
    [billReturnUrl] => https://2dayparfum.com/apps/payment-return.php
    [billCallbackUrl] => https://2dayparfum.com/apps/payment-callback.php
    [billExternalReferenceNo] => 74
    [billTo] => AZFAR BIN ASRI
    [billEmail] => azfarirfan7767@gmail.com
    [billPhone] => +60179853875
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[13-Oct-2025 08:52:28 UTC] toyyibPay makeApiCall - HTTP Code: 200
[13-Oct-2025 08:52:28 UTC] toyyibPay makeApiCall - Raw Response: 						[{"BillCode":"clp2ali6"}]
[13-Oct-2025 08:52:28 UTC] toyyibPay makeApiCall - cURL Info: Array
(
    [url] => https://dev.toyyibpay.com/index.php/api/createBill
    [content_type] => text/html; charset=UTF-8
    [http_code] => 200
    [header_size] => 924
    [request_size] => 2604
    [filetime] => -1
    [ssl_verify_result] => 20
    [redirect_count] => 0
    [total_time] => 0.118918
    [namelookup_time] => 0.000652
    [connect_time] => 0.009759
    [pretransfer_time] => 0.024956
    [size_upload] => 2381
    [size_download] => 31
    [speed_download] => 260
    [speed_upload] => 20022
    [download_content_length] => -1
    [upload_content_length] => 2381
    [starttransfer_time] => 0.118816
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 104.26.13.38
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 103.72.163.73
    [local_port] => 53588
    [http_version] => 3
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => https
    [appconnect_time_us] => 24668
    [connect_time_us] => 9759
    [namelookup_time_us] => 652
    [pretransfer_time_us] => 24956
    [redirect_time_us] => 0
    [starttransfer_time_us] => 118816
    [total_time_us] => 118918
)

[13-Oct-2025 08:52:28 UTC] toyyibPay makeApiCall - Decoded Response: Array
(
    [0] => Array
        (
            [BillCode] => clp2ali6
        )

)

[13-Oct-2025 08:52:28 UTC] toyyibPay createBill response: Array
(
    [0] => Array
        (
            [BillCode] => clp2ali6
        )

)

[13-Oct-2025 08:52:28 UTC] toyyibPay createBill success: clp2ali6
[13-Oct-2025 08:52:49 UTC] toyyibPay Callback received: Array
(
    [refno] => TP2510130103108239
    [status] => 1
    [reason] => Payment Approved
    [billcode] => clp2ali6
    [order_id] => 74
    [amount] => 23.00
    [status_id] => 1
    [msg] => ok
    [transaction_id] => TP2510130103108239
    [fpx_transaction_id] => 2510130437113643
    [hash] => 7e6ba2ea804f36f352e25ce6d9bc19c4
    [transaction_time] => 2025-10-13 04:37:11
)

[13-Oct-2025 08:52:49 UTC] Order updatePaymentInfo: Updated order 74 with fields: status, reference, amount
[13-Oct-2025 08:52:49 UTC] toyyibPay Callback: Order 74 status updated to processing, payment status updated to paid
[13-Oct-2025 08:52:49 UTC] toyyibPay Callback: Payment successful for order 74, amount: 23.00, reference: TP2510130103108239
[13-Oct-2025 08:52:49 UTC] Product::deductVariationStock - Successfully deducted 1 from product_id=40, size=20ml, version=EDP / LIGHT. New stock: 85
[13-Oct-2025 08:52:49 UTC] Stock deduction completed for order 74: 1 successful, 0 failed
[13-Oct-2025 08:52:49 UTC] Loyalty points awarded for order 74: 12 points to user 2
[13-Oct-2025 08:52:49 UTC] Points breakdown: AFNINE 9PM REBEL x1 = 12 points (12 per item)
[13-Oct-2025 08:52:50 UTC] toyyibPay Return: Array
(
    [status_id] => 1
    [billcode] => clp2ali6
    [order_id] => 74
    [msg] => ok
    [transaction_id] => TP2510130103108239
)

[13-Oct-2025 08:52:50 UTC] toyyibPay Return - status_id: 1, billcode: clp2ali6, order_id: 74
[13-Oct-2025 08:52:50 UTC] toyyibPay Return: Redirecting to order-success.php?id=74&payment_status=1
[13-Oct-2025 08:52:50 UTC] Order Success Debug - Order ID: 74
[13-Oct-2025 08:52:50 UTC] Order Success Debug - Voucher ID: NULL
[13-Oct-2025 08:52:50 UTC] Order Success Debug - Voucher Discount Amount: 0.00
[13-Oct-2025 08:52:50 UTC] Order Success Debug - Voucher Info: Not found
[13-Oct-2025 08:52:50 UTC] Order updatePaymentInfo: Updated order 74 with fields: status
[13-Oct-2025 08:52:50 UTC] Order Success Page: Auto-updated order #74 to processing/paid status
[13-Oct-2025 08:52:50 UTC] Product::deductVariationStock - Successfully deducted 1 from product_id=40, size=20ml, version=EDP / LIGHT. New stock: 84
[13-Oct-2025 08:52:50 UTC] Stock deduction completed for order 74: 1 successful, 0 failed
[13-Oct-2025 08:52:57 UTC] Product ID: 40, Feedback records found: 1
[13-Oct-2025 08:52:57 UTC] Product ID: 40, Total sold: 1
[13-Oct-2025 08:54:38 UTC] Product ID: 40, Feedback records found: 1
[13-Oct-2025 08:54:38 UTC] Product ID: 40, Total sold: 1
[13-Oct-2025 08:54:39 UTC] Product ID: 40, Feedback records found: 1
[13-Oct-2025 08:54:39 UTC] Product ID: 40, Total sold: 1
[13-Oct-2025 08:54:42 UTC] Checkout Debug - Found 4 shipping options
[13-Oct-2025 08:54:42 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[13-Oct-2025 08:54:42 UTC] Shipping Option: jnt (ID: 12, Type: weight_based, Active: 1)
[13-Oct-2025 08:54:42 UTC] Shipping Option: free (ID: 9, Type: free_shipping_threshold, Active: 1)
[13-Oct-2025 08:54:42 UTC] Shipping Option: ezparcel (ID: 1, Type: weight_based, Active: 1)
[13-Oct-2025 08:54:42 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 20)
[13-Oct-2025 08:54:42 UTC] Shipping option 'jnt' availability: YES (subtotal: 20)
[13-Oct-2025 08:54:42 UTC] Shipping option 'free' filtered out: subtotal (20) < min_order_amount (100.00)
[13-Oct-2025 08:54:42 UTC] Shipping option 'free' availability: NO (subtotal: 20)
[13-Oct-2025 08:54:42 UTC] Shipping option 'ezparcel' availability: YES (subtotal: 20)
[13-Oct-2025 08:54:42 UTC] Checkout Debug - User ID: 2
[13-Oct-2025 08:54:42 UTC] Checkout Debug - Claimed vouchers count: 1
[13-Oct-2025 08:54:42 UTC] Checkout Debug - Voucher: Premium Sample (ID: 4, Status: active)
[13-Oct-2025 08:54:47 UTC] Checkout: Received POST request
[13-Oct-2025 08:54:47 UTC] Checkout: POST data: Array
(
    [discounted_total] => 20.00
    [email] => azfarirfan7767@gmail.com
    [saved_address_id] => 1
    [first_name] => AZFAR
    [last_name] => BIN ASRI
    [address] => Kg Surau Bator
    [apartment] => 
    [city] => Bachok
    [country] => Malaysia
    [state] => Kelantan
    [zip_code] => 16070
    [phone] => +60179853875
    [shipping_method_id] => 11
    [payment_method] => toyyibpay_fpx
    [payment_method_fallback] => toyyibpay_fpx
    [notes] => 
    [billing_same] => on
)

[13-Oct-2025 08:54:47 UTC] Checkout: Payment method: toyyibpay_fpx
[13-Oct-2025 08:54:47 UTC] Checkout Debug - Applied Voucher: No
[13-Oct-2025 08:54:47 UTC] Inserting order item 0: Product ID = 40, Quantity = 1
[13-Oct-2025 08:54:47 UTC] Order item 0 inserted successfully
[13-Oct-2025 08:54:47 UTC] All order items being processed:
[13-Oct-2025 08:54:47 UTC]   Item 0: Product ID = 40, Quantity = 1, Size = 20ml, Version = EDP / LIGHT
[13-Oct-2025 08:54:47 UTC] Stock deduction summary:
[13-Oct-2025 08:54:47 UTC]   Product ID 40: Total quantity to deduct = 1
[13-Oct-2025 08:54:47 UTC] Stock deducted: Product ID 40, Original Quantity: 1, Adjusted Quantity: 0
[13-Oct-2025 08:54:47 UTC] Order created successfully: ID 75
[13-Oct-2025 08:54:47 UTC] toyyibPay createBill data: Array
(
    [userSecretKey] => j816hxzw-4da3-5a0p-o18t-42rybaon2xky
    [categoryCode] => 93v503tu
    [billName] => Order #75
    [billDescription] => Payment for Order #75
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 2000
    [billReturnUrl] => https://2dayparfum.com/apps/payment-return.php
    [billCallbackUrl] => https://2dayparfum.com/apps/payment-callback.php
    [billExternalReferenceNo] => 75
    [billTo] => AZFAR BIN ASRI
    [billEmail] => azfarirfan7767@gmail.com
    [billPhone] => +60179853875
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[13-Oct-2025 08:54:47 UTC] toyyibPay makeApiCall - URL: https://dev.toyyibpay.com/index.php/api/createBill
[13-Oct-2025 08:54:47 UTC] toyyibPay makeApiCall - Data: Array
(
    [userSecretKey] => j816hxzw-4da3-5a0p-o18t-42rybaon2xky
    [categoryCode] => 93v503tu
    [billName] => Order #75
    [billDescription] => Payment for Order #75
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 2000
    [billReturnUrl] => https://2dayparfum.com/apps/payment-return.php
    [billCallbackUrl] => https://2dayparfum.com/apps/payment-callback.php
    [billExternalReferenceNo] => 75
    [billTo] => AZFAR BIN ASRI
    [billEmail] => azfarirfan7767@gmail.com
    [billPhone] => +60179853875
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[13-Oct-2025 08:54:47 UTC] toyyibPay makeApiCall - HTTP Code: 200
[13-Oct-2025 08:54:47 UTC] toyyibPay makeApiCall - Raw Response: 						[{"BillCode":"1s784s4f"}]
[13-Oct-2025 08:54:47 UTC] toyyibPay makeApiCall - cURL Info: Array
(
    [url] => https://dev.toyyibpay.com/index.php/api/createBill
    [content_type] => text/html; charset=UTF-8
    [http_code] => 200
    [header_size] => 915
    [request_size] => 2604
    [filetime] => -1
    [ssl_verify_result] => 20
    [redirect_count] => 0
    [total_time] => 0.122963
    [namelookup_time] => 0.000588
    [connect_time] => 0.009728
    [pretransfer_time] => 0.024717
    [size_upload] => 2381
    [size_download] => 31
    [speed_download] => 252
    [speed_upload] => 19363
    [download_content_length] => -1
    [upload_content_length] => 2381
    [starttransfer_time] => 0.122831
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 172.67.70.74
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 103.72.163.73
    [local_port] => 60874
    [http_version] => 3
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => https
    [appconnect_time_us] => 24227
    [connect_time_us] => 9728
    [namelookup_time_us] => 588
    [pretransfer_time_us] => 24717
    [redirect_time_us] => 0
    [starttransfer_time_us] => 122831
    [total_time_us] => 122963
)

[13-Oct-2025 08:54:47 UTC] toyyibPay makeApiCall - Decoded Response: Array
(
    [0] => Array
        (
            [BillCode] => 1s784s4f
        )

)

[13-Oct-2025 08:54:47 UTC] toyyibPay createBill response: Array
(
    [0] => Array
        (
            [BillCode] => 1s784s4f
        )

)

[13-Oct-2025 08:54:47 UTC] toyyibPay createBill success: 1s784s4f
[13-Oct-2025 08:55:07 UTC] toyyibPay Callback received: Array
(
    [refno] => TP2510130192240155
    [status] => 1
    [reason] => Payment Approved
    [billcode] => 1s784s4f
    [order_id] => 75
    [amount] => 20.00
    [status_id] => 1
    [msg] => ok
    [transaction_id] => TP2510130192240155
    [fpx_transaction_id] => 2510130439231265
    [hash] => e40eac427908954b0557ca229b03a1e0
    [transaction_time] => 2025-10-13 04:39:23
)

[13-Oct-2025 08:55:07 UTC] Order updatePaymentInfo: Updated order 75 with fields: status, reference, amount
[13-Oct-2025 08:55:07 UTC] toyyibPay Callback: Order 75 status updated to processing, payment status updated to paid
[13-Oct-2025 08:55:07 UTC] toyyibPay Callback: Payment successful for order 75, amount: 20.00, reference: TP2510130192240155
[13-Oct-2025 08:55:07 UTC] Product::deductVariationStock - Successfully deducted 1 from product_id=40, size=20ml, version=EDP / LIGHT. New stock: 83
[13-Oct-2025 08:55:07 UTC] Stock deduction completed for order 75: 1 successful, 0 failed
[13-Oct-2025 08:55:07 UTC] Loyalty points awarded for order 75: 12 points to user 2
[13-Oct-2025 08:55:07 UTC] Points breakdown: AFNINE 9PM REBEL x1 = 12 points (12 per item)
[13-Oct-2025 08:55:08 UTC] toyyibPay Return: Array
(
    [status_id] => 1
    [billcode] => 1s784s4f
    [order_id] => 75
    [msg] => ok
    [transaction_id] => TP2510130192240155
)

[13-Oct-2025 08:55:08 UTC] toyyibPay Return - status_id: 1, billcode: 1s784s4f, order_id: 75
[13-Oct-2025 08:55:08 UTC] toyyibPay Return: Redirecting to order-success.php?id=75&payment_status=1
[13-Oct-2025 08:55:08 UTC] Order Success Debug - Order ID: 75
[13-Oct-2025 08:55:08 UTC] Order Success Debug - Voucher ID: NULL
[13-Oct-2025 08:55:08 UTC] Order Success Debug - Voucher Discount Amount: 0.00
[13-Oct-2025 08:55:08 UTC] Order Success Debug - Voucher Info: Not found
[13-Oct-2025 08:55:08 UTC] Order updatePaymentInfo: Updated order 75 with fields: status
[13-Oct-2025 08:55:08 UTC] Order Success Page: Auto-updated order #75 to processing/paid status
[13-Oct-2025 08:55:08 UTC] Product::deductVariationStock - Successfully deducted 1 from product_id=40, size=20ml, version=EDP / LIGHT. New stock: 82
[13-Oct-2025 08:55:08 UTC] Stock deduction completed for order 75: 1 successful, 0 failed
[13-Oct-2025 08:55:18 UTC] Product ID: 40, Feedback records found: 1
[13-Oct-2025 08:55:18 UTC] Product ID: 40, Total sold: 1
[13-Oct-2025 08:55:28 UTC] Checkout Debug - Found 4 shipping options
[13-Oct-2025 08:55:28 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[13-Oct-2025 08:55:28 UTC] Shipping Option: jnt (ID: 12, Type: weight_based, Active: 1)
[13-Oct-2025 08:55:28 UTC] Shipping Option: free (ID: 9, Type: free_shipping_threshold, Active: 1)
[13-Oct-2025 08:55:28 UTC] Shipping Option: ezparcel (ID: 1, Type: weight_based, Active: 1)
[13-Oct-2025 08:55:28 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 40)
[13-Oct-2025 08:55:28 UTC] Shipping option 'jnt' availability: YES (subtotal: 40)
[13-Oct-2025 08:55:28 UTC] Shipping option 'free' filtered out: subtotal (40) < min_order_amount (100.00)
[13-Oct-2025 08:55:28 UTC] Shipping option 'free' availability: NO (subtotal: 40)
[13-Oct-2025 08:55:28 UTC] Shipping option 'ezparcel' availability: YES (subtotal: 40)
[13-Oct-2025 08:55:28 UTC] Checkout Debug - User ID: 2
[13-Oct-2025 08:55:28 UTC] Checkout Debug - Claimed vouchers count: 1
[13-Oct-2025 08:55:28 UTC] Checkout Debug - Voucher: Premium Sample (ID: 4, Status: active)
[13-Oct-2025 08:55:42 UTC] Checkout: Received POST request
[13-Oct-2025 08:55:42 UTC] Checkout: POST data: Array
(
    [discounted_total] => 43.67
    [email] => azfarirfan7767@gmail.com
    [saved_address_id] => 1
    [first_name] => AZFAR
    [last_name] => BIN ASRI
    [address] => Kg Surau Bator
    [apartment] => 
    [city] => Bachok
    [country] => Malaysia
    [state] => Kelantan
    [zip_code] => 16070
    [phone] => +60179853875
    [shipping_method_id] => 1
    [selected_voucher] => 4
    [payment_method] => toyyibpay_fpx
    [payment_method_fallback] => toyyibpay_fpx
    [notes] => 
    [billing_same] => on
)

[13-Oct-2025 08:55:42 UTC] Checkout: Payment method: toyyibpay_fpx
[13-Oct-2025 08:55:42 UTC] Checkout Debug - Applied Voucher: No
[13-Oct-2025 08:55:42 UTC] Inserting order item 0: Product ID = 40, Quantity = 2
[13-Oct-2025 08:55:42 UTC] Order item 0 inserted successfully
[13-Oct-2025 08:55:42 UTC] All order items being processed:
[13-Oct-2025 08:55:42 UTC]   Item 0: Product ID = 40, Quantity = 2, Size = 20ml, Version = EDP / LIGHT
[13-Oct-2025 08:55:42 UTC] Stock deduction summary:
[13-Oct-2025 08:55:42 UTC]   Product ID 40: Total quantity to deduct = 2
[13-Oct-2025 08:55:42 UTC] Stock deducted: Product ID 40, Original Quantity: 2, Adjusted Quantity: 1
[13-Oct-2025 08:55:42 UTC] Order created successfully: ID 76
[13-Oct-2025 08:55:42 UTC] toyyibPay createBill data: Array
(
    [userSecretKey] => j816hxzw-4da3-5a0p-o18t-42rybaon2xky
    [categoryCode] => 93v503tu
    [billName] => Order #76
    [billDescription] => Payment for Order #76
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 4367
    [billReturnUrl] => https://2dayparfum.com/apps/payment-return.php
    [billCallbackUrl] => https://2dayparfum.com/apps/payment-callback.php
    [billExternalReferenceNo] => 76
    [billTo] => AZFAR BIN ASRI
    [billEmail] => azfarirfan7767@gmail.com
    [billPhone] => +60179853875
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[13-Oct-2025 08:55:42 UTC] toyyibPay makeApiCall - URL: https://dev.toyyibpay.com/index.php/api/createBill
[13-Oct-2025 08:55:42 UTC] toyyibPay makeApiCall - Data: Array
(
    [userSecretKey] => j816hxzw-4da3-5a0p-o18t-42rybaon2xky
    [categoryCode] => 93v503tu
    [billName] => Order #76
    [billDescription] => Payment for Order #76
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 4367
    [billReturnUrl] => https://2dayparfum.com/apps/payment-return.php
    [billCallbackUrl] => https://2dayparfum.com/apps/payment-callback.php
    [billExternalReferenceNo] => 76
    [billTo] => AZFAR BIN ASRI
    [billEmail] => azfarirfan7767@gmail.com
    [billPhone] => +60179853875
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[13-Oct-2025 08:55:42 UTC] toyyibPay makeApiCall - HTTP Code: 200
[13-Oct-2025 08:55:42 UTC] toyyibPay makeApiCall - Raw Response: 						[{"BillCode":"wq35ojud"}]
[13-Oct-2025 08:55:42 UTC] toyyibPay makeApiCall - cURL Info: Array
(
    [url] => https://dev.toyyibpay.com/index.php/api/createBill
    [content_type] => text/html; charset=UTF-8
    [http_code] => 200
    [header_size] => 917
    [request_size] => 2604
    [filetime] => -1
    [ssl_verify_result] => 20
    [redirect_count] => 0
    [total_time] => 0.143622
    [namelookup_time] => 0.000516
    [connect_time] => 0.009698
    [pretransfer_time] => 0.024998
    [size_upload] => 2381
    [size_download] => 31
    [speed_download] => 215
    [speed_upload] => 16578
    [download_content_length] => -1
    [upload_content_length] => 2381
    [starttransfer_time] => 0.143429
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 172.67.70.74
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 103.72.163.73
    [local_port] => 42156
    [http_version] => 3
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => https
    [appconnect_time_us] => 24469
    [connect_time_us] => 9698
    [namelookup_time_us] => 516
    [pretransfer_time_us] => 24998
    [redirect_time_us] => 0
    [starttransfer_time_us] => 143429
    [total_time_us] => 143622
)

[13-Oct-2025 08:55:42 UTC] toyyibPay makeApiCall - Decoded Response: Array
(
    [0] => Array
        (
            [BillCode] => wq35ojud
        )

)

[13-Oct-2025 08:55:42 UTC] toyyibPay createBill response: Array
(
    [0] => Array
        (
            [BillCode] => wq35ojud
        )

)

[13-Oct-2025 08:55:42 UTC] toyyibPay createBill success: wq35ojud
[13-Oct-2025 08:55:55 UTC] toyyibPay Callback received: Array
(
    [refno] => TP2510132530002830
    [status] => 1
    [reason] => Payment Approved
    [billcode] => wq35ojud
    [order_id] => 76
    [amount] => 43.67
    [status_id] => 1
    [msg] => ok
    [transaction_id] => TP2510132530002830
    [fpx_transaction_id] => 2510130440184838
    [hash] => 20c1f95e89efaa81cc91891672af6c69
    [transaction_time] => 2025-10-13 04:40:18
)

[13-Oct-2025 08:55:55 UTC] Order updatePaymentInfo: Updated order 76 with fields: status, reference, amount
[13-Oct-2025 08:55:55 UTC] toyyibPay Callback: Order 76 status updated to processing, payment status updated to paid
[13-Oct-2025 08:55:55 UTC] toyyibPay Callback: Payment successful for order 76, amount: 43.67, reference: TP2510132530002830
[13-Oct-2025 08:55:55 UTC] Product::deductVariationStock - Successfully deducted 2 from product_id=40, size=20ml, version=EDP / LIGHT. New stock: 80
[13-Oct-2025 08:55:55 UTC] Stock deduction completed for order 76: 1 successful, 0 failed
[13-Oct-2025 08:55:55 UTC] Loyalty points awarded for order 76: 24 points to user 2
[13-Oct-2025 08:55:55 UTC] Points breakdown: AFNINE 9PM REBEL x2 = 24 points (12 per item)
[13-Oct-2025 08:55:57 UTC] toyyibPay Return: Array
(
    [status_id] => 1
    [billcode] => wq35ojud
    [order_id] => 76
    [msg] => ok
    [transaction_id] => TP2510132530002830
)

[13-Oct-2025 08:55:57 UTC] toyyibPay Return - status_id: 1, billcode: wq35ojud, order_id: 76
[13-Oct-2025 08:55:57 UTC] toyyibPay Return: Redirecting to order-success.php?id=76&payment_status=1
[13-Oct-2025 08:55:57 UTC] Order Success Debug - Order ID: 76
[13-Oct-2025 08:55:57 UTC] Order Success Debug - Voucher ID: NULL
[13-Oct-2025 08:55:57 UTC] Order Success Debug - Voucher Discount Amount: 0.00
[13-Oct-2025 08:55:57 UTC] Order Success Debug - Voucher Info: Not found
[13-Oct-2025 08:55:57 UTC] Order updatePaymentInfo: Updated order 76 with fields: status
[13-Oct-2025 08:55:57 UTC] Order Success Page: Auto-updated order #76 to processing/paid status
[13-Oct-2025 08:55:57 UTC] Product::deductVariationStock - Successfully deducted 2 from product_id=40, size=20ml, version=EDP / LIGHT. New stock: 78
[13-Oct-2025 08:55:57 UTC] Stock deduction completed for order 76: 1 successful, 0 failed
[13-Oct-2025 08:56:06 UTC] Product ID: 40, Feedback records found: 1
[13-Oct-2025 08:56:06 UTC] Product ID: 40, Total sold: 1
[13-Oct-2025 08:57:54 UTC] Product ID: 40, Feedback records found: 1
[13-Oct-2025 08:57:54 UTC] Product ID: 40, Total sold: 1
[13-Oct-2025 08:57:57 UTC] Checkout Debug - Found 4 shipping options
[13-Oct-2025 08:57:57 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[13-Oct-2025 08:57:57 UTC] Shipping Option: jnt (ID: 12, Type: weight_based, Active: 1)
[13-Oct-2025 08:57:57 UTC] Shipping Option: free (ID: 9, Type: free_shipping_threshold, Active: 1)
[13-Oct-2025 08:57:57 UTC] Shipping Option: ezparcel (ID: 1, Type: weight_based, Active: 1)
[13-Oct-2025 08:57:57 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 20)
[13-Oct-2025 08:57:57 UTC] Shipping option 'jnt' availability: YES (subtotal: 20)
[13-Oct-2025 08:57:57 UTC] Shipping option 'free' filtered out: subtotal (20) < min_order_amount (100.00)
[13-Oct-2025 08:57:57 UTC] Shipping option 'free' availability: NO (subtotal: 20)
[13-Oct-2025 08:57:57 UTC] Shipping option 'ezparcel' availability: YES (subtotal: 20)
[13-Oct-2025 08:57:57 UTC] Checkout Debug - User ID: 2
[13-Oct-2025 08:57:57 UTC] Checkout Debug - Claimed vouchers count: 1
[13-Oct-2025 08:57:57 UTC] Checkout Debug - Voucher: Premium Sample (ID: 4, Status: active)
[13-Oct-2025 08:58:06 UTC] Checkout: Received POST request
[13-Oct-2025 08:58:06 UTC] Checkout: POST data: Array
(
    [discounted_total] => 20.00
    [email] => azfarirfan7767@gmail.com
    [saved_address_id] => 1
    [first_name] => AZFAR
    [last_name] => BIN ASRI
    [address] => Kg Surau Bator
    [apartment] => 
    [city] => Bachok
    [country] => Malaysia
    [state] => Kelantan
    [zip_code] => 16070
    [phone] => +60179853875
    [shipping_method_id] => 11
    [payment_method] => toyyibpay_fpx
    [payment_method_fallback] => toyyibpay_fpx
    [notes] => 
    [billing_same] => on
)

[13-Oct-2025 08:58:06 UTC] Checkout: Payment method: toyyibpay_fpx
[13-Oct-2025 08:58:06 UTC] Checkout Debug - Applied Voucher: No
[13-Oct-2025 08:58:06 UTC] Inserting order item 0: Product ID = 40, Quantity = 1
[13-Oct-2025 08:58:06 UTC] Order item 0 inserted successfully
[13-Oct-2025 08:58:06 UTC] All order items being processed:
[13-Oct-2025 08:58:06 UTC]   Item 0: Product ID = 40, Quantity = 1, Size = 20ml, Version = EDP / LIGHT
[13-Oct-2025 08:58:06 UTC] Stock deduction summary:
[13-Oct-2025 08:58:06 UTC]   Product ID 40: Total quantity to deduct = 1
[13-Oct-2025 08:58:06 UTC] Stock deducted: Product ID 40, Original Quantity: 1, Adjusted Quantity: 0
[13-Oct-2025 08:58:06 UTC] Order created successfully: ID 77
[13-Oct-2025 08:58:06 UTC] toyyibPay createBill data: Array
(
    [userSecretKey] => j816hxzw-4da3-5a0p-o18t-42rybaon2xky
    [categoryCode] => 93v503tu
    [billName] => Order #77
    [billDescription] => Payment for Order #77
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 2000
    [billReturnUrl] => https://2dayparfum.com/apps/payment-return.php
    [billCallbackUrl] => https://2dayparfum.com/apps/payment-callback.php
    [billExternalReferenceNo] => 77
    [billTo] => AZFAR BIN ASRI
    [billEmail] => azfarirfan7767@gmail.com
    [billPhone] => +60179853875
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[13-Oct-2025 08:58:06 UTC] toyyibPay makeApiCall - URL: https://dev.toyyibpay.com/index.php/api/createBill
[13-Oct-2025 08:58:06 UTC] toyyibPay makeApiCall - Data: Array
(
    [userSecretKey] => j816hxzw-4da3-5a0p-o18t-42rybaon2xky
    [categoryCode] => 93v503tu
    [billName] => Order #77
    [billDescription] => Payment for Order #77
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 2000
    [billReturnUrl] => https://2dayparfum.com/apps/payment-return.php
    [billCallbackUrl] => https://2dayparfum.com/apps/payment-callback.php
    [billExternalReferenceNo] => 77
    [billTo] => AZFAR BIN ASRI
    [billEmail] => azfarirfan7767@gmail.com
    [billPhone] => +60179853875
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[13-Oct-2025 08:58:06 UTC] toyyibPay makeApiCall - HTTP Code: 200
[13-Oct-2025 08:58:06 UTC] toyyibPay makeApiCall - Raw Response: 						[{"BillCode":"rnkzzvw8"}]
[13-Oct-2025 08:58:06 UTC] toyyibPay makeApiCall - cURL Info: Array
(
    [url] => https://dev.toyyibpay.com/index.php/api/createBill
    [content_type] => text/html; charset=UTF-8
    [http_code] => 200
    [header_size] => 922
    [request_size] => 2604
    [filetime] => -1
    [ssl_verify_result] => 20
    [redirect_count] => 0
    [total_time] => 0.104068
    [namelookup_time] => 0.000458
    [connect_time] => 0.009987
    [pretransfer_time] => 0.02348
    [size_upload] => 2381
    [size_download] => 31
    [speed_download] => 297
    [speed_upload] => 22879
    [download_content_length] => -1
    [upload_content_length] => 2381
    [starttransfer_time] => 0.103965
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 172.67.70.74
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 103.72.163.73
    [local_port] => 52320
    [http_version] => 3
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => https
    [appconnect_time_us] => 23198
    [connect_time_us] => 9987
    [namelookup_time_us] => 458
    [pretransfer_time_us] => 23480
    [redirect_time_us] => 0
    [starttransfer_time_us] => 103965
    [total_time_us] => 104068
)

[13-Oct-2025 08:58:06 UTC] toyyibPay makeApiCall - Decoded Response: Array
(
    [0] => Array
        (
            [BillCode] => rnkzzvw8
        )

)

[13-Oct-2025 08:58:06 UTC] toyyibPay createBill response: Array
(
    [0] => Array
        (
            [BillCode] => rnkzzvw8
        )

)

[13-Oct-2025 08:58:06 UTC] toyyibPay createBill success: rnkzzvw8
[13-Oct-2025 08:58:20 UTC] toyyibPay Callback received: Array
(
    [refno] => TP2510134488122560
    [status] => 1
    [reason] => Payment Approved
    [billcode] => rnkzzvw8
    [order_id] => 77
    [amount] => 20.00
    [status_id] => 1
    [msg] => ok
    [transaction_id] => TP2510134488122560
    [fpx_transaction_id] => 2510130442424646
    [hash] => f5d4b0a2de9838d7f0fa1cdcdc3c9135
    [transaction_time] => 2025-10-13 04:42:42
)

[13-Oct-2025 08:58:20 UTC] Order updatePaymentInfo: Updated order 77 with fields: status, reference, amount
[13-Oct-2025 08:58:20 UTC] toyyibPay Callback: Order 77 status updated to processing, payment status updated to paid
[13-Oct-2025 08:58:20 UTC] toyyibPay Callback: Payment successful for order 77, amount: 20.00, reference: TP2510134488122560
[13-Oct-2025 08:58:20 UTC] Product::deductVariationStock - Successfully deducted 1 from product_id=40, size=20ml, version=EDP / LIGHT. New stock: 77
[13-Oct-2025 08:58:20 UTC] Stock deduction completed for order 77: 1 successful, 0 failed
[13-Oct-2025 08:58:20 UTC] Loyalty points awarded for order 77: 12 points to user 2
[13-Oct-2025 08:58:20 UTC] Points breakdown: AFNINE 9PM REBEL x1 = 12 points (12 per item)
[13-Oct-2025 08:58:21 UTC] toyyibPay Return: Array
(
    [status_id] => 1
    [billcode] => rnkzzvw8
    [order_id] => 77
    [msg] => ok
    [transaction_id] => TP2510134488122560
)

[13-Oct-2025 08:58:21 UTC] toyyibPay Return - status_id: 1, billcode: rnkzzvw8, order_id: 77
[13-Oct-2025 08:58:21 UTC] toyyibPay Return: Redirecting to order-success.php?id=77&payment_status=1
[13-Oct-2025 08:58:21 UTC] Order Success Debug - Order ID: 77
[13-Oct-2025 08:58:21 UTC] Order Success Debug - Voucher ID: NULL
[13-Oct-2025 08:58:21 UTC] Order Success Debug - Voucher Discount Amount: 0.00
[13-Oct-2025 08:58:21 UTC] Order Success Debug - Voucher Info: Not found
[13-Oct-2025 08:58:21 UTC] Order updatePaymentInfo: Updated order 77 with fields: status
[13-Oct-2025 08:58:21 UTC] Order Success Page: Auto-updated order #77 to processing/paid status
[13-Oct-2025 08:58:21 UTC] Product::deductVariationStock - Successfully deducted 1 from product_id=40, size=20ml, version=EDP / LIGHT. New stock: 76
[13-Oct-2025 08:58:21 UTC] Stock deduction completed for order 77: 1 successful, 0 failed
[13-Oct-2025 08:58:25 UTC] Product ID: 40, Feedback records found: 1
[13-Oct-2025 08:58:25 UTC] Product ID: 40, Total sold: 1
[13-Oct-2025 08:58:26 UTC] Product ID: 40, Feedback records found: 1
[13-Oct-2025 08:58:26 UTC] Product ID: 40, Total sold: 1
[13-Oct-2025 09:31:17 UTC] Product ID: 36, Feedback records found: 1
[13-Oct-2025 09:31:17 UTC] Product ID: 36, Total sold: 1
[13-Oct-2025 09:31:20 UTC] Add to cart: user_id=2, session_id=qh2ahg2v63mih29c5rd214t26k, product_id=36, quantity=1, size=10ml, version=EDP / LIGHT, price=14.9
[13-Oct-2025 09:31:20 UTC] Cart::addItem - user_id: 2, session_id: qh2ahg2v63mih29c5rd214t26k, product_id: 36, size: 10ml, version: EDP / LIGHT, quantity: 1, price: 14.9
[13-Oct-2025 09:31:20 UTC] Cart::getCartItem - Query: SELECT * FROM cart 
                  WHERE product_id = :product_id AND size = :size AND version = :version AND user_id = :user_id
[13-Oct-2025 09:31:20 UTC] Cart::getCartItem - Params: {"product_id":36,"size":"10ml","version":"EDP \/ LIGHT","user_id":"2"}
[13-Oct-2025 09:31:20 UTC] Cart::getCartItem - No existing item found
[13-Oct-2025 09:31:20 UTC] Cart::getSessionCartItem - Query: SELECT * FROM cart 
                  WHERE session_id = :session_id AND product_id = :product_id AND size = :size AND version = :version
[13-Oct-2025 09:31:20 UTC] Cart::getSessionCartItem - Params: {"session_id":"qh2ahg2v63mih29c5rd214t26k","product_id":36,"size":"10ml","version":"EDP \/ LIGHT"}
[13-Oct-2025 09:31:20 UTC] Cart::getSessionCartItem - No session item found
[13-Oct-2025 09:31:20 UTC] Cart::addItem - No existing item found, creating new item
[13-Oct-2025 09:31:20 UTC] Cart::addItem - Successfully created new item with ID: 105
[13-Oct-2025 09:31:20 UTC] Successfully added to cart. Cart count: 1, Cart item ID: 105
[13-Oct-2025 09:31:21 UTC] Shipping config query for amount 14.9 found: {"id":"12","name":"jnt","description":"","fee_type":"weight_based","base_fee":"3.00","fee_value":"0.00","min_order_amount":"1.00","max_order_amount":null,"delivery_days_min":"3","delivery_days_max":"4","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:44:05","updated_at":"2025-10-13 15:44:05","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[13-Oct-2025 09:31:21 UTC] Cart page requesting shipping config for order amount: 14.9
[13-Oct-2025 09:31:25 UTC] Checkout Debug - Found 4 shipping options
[13-Oct-2025 09:31:25 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[13-Oct-2025 09:31:25 UTC] Shipping Option: jnt (ID: 12, Type: weight_based, Active: 1)
[13-Oct-2025 09:31:25 UTC] Shipping Option: free (ID: 9, Type: free_shipping_threshold, Active: 1)
[13-Oct-2025 09:31:25 UTC] Shipping Option: ezparcel (ID: 1, Type: weight_based, Active: 1)
[13-Oct-2025 09:31:25 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 14.9)
[13-Oct-2025 09:31:25 UTC] Shipping option 'jnt' availability: YES (subtotal: 14.9)
[13-Oct-2025 09:31:25 UTC] Shipping option 'free' filtered out: subtotal (14.9) < min_order_amount (100.00)
[13-Oct-2025 09:31:25 UTC] Shipping option 'free' availability: NO (subtotal: 14.9)
[13-Oct-2025 09:31:25 UTC] Shipping option 'ezparcel' availability: YES (subtotal: 14.9)
[13-Oct-2025 09:31:25 UTC] Checkout Debug - User ID: 2
[13-Oct-2025 09:31:25 UTC] Checkout Debug - Claimed vouchers count: 1
[13-Oct-2025 09:31:25 UTC] Checkout Debug - Voucher: Premium Sample (ID: 4, Status: active)
[13-Oct-2025 09:31:31 UTC] Checkout: Received POST request
[13-Oct-2025 09:31:31 UTC] Checkout: POST data: Array
(
    [discounted_total] => 17.90
    [email] => azfarirfan7767@gmail.com
    [saved_address_id] => 1
    [first_name] => AZFAR
    [last_name] => BIN ASRI
    [address] => Kg Surau Bator
    [apartment] => 
    [city] => Bachok
    [country] => Malaysia
    [state] => Kelantan
    [zip_code] => 16070
    [phone] => +60179853875
    [shipping_method_id] => 12
    [payment_method] => toyyibpay_fpx
    [payment_method_fallback] => toyyibpay_fpx
    [notes] => 
    [billing_same] => on
)

[13-Oct-2025 09:31:31 UTC] Checkout: Payment method: toyyibpay_fpx
[13-Oct-2025 09:31:31 UTC] Checkout Debug - Applied Voucher: No
[13-Oct-2025 09:31:31 UTC] Stock deduction summary:
[13-Oct-2025 09:31:31 UTC]   Product ID 36: Total quantity to deduct = 1
[13-Oct-2025 09:31:31 UTC] Stock deducted: Product ID 36, Total Quantity: 1
[13-Oct-2025 09:31:31 UTC] Order created successfully: ID 78
[13-Oct-2025 09:31:31 UTC] toyyibPay createBill data: Array
(
    [userSecretKey] => j816hxzw-4da3-5a0p-o18t-42rybaon2xky
    [categoryCode] => 93v503tu
    [billName] => Order #78
    [billDescription] => Payment for Order #78
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 1790
    [billReturnUrl] => https://2dayparfum.com/apps/payment-return.php
    [billCallbackUrl] => https://2dayparfum.com/apps/payment-callback.php
    [billExternalReferenceNo] => 78
    [billTo] => AZFAR BIN ASRI
    [billEmail] => azfarirfan7767@gmail.com
    [billPhone] => +60179853875
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[13-Oct-2025 09:31:31 UTC] toyyibPay makeApiCall - URL: https://dev.toyyibpay.com/index.php/api/createBill
[13-Oct-2025 09:31:31 UTC] toyyibPay makeApiCall - Data: Array
(
    [userSecretKey] => j816hxzw-4da3-5a0p-o18t-42rybaon2xky
    [categoryCode] => 93v503tu
    [billName] => Order #78
    [billDescription] => Payment for Order #78
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 1790
    [billReturnUrl] => https://2dayparfum.com/apps/payment-return.php
    [billCallbackUrl] => https://2dayparfum.com/apps/payment-callback.php
    [billExternalReferenceNo] => 78
    [billTo] => AZFAR BIN ASRI
    [billEmail] => azfarirfan7767@gmail.com
    [billPhone] => +60179853875
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[13-Oct-2025 09:31:31 UTC] toyyibPay makeApiCall - HTTP Code: 200
[13-Oct-2025 09:31:31 UTC] toyyibPay makeApiCall - Raw Response: 						[{"BillCode":"fossalfz"}]
[13-Oct-2025 09:31:31 UTC] toyyibPay makeApiCall - cURL Info: Array
(
    [url] => https://dev.toyyibpay.com/index.php/api/createBill
    [content_type] => text/html; charset=UTF-8
    [http_code] => 200
    [header_size] => 919
    [request_size] => 2604
    [filetime] => -1
    [ssl_verify_result] => 20
    [redirect_count] => 0
    [total_time] => 0.154985
    [namelookup_time] => 0.033152
    [connect_time] => 0.042177
    [pretransfer_time] => 0.056405
    [size_upload] => 2381
    [size_download] => 31
    [speed_download] => 200
    [speed_upload] => 15362
    [download_content_length] => -1
    [upload_content_length] => 2381
    [starttransfer_time] => 0.154697
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 172.67.70.74
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 103.72.163.73
    [local_port] => 41436
    [http_version] => 3
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => https
    [appconnect_time_us] => 56123
    [connect_time_us] => 42177
    [namelookup_time_us] => 33152
    [pretransfer_time_us] => 56405
    [redirect_time_us] => 0
    [starttransfer_time_us] => 154697
    [total_time_us] => 154985
)

[13-Oct-2025 09:31:31 UTC] toyyibPay makeApiCall - Decoded Response: Array
(
    [0] => Array
        (
            [BillCode] => fossalfz
        )

)

[13-Oct-2025 09:31:31 UTC] toyyibPay createBill response: Array
(
    [0] => Array
        (
            [BillCode] => fossalfz
        )

)

[13-Oct-2025 09:31:31 UTC] toyyibPay createBill success: fossalfz
[13-Oct-2025 09:31:47 UTC] toyyibPay Callback received: Array
(
    [refno] => TP2510133393947271
    [status] => 1
    [reason] => Payment Approved
    [billcode] => fossalfz
    [order_id] => 78
    [amount] => 17.90
    [status_id] => 1
    [msg] => ok
    [transaction_id] => TP2510133393947271
    [fpx_transaction_id] => 2510130516095075
    [hash] => 9e2597ee9f406692d5c13724f5411357
    [transaction_time] => 2025-10-13 05:16:09
)

[13-Oct-2025 09:31:47 UTC] Order updatePaymentInfo: Updated order 78 with fields: status, reference, amount
[13-Oct-2025 09:31:47 UTC] toyyibPay Callback: Order 78 status updated to processing, payment status updated to paid
[13-Oct-2025 09:31:47 UTC] toyyibPay Callback: Payment successful for order 78, amount: 17.90, reference: TP2510133393947271
[13-Oct-2025 09:31:47 UTC] Product::deductVariationStock - Successfully deducted 1 from product_id=36, size=10ml, version=EDP / LIGHT. New stock: 22
[13-Oct-2025 09:31:47 UTC] Stock deduction completed for order 78: 1 successful, 0 failed
[13-Oct-2025 09:31:47 UTC] No loyalty points to award for order 78 (no products with point rewards)
[13-Oct-2025 09:31:48 UTC] toyyibPay Return: Array
(
    [status_id] => 1
    [billcode] => fossalfz
    [order_id] => 78
    [msg] => ok
    [transaction_id] => TP2510133393947271
)

[13-Oct-2025 09:31:48 UTC] toyyibPay Return - status_id: 1, billcode: fossalfz, order_id: 78
[13-Oct-2025 09:31:48 UTC] toyyibPay Return: Redirecting to order-success.php?id=78&payment_status=1
[13-Oct-2025 09:31:48 UTC] Order Success Debug - Order ID: 78
[13-Oct-2025 09:31:48 UTC] Order Success Debug - Voucher ID: NULL
[13-Oct-2025 09:31:48 UTC] Order Success Debug - Voucher Discount Amount: 0.00
[13-Oct-2025 09:31:48 UTC] Order Success Debug - Voucher Info: Not found
[13-Oct-2025 09:31:48 UTC] Order updatePaymentInfo: Updated order 78 with fields: status
[13-Oct-2025 09:31:48 UTC] Order Success Page: Auto-updated order #78 to processing/paid status
[13-Oct-2025 09:31:48 UTC] Product::deductVariationStock - Successfully deducted 1 from product_id=36, size=10ml, version=EDP / LIGHT. New stock: 21
[13-Oct-2025 09:31:48 UTC] Stock deduction completed for order 78: 1 successful, 0 failed
[13-Oct-2025 09:31:58 UTC] Shipping config query for amount 0 found: {"id":"11","name":"Pickup Order","description":"Self collection from store (free shipping)","fee_type":"pickup","base_fee":"0.00","fee_value":"0.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"0","delivery_days_max":"0","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:37:58","updated_at":"2025-10-13 15:37:58","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[13-Oct-2025 09:31:58 UTC] Cart page requesting shipping config for order amount: 0
[13-Oct-2025 10:18:09 UTC] Product ID: 40, Feedback records found: 1
[13-Oct-2025 10:18:09 UTC] Product ID: 40, Total sold: 1
[13-Oct-2025 16:03:30 UTC] Product ID: 36, Feedback records found: 1
[13-Oct-2025 16:03:30 UTC] Product ID: 36, Total sold: 1
[13-Oct-2025 16:03:35 UTC] Product ID: 40, Feedback records found: 1
[13-Oct-2025 16:03:35 UTC] Product ID: 40, Total sold: 1
[13-Oct-2025 16:03:48 UTC] Product ID: 32, Feedback records found: 2
[13-Oct-2025 16:03:48 UTC] Product ID: 32, Total sold: 1
[13-Oct-2025 16:03:52 UTC] Checkout Debug - Found 4 shipping options
[13-Oct-2025 16:03:52 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[13-Oct-2025 16:03:52 UTC] Shipping Option: jnt (ID: 12, Type: weight_based, Active: 1)
[13-Oct-2025 16:03:52 UTC] Shipping Option: free (ID: 9, Type: free_shipping_threshold, Active: 1)
[13-Oct-2025 16:03:52 UTC] Shipping Option: ezparcel (ID: 1, Type: weight_based, Active: 1)
[13-Oct-2025 16:03:52 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 14.9)
[13-Oct-2025 16:03:52 UTC] Shipping option 'jnt' availability: YES (subtotal: 14.9)
[13-Oct-2025 16:03:52 UTC] Shipping option 'free' filtered out: subtotal (14.9) < min_order_amount (100.00)
[13-Oct-2025 16:03:52 UTC] Shipping option 'free' availability: NO (subtotal: 14.9)
[13-Oct-2025 16:03:52 UTC] Shipping option 'ezparcel' availability: YES (subtotal: 14.9)
[13-Oct-2025 16:03:52 UTC] Checkout Debug - User ID: 2
[13-Oct-2025 16:03:52 UTC] Checkout Debug - Claimed vouchers count: 1
[13-Oct-2025 16:03:52 UTC] Checkout Debug - Voucher: Premium Sample (ID: 4, Status: active)
[14-Oct-2025 04:00:21 UTC] Product ID: 32, Feedback records found: 2
[14-Oct-2025 04:00:21 UTC] Product ID: 32, Total sold: 1
[14-Oct-2025 04:01:04 UTC] Product ID: 36, Feedback records found: 3
[14-Oct-2025 04:01:04 UTC] Product ID: 36, Total sold: 3
[14-Oct-2025 04:01:29 UTC] Product ID: 32, Feedback records found: 3
[14-Oct-2025 04:01:29 UTC] Product ID: 32, Total sold: 2
[14-Oct-2025 04:01:33 UTC] Checkout Debug - Found 4 shipping options
[14-Oct-2025 04:01:33 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[14-Oct-2025 04:01:33 UTC] Shipping Option: jnt (ID: 12, Type: weight_based, Active: 1)
[14-Oct-2025 04:01:33 UTC] Shipping Option: free (ID: 9, Type: free_shipping_threshold, Active: 1)
[14-Oct-2025 04:01:33 UTC] Shipping Option: ezparcel (ID: 1, Type: weight_based, Active: 1)
[14-Oct-2025 04:01:33 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 17)
[14-Oct-2025 04:01:33 UTC] Shipping option 'jnt' availability: YES (subtotal: 17)
[14-Oct-2025 04:01:33 UTC] Shipping option 'free' filtered out: subtotal (17) < min_order_amount (100.00)
[14-Oct-2025 04:01:33 UTC] Shipping option 'free' availability: NO (subtotal: 17)
[14-Oct-2025 04:01:33 UTC] Shipping option 'ezparcel' availability: YES (subtotal: 17)
[14-Oct-2025 04:01:33 UTC] Checkout Debug - User ID: 2
[14-Oct-2025 04:01:33 UTC] Checkout Debug - Claimed vouchers count: 1
[14-Oct-2025 04:01:33 UTC] Checkout Debug - Voucher: Premium Sample (ID: 4, Status: active)
[14-Oct-2025 04:02:06 UTC] Shipping config query for amount 0 found: {"id":"11","name":"Pickup Order","description":"Self collection from store (free shipping)","fee_type":"pickup","base_fee":"0.00","fee_value":"0.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"0","delivery_days_max":"0","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:37:58","updated_at":"2025-10-13 15:37:58","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[14-Oct-2025 04:02:06 UTC] Cart page requesting shipping config for order amount: 0
[14-Oct-2025 04:02:08 UTC] Product ID: 36, Feedback records found: 3
[14-Oct-2025 04:02:08 UTC] Product ID: 36, Total sold: 3
[14-Oct-2025 04:02:10 UTC] Add to cart: user_id=2, session_id=qh2ahg2v63mih29c5rd214t26k, product_id=36, quantity=1, size=10ml, version=EDP / LIGHT, price=14.9
[14-Oct-2025 04:02:10 UTC] Cart::addItem - user_id: 2, session_id: qh2ahg2v63mih29c5rd214t26k, product_id: 36, size: 10ml, version: EDP / LIGHT, quantity: 1, price: 14.9
[14-Oct-2025 04:02:10 UTC] Cart::getCartItem - Query: SELECT * FROM cart 
                  WHERE product_id = :product_id AND size = :size AND version = :version AND user_id = :user_id
[14-Oct-2025 04:02:10 UTC] Cart::getCartItem - Params: {"product_id":36,"size":"10ml","version":"EDP \/ LIGHT","user_id":"2"}
[14-Oct-2025 04:02:10 UTC] Cart::getCartItem - No existing item found
[14-Oct-2025 04:02:10 UTC] Cart::getSessionCartItem - Query: SELECT * FROM cart 
                  WHERE session_id = :session_id AND product_id = :product_id AND size = :size AND version = :version
[14-Oct-2025 04:02:10 UTC] Cart::getSessionCartItem - Params: {"session_id":"qh2ahg2v63mih29c5rd214t26k","product_id":36,"size":"10ml","version":"EDP \/ LIGHT"}
[14-Oct-2025 04:02:10 UTC] Cart::getSessionCartItem - No session item found
[14-Oct-2025 04:02:10 UTC] Cart::addItem - No existing item found, creating new item
[14-Oct-2025 04:02:10 UTC] Cart::addItem - Successfully created new item with ID: 106
[14-Oct-2025 04:02:10 UTC] Successfully added to cart. Cart count: 1, Cart item ID: 106
[14-Oct-2025 04:02:13 UTC] Shipping config query for amount 14.9 found: {"id":"12","name":"jnt","description":"","fee_type":"weight_based","base_fee":"3.00","fee_value":"0.00","min_order_amount":"1.00","max_order_amount":null,"delivery_days_min":"3","delivery_days_max":"4","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:44:05","updated_at":"2025-10-13 15:44:05","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[14-Oct-2025 04:02:13 UTC] Cart page requesting shipping config for order amount: 14.9
[14-Oct-2025 04:02:16 UTC] Product ID: 36, Feedback records found: 3
[14-Oct-2025 04:02:16 UTC] Product ID: 36, Total sold: 3
[14-Oct-2025 04:02:19 UTC] Checkout Debug - Found 4 shipping options
[14-Oct-2025 04:02:19 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[14-Oct-2025 04:02:19 UTC] Shipping Option: jnt (ID: 12, Type: weight_based, Active: 1)
[14-Oct-2025 04:02:19 UTC] Shipping Option: free (ID: 9, Type: free_shipping_threshold, Active: 1)
[14-Oct-2025 04:02:19 UTC] Shipping Option: ezparcel (ID: 1, Type: weight_based, Active: 1)
[14-Oct-2025 04:02:19 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 14.9)
[14-Oct-2025 04:02:19 UTC] Shipping option 'jnt' availability: YES (subtotal: 14.9)
[14-Oct-2025 04:02:19 UTC] Shipping option 'free' filtered out: subtotal (14.9) < min_order_amount (100.00)
[14-Oct-2025 04:02:19 UTC] Shipping option 'free' availability: NO (subtotal: 14.9)
[14-Oct-2025 04:02:19 UTC] Shipping option 'ezparcel' availability: YES (subtotal: 14.9)
[14-Oct-2025 04:02:19 UTC] Checkout Debug - User ID: 2
[14-Oct-2025 04:02:19 UTC] Checkout Debug - Claimed vouchers count: 1
[14-Oct-2025 04:02:19 UTC] Checkout Debug - Voucher: Premium Sample (ID: 4, Status: active)
[14-Oct-2025 04:08:01 UTC] Shipping config query for amount 14.9 found: {"id":"12","name":"jnt","description":"","fee_type":"weight_based","base_fee":"3.00","fee_value":"0.00","min_order_amount":"1.00","max_order_amount":null,"delivery_days_min":"3","delivery_days_max":"4","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:44:05","updated_at":"2025-10-13 15:44:05","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[14-Oct-2025 04:08:01 UTC] Cart page requesting shipping config for order amount: 14.9
[14-Oct-2025 08:25:52 UTC] Product ID: 40, Feedback records found: 1
[14-Oct-2025 08:25:52 UTC] Product ID: 40, Total sold: 1
[14-Oct-2025 08:26:14 UTC] Product ID: 40, Feedback records found: 1
[14-Oct-2025 08:26:14 UTC] Product ID: 40, Total sold: 1
[14-Oct-2025 08:26:18 UTC] Shipping config query for amount 14.9 found: {"id":"12","name":"jnt","description":"","fee_type":"weight_based","base_fee":"3.00","fee_value":"0.00","min_order_amount":"1.00","max_order_amount":null,"delivery_days_min":"3","delivery_days_max":"4","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:44:05","updated_at":"2025-10-13 15:44:05","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[14-Oct-2025 08:26:18 UTC] Cart page requesting shipping config for order amount: 14.9
[14-Oct-2025 08:26:24 UTC] Product ID: 40, Feedback records found: 1
[14-Oct-2025 08:26:24 UTC] Product ID: 40, Total sold: 1
[14-Oct-2025 08:27:09 UTC] Product ID: 40, Feedback records found: 1
[14-Oct-2025 08:27:09 UTC] Product ID: 40, Total sold: 1
[15-Oct-2025 05:22:52 UTC] Product ID: 36, Feedback records found: 3
[15-Oct-2025 05:22:52 UTC] Product ID: 36, Total sold: 3
[15-Oct-2025 05:23:51 UTC] Checkout Debug - Found 4 shipping options
[15-Oct-2025 05:23:51 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[15-Oct-2025 05:23:51 UTC] Shipping Option: jnt (ID: 12, Type: weight_based, Active: 1)
[15-Oct-2025 05:23:51 UTC] Shipping Option: free (ID: 9, Type: free_shipping_threshold, Active: 1)
[15-Oct-2025 05:23:51 UTC] Shipping Option: ezparcel (ID: 1, Type: weight_based, Active: 1)
[15-Oct-2025 05:23:51 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 14.9)
[15-Oct-2025 05:23:51 UTC] Shipping option 'jnt' availability: YES (subtotal: 14.9)
[15-Oct-2025 05:23:51 UTC] Shipping option 'free' filtered out: subtotal (14.9) < min_order_amount (100.00)
[15-Oct-2025 05:23:51 UTC] Shipping option 'free' availability: NO (subtotal: 14.9)
[15-Oct-2025 05:23:51 UTC] Shipping option 'ezparcel' availability: YES (subtotal: 14.9)
[15-Oct-2025 05:23:51 UTC] Checkout Debug - User ID: 10
[15-Oct-2025 05:23:51 UTC] Checkout Debug - Claimed vouchers count: 0
[15-Oct-2025 05:25:06 UTC] Shipping config query for amount 0 found: {"id":"11","name":"Pickup Order","description":"Self collection from store (free shipping)","fee_type":"pickup","base_fee":"0.00","fee_value":"0.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"0","delivery_days_max":"0","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:37:58","updated_at":"2025-10-13 15:37:58","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[15-Oct-2025 05:25:06 UTC] Cart page requesting shipping config for order amount: 0
[15-Oct-2025 05:36:50 UTC] Shipping config query for amount 0 found: {"id":"11","name":"Pickup Order","description":"Self collection from store (free shipping)","fee_type":"pickup","base_fee":"0.00","fee_value":"0.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"0","delivery_days_max":"0","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:37:58","updated_at":"2025-10-13 15:37:58","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[15-Oct-2025 05:36:50 UTC] Cart page requesting shipping config for order amount: 0
[15-Oct-2025 05:36:54 UTC] Product ID: 32, Feedback records found: 3
[15-Oct-2025 05:36:54 UTC] Product ID: 32, Total sold: 2
[15-Oct-2025 05:37:08 UTC] Shipping config query for amount 0 found: {"id":"11","name":"Pickup Order","description":"Self collection from store (free shipping)","fee_type":"pickup","base_fee":"0.00","fee_value":"0.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"0","delivery_days_max":"0","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:37:58","updated_at":"2025-10-13 15:37:58","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[15-Oct-2025 05:37:08 UTC] Cart page requesting shipping config for order amount: 0
[15-Oct-2025 05:37:49 UTC] Product ID: 32, Feedback records found: 3
[15-Oct-2025 05:37:49 UTC] Product ID: 32, Total sold: 2
[15-Oct-2025 05:37:56 UTC] Add to cart: user_id=10, session_id=q167m4hslluta9oar2ee5535kh, product_id=32, quantity=1, size=20ml, version=EDP / LIGHT, price=17
[15-Oct-2025 05:37:56 UTC] Cart::addItem - user_id: 10, session_id: q167m4hslluta9oar2ee5535kh, product_id: 32, size: 20ml, version: EDP / LIGHT, quantity: 1, price: 17
[15-Oct-2025 05:37:56 UTC] Cart::getCartItem - Query: SELECT * FROM cart 
                  WHERE product_id = :product_id AND size = :size AND version = :version AND user_id = :user_id
[15-Oct-2025 05:37:56 UTC] Cart::getCartItem - Params: {"product_id":32,"size":"20ml","version":"EDP \/ LIGHT","user_id":"10"}
[15-Oct-2025 05:37:56 UTC] Cart::getCartItem - No existing item found
[15-Oct-2025 05:37:56 UTC] Cart::getSessionCartItem - Query: SELECT * FROM cart 
                  WHERE session_id = :session_id AND product_id = :product_id AND size = :size AND version = :version
[15-Oct-2025 05:37:56 UTC] Cart::getSessionCartItem - Params: {"session_id":"q167m4hslluta9oar2ee5535kh","product_id":32,"size":"20ml","version":"EDP \/ LIGHT"}
[15-Oct-2025 05:37:56 UTC] Cart::getSessionCartItem - No session item found
[15-Oct-2025 05:37:56 UTC] Cart::addItem - No existing item found, creating new item
[15-Oct-2025 05:37:56 UTC] Cart::addItem - Successfully created new item with ID: 107
[15-Oct-2025 05:37:56 UTC] Successfully added to cart. Cart count: 1, Cart item ID: 107
[15-Oct-2025 05:38:33 UTC] Add to cart: user_id=10, session_id=q167m4hslluta9oar2ee5535kh, product_id=32, quantity=1, size=10ml, version=EDP / LIGHT, price=14.9
[15-Oct-2025 05:38:33 UTC] Cart::addItem - user_id: 10, session_id: q167m4hslluta9oar2ee5535kh, product_id: 32, size: 10ml, version: EDP / LIGHT, quantity: 1, price: 14.9
[15-Oct-2025 05:38:33 UTC] Cart::getCartItem - Query: SELECT * FROM cart 
                  WHERE product_id = :product_id AND size = :size AND version = :version AND user_id = :user_id
[15-Oct-2025 05:38:33 UTC] Cart::getCartItem - Params: {"product_id":32,"size":"10ml","version":"EDP \/ LIGHT","user_id":"10"}
[15-Oct-2025 05:38:33 UTC] Cart::getCartItem - No existing item found
[15-Oct-2025 05:38:33 UTC] Cart::getSessionCartItem - Query: SELECT * FROM cart 
                  WHERE session_id = :session_id AND product_id = :product_id AND size = :size AND version = :version
[15-Oct-2025 05:38:33 UTC] Cart::getSessionCartItem - Params: {"session_id":"q167m4hslluta9oar2ee5535kh","product_id":32,"size":"10ml","version":"EDP \/ LIGHT"}
[15-Oct-2025 05:38:33 UTC] Cart::getSessionCartItem - No session item found
[15-Oct-2025 05:38:33 UTC] Cart::addItem - No existing item found, creating new item
[15-Oct-2025 05:38:33 UTC] Cart::addItem - Successfully created new item with ID: 108
[15-Oct-2025 05:38:33 UTC] Successfully added to cart. Cart count: 2, Cart item ID: 108
[15-Oct-2025 05:38:34 UTC] Checkout Debug - Found 4 shipping options
[15-Oct-2025 05:38:34 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[15-Oct-2025 05:38:34 UTC] Shipping Option: jnt (ID: 12, Type: weight_based, Active: 1)
[15-Oct-2025 05:38:34 UTC] Shipping Option: free (ID: 9, Type: free_shipping_threshold, Active: 1)
[15-Oct-2025 05:38:34 UTC] Shipping Option: ezparcel (ID: 1, Type: weight_based, Active: 1)
[15-Oct-2025 05:38:34 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 14.9)
[15-Oct-2025 05:38:34 UTC] Shipping option 'jnt' availability: YES (subtotal: 14.9)
[15-Oct-2025 05:38:34 UTC] Shipping option 'free' filtered out: subtotal (14.9) < min_order_amount (100.00)
[15-Oct-2025 05:38:34 UTC] Shipping option 'free' availability: NO (subtotal: 14.9)
[15-Oct-2025 05:38:34 UTC] Shipping option 'ezparcel' availability: YES (subtotal: 14.9)
[15-Oct-2025 05:38:34 UTC] Checkout Debug - User ID: 10
[15-Oct-2025 05:38:34 UTC] Checkout Debug - Claimed vouchers count: 0
[15-Oct-2025 05:38:51 UTC] Product ID: 36, Feedback records found: 3
[15-Oct-2025 05:38:51 UTC] Product ID: 36, Total sold: 3
[15-Oct-2025 05:42:24 UTC] Add to cart: user_id=10, session_id=q167m4hslluta9oar2ee5535kh, product_id=36, quantity=1, size=10ml, version=EDP / LIGHT, price=14.9
[15-Oct-2025 05:42:24 UTC] Cart::addItem - user_id: 10, session_id: q167m4hslluta9oar2ee5535kh, product_id: 36, size: 10ml, version: EDP / LIGHT, quantity: 1, price: 14.9
[15-Oct-2025 05:42:24 UTC] Cart::getCartItem - Query: SELECT * FROM cart 
                  WHERE product_id = :product_id AND size = :size AND version = :version AND user_id = :user_id
[15-Oct-2025 05:42:24 UTC] Cart::getCartItem - Params: {"product_id":36,"size":"10ml","version":"EDP \/ LIGHT","user_id":"10"}
[15-Oct-2025 05:42:24 UTC] Cart::getCartItem - No existing item found
[15-Oct-2025 05:42:24 UTC] Cart::getSessionCartItem - Query: SELECT * FROM cart 
                  WHERE session_id = :session_id AND product_id = :product_id AND size = :size AND version = :version
[15-Oct-2025 05:42:24 UTC] Cart::getSessionCartItem - Params: {"session_id":"q167m4hslluta9oar2ee5535kh","product_id":36,"size":"10ml","version":"EDP \/ LIGHT"}
[15-Oct-2025 05:42:24 UTC] Cart::getSessionCartItem - No session item found
[15-Oct-2025 05:42:24 UTC] Cart::addItem - No existing item found, creating new item
[15-Oct-2025 05:42:24 UTC] Cart::addItem - Successfully created new item with ID: 109
[15-Oct-2025 05:42:24 UTC] Successfully added to cart. Cart count: 3, Cart item ID: 109
[15-Oct-2025 07:31:25 UTC] Product ID: 32, Feedback records found: 3
[15-Oct-2025 07:31:25 UTC] Product ID: 32, Total sold: 2
[15-Oct-2025 07:32:13 UTC] Product ID: 40, Feedback records found: 1
[15-Oct-2025 07:32:13 UTC] Product ID: 40, Total sold: 1
[15-Oct-2025 07:32:29 UTC] Shipping config query for amount 46.8 found: {"id":"12","name":"jnt","description":"","fee_type":"weight_based","base_fee":"3.00","fee_value":"0.00","min_order_amount":"1.00","max_order_amount":null,"delivery_days_min":"3","delivery_days_max":"4","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:44:05","updated_at":"2025-10-13 15:44:05","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[15-Oct-2025 07:32:29 UTC] Cart page requesting shipping config for order amount: 46.8
[15-Oct-2025 07:33:32 UTC] Product ID: 36, Feedback records found: 3
[15-Oct-2025 07:33:32 UTC] Product ID: 36, Total sold: 3
[15-Oct-2025 10:00:43 UTC] Product ID: 36, Feedback records found: 3
[15-Oct-2025 10:00:43 UTC] Product ID: 36, Total sold: 3
[15-Oct-2025 10:00:57 UTC] Product ID: 36, Feedback records found: 3
[15-Oct-2025 10:00:57 UTC] Product ID: 36, Total sold: 3
[15-Oct-2025 10:01:01 UTC] Product ID: 40, Feedback records found: 1
[15-Oct-2025 10:01:01 UTC] Product ID: 40, Total sold: 1
[15-Oct-2025 10:08:30 UTC] Product ID: 36, Feedback records found: 3
[15-Oct-2025 10:08:30 UTC] Product ID: 36, Total sold: 3
[15-Oct-2025 10:09:35 UTC] Checkout Debug - Found 4 shipping options
[15-Oct-2025 10:09:35 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[15-Oct-2025 10:09:35 UTC] Shipping Option: jnt (ID: 12, Type: weight_based, Active: 1)
[15-Oct-2025 10:09:35 UTC] Shipping Option: free (ID: 9, Type: free_shipping_threshold, Active: 1)
[15-Oct-2025 10:09:35 UTC] Shipping Option: ezparcel (ID: 1, Type: weight_based, Active: 1)
[15-Oct-2025 10:09:35 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 14.9)
[15-Oct-2025 10:09:35 UTC] Shipping option 'jnt' availability: YES (subtotal: 14.9)
[15-Oct-2025 10:09:35 UTC] Shipping option 'free' filtered out: subtotal (14.9) < min_order_amount (100.00)
[15-Oct-2025 10:09:35 UTC] Shipping option 'free' availability: NO (subtotal: 14.9)
[15-Oct-2025 10:09:35 UTC] Shipping option 'ezparcel' availability: YES (subtotal: 14.9)
[15-Oct-2025 10:09:35 UTC] Checkout Debug - User ID: 2
[15-Oct-2025 10:09:35 UTC] Checkout Debug - Claimed vouchers count: 1
[15-Oct-2025 10:09:35 UTC] Checkout Debug - Voucher: Premium Sample (ID: 4, Status: active)
[15-Oct-2025 10:10:01 UTC] Checkout: Received POST request
[15-Oct-2025 10:10:01 UTC] Checkout: POST data: Array
(
    [discounted_total] => 17.90
    [email] => azfarirfan7767@gmail.com
    [saved_address_id] => 1
    [first_name] => AZFAR
    [last_name] => BIN ASRI
    [address] => Kg Surau Bator
    [apartment] => 
    [city] => Bachok
    [country] => Malaysia
    [state] => Kelantan
    [zip_code] => 16070
    [phone] => +60179853875
    [shipping_method_id] => 12
    [payment_method] => toyyibpay_fpx
    [payment_method_fallback] => toyyibpay_fpx
    [notes] => 
    [billing_same] => on
)

[15-Oct-2025 10:10:01 UTC] Checkout: Payment method: toyyibpay_fpx
[15-Oct-2025 10:10:01 UTC] Checkout Debug - Applied Voucher: No
[15-Oct-2025 10:10:01 UTC] Stock deduction summary:
[15-Oct-2025 10:10:01 UTC]   Product ID 36: Total quantity to deduct = 1
[15-Oct-2025 10:10:01 UTC] Stock deducted: Product ID 36, Total Quantity: 1
[15-Oct-2025 10:10:01 UTC] Order created successfully: ID 79
[15-Oct-2025 10:10:01 UTC] toyyibPay createBill data: Array
(
    [userSecretKey] => j816hxzw-4da3-5a0p-o18t-42rybaon2xky
    [categoryCode] => 93v503tu
    [billName] => Order #79
    [billDescription] => Payment for Order #79
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 1790
    [billReturnUrl] => https://2dayparfum.com/apps/payment-return.php
    [billCallbackUrl] => https://2dayparfum.com/apps/payment-callback.php
    [billExternalReferenceNo] => 79
    [billTo] => AZFAR BIN ASRI
    [billEmail] => azfarirfan7767@gmail.com
    [billPhone] => +60179853875
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[15-Oct-2025 10:10:01 UTC] toyyibPay makeApiCall - URL: https://dev.toyyibpay.com/index.php/api/createBill
[15-Oct-2025 10:10:01 UTC] toyyibPay makeApiCall - Data: Array
(
    [userSecretKey] => j816hxzw-4da3-5a0p-o18t-42rybaon2xky
    [categoryCode] => 93v503tu
    [billName] => Order #79
    [billDescription] => Payment for Order #79
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 1790
    [billReturnUrl] => https://2dayparfum.com/apps/payment-return.php
    [billCallbackUrl] => https://2dayparfum.com/apps/payment-callback.php
    [billExternalReferenceNo] => 79
    [billTo] => AZFAR BIN ASRI
    [billEmail] => azfarirfan7767@gmail.com
    [billPhone] => +60179853875
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[15-Oct-2025 10:10:02 UTC] toyyibPay makeApiCall - HTTP Code: 200
[15-Oct-2025 10:10:02 UTC] toyyibPay makeApiCall - Raw Response: 						[{"BillCode":"9u8u8ik1"}]
[15-Oct-2025 10:10:02 UTC] toyyibPay makeApiCall - cURL Info: Array
(
    [url] => https://dev.toyyibpay.com/index.php/api/createBill
    [content_type] => text/html; charset=UTF-8
    [http_code] => 200
    [header_size] => 946
    [request_size] => 2604
    [filetime] => -1
    [ssl_verify_result] => 20
    [redirect_count] => 0
    [total_time] => 0.49585
    [namelookup_time] => 0.035844
    [connect_time] => 0.043335
    [pretransfer_time] => 0.057004
    [size_upload] => 2381
    [size_download] => 31
    [speed_download] => 62
    [speed_upload] => 4801
    [download_content_length] => -1
    [upload_content_length] => 2381
    [starttransfer_time] => 0.495574
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 2606:4700:20::681a:c26
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 2403:fd40:1001:a001:92b1:1cff:fe09:cb6b
    [local_port] => 32998
    [http_version] => 3
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => https
    [appconnect_time_us] => 56456
    [connect_time_us] => 43335
    [namelookup_time_us] => 35844
    [pretransfer_time_us] => 57004
    [redirect_time_us] => 0
    [starttransfer_time_us] => 495574
    [total_time_us] => 495850
)

[15-Oct-2025 10:10:02 UTC] toyyibPay makeApiCall - Decoded Response: Array
(
    [0] => Array
        (
            [BillCode] => 9u8u8ik1
        )

)

[15-Oct-2025 10:10:02 UTC] toyyibPay createBill response: Array
(
    [0] => Array
        (
            [BillCode] => 9u8u8ik1
        )

)

[15-Oct-2025 10:10:02 UTC] toyyibPay createBill success: 9u8u8ik1
[15-Oct-2025 10:10:19 UTC] toyyibPay Callback received: Array
(
    [refno] => TP2510151118672554
    [status] => 1
    [reason] => Payment Approved
    [billcode] => 9u8u8ik1
    [order_id] => 79
    [amount] => 17.90
    [status_id] => 1
    [msg] => ok
    [transaction_id] => TP2510151118672554
    [fpx_transaction_id] => 2510150554383512
    [hash] => 0758d28421c45ce6ede9d4fc375ba696
    [transaction_time] => 2025-10-15 05:54:38
)

[15-Oct-2025 10:10:19 UTC] Order updatePaymentInfo: Updated order 79 with fields: status, reference, amount
[15-Oct-2025 10:10:19 UTC] toyyibPay Callback: Order 79 status updated to processing, payment status updated to paid
[15-Oct-2025 10:10:19 UTC] toyyibPay Callback: Payment successful for order 79, amount: 17.90, reference: TP2510151118672554
[15-Oct-2025 10:10:19 UTC] Product::deductVariationStock - Successfully deducted 1 from product_id=36, size=10ml, version=EDP / LIGHT. New stock: 20
[15-Oct-2025 10:10:19 UTC] Stock deduction completed for order 79: 1 successful, 0 failed
[15-Oct-2025 10:10:19 UTC] No loyalty points to award for order 79 (no products with point rewards)
[15-Oct-2025 10:10:21 UTC] toyyibPay Return: Array
(
    [status_id] => 1
    [billcode] => 9u8u8ik1
    [order_id] => 79
    [msg] => ok
    [transaction_id] => TP2510151118672554
)

[15-Oct-2025 10:10:21 UTC] toyyibPay Return - status_id: 1, billcode: 9u8u8ik1, order_id: 79
[15-Oct-2025 10:10:21 UTC] toyyibPay Return: Redirecting to order-success.php?id=79&payment_status=1
[15-Oct-2025 10:10:21 UTC] Order Success Debug - Order ID: 79
[15-Oct-2025 10:10:21 UTC] Order Success Debug - Voucher ID: NULL
[15-Oct-2025 10:10:21 UTC] Order Success Debug - Voucher Discount Amount: 0.00
[15-Oct-2025 10:10:21 UTC] Order Success Debug - Voucher Info: Not found
[15-Oct-2025 10:10:21 UTC] Order updatePaymentInfo: Updated order 79 with fields: status
[15-Oct-2025 10:10:21 UTC] Order Success Page: Auto-updated order #79 to processing/paid status
[15-Oct-2025 10:10:26 UTC] Product ID: 36, Feedback records found: 3
[15-Oct-2025 10:10:26 UTC] Product ID: 36, Total sold: 3
[15-Oct-2025 10:10:44 UTC] Checkout Debug - Found 4 shipping options
[15-Oct-2025 10:10:44 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[15-Oct-2025 10:10:44 UTC] Shipping Option: jnt (ID: 12, Type: weight_based, Active: 1)
[15-Oct-2025 10:10:44 UTC] Shipping Option: free (ID: 9, Type: free_shipping_threshold, Active: 1)
[15-Oct-2025 10:10:44 UTC] Shipping Option: ezparcel (ID: 1, Type: weight_based, Active: 1)
[15-Oct-2025 10:10:44 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 29.8)
[15-Oct-2025 10:10:44 UTC] Shipping option 'jnt' availability: YES (subtotal: 29.8)
[15-Oct-2025 10:10:44 UTC] Shipping option 'free' filtered out: subtotal (29.8) < min_order_amount (100.00)
[15-Oct-2025 10:10:44 UTC] Shipping option 'free' availability: NO (subtotal: 29.8)
[15-Oct-2025 10:10:44 UTC] Shipping option 'ezparcel' availability: YES (subtotal: 29.8)
[15-Oct-2025 10:10:44 UTC] Checkout Debug - User ID: 2
[15-Oct-2025 10:10:44 UTC] Checkout Debug - Claimed vouchers count: 1
[15-Oct-2025 10:10:44 UTC] Checkout Debug - Voucher: Premium Sample (ID: 4, Status: active)
[15-Oct-2025 10:10:55 UTC] Checkout: Received POST request
[15-Oct-2025 10:10:55 UTC] Checkout: POST data: Array
(
    [discounted_total] => 32.80
    [email] => azfarirfan7767@gmail.com
    [saved_address_id] => 1
    [first_name] => AZFAR
    [last_name] => BIN ASRI
    [address] => Kg Surau Bator
    [apartment] => 
    [city] => Bachok
    [country] => Malaysia
    [state] => Kelantan
    [zip_code] => 16070
    [phone] => +60179853875
    [shipping_method_id] => 12
    [payment_method] => toyyibpay_fpx
    [payment_method_fallback] => toyyibpay_fpx
    [notes] => 
    [billing_same] => on
)

[15-Oct-2025 10:10:55 UTC] Checkout: Payment method: toyyibpay_fpx
[15-Oct-2025 10:10:55 UTC] Checkout Debug - Applied Voucher: No
[15-Oct-2025 10:10:55 UTC] Stock deduction summary:
[15-Oct-2025 10:10:55 UTC]   Product ID 36: Total quantity to deduct = 2
[15-Oct-2025 10:10:55 UTC] Stock deducted: Product ID 36, Total Quantity: 2
[15-Oct-2025 10:10:55 UTC] Order created successfully: ID 80
[15-Oct-2025 10:10:55 UTC] toyyibPay createBill data: Array
(
    [userSecretKey] => j816hxzw-4da3-5a0p-o18t-42rybaon2xky
    [categoryCode] => 93v503tu
    [billName] => Order #80
    [billDescription] => Payment for Order #80
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 3280
    [billReturnUrl] => https://2dayparfum.com/apps/payment-return.php
    [billCallbackUrl] => https://2dayparfum.com/apps/payment-callback.php
    [billExternalReferenceNo] => 80
    [billTo] => AZFAR BIN ASRI
    [billEmail] => azfarirfan7767@gmail.com
    [billPhone] => +60179853875
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[15-Oct-2025 10:10:55 UTC] toyyibPay makeApiCall - URL: https://dev.toyyibpay.com/index.php/api/createBill
[15-Oct-2025 10:10:55 UTC] toyyibPay makeApiCall - Data: Array
(
    [userSecretKey] => j816hxzw-4da3-5a0p-o18t-42rybaon2xky
    [categoryCode] => 93v503tu
    [billName] => Order #80
    [billDescription] => Payment for Order #80
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 3280
    [billReturnUrl] => https://2dayparfum.com/apps/payment-return.php
    [billCallbackUrl] => https://2dayparfum.com/apps/payment-callback.php
    [billExternalReferenceNo] => 80
    [billTo] => AZFAR BIN ASRI
    [billEmail] => azfarirfan7767@gmail.com
    [billPhone] => +60179853875
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[15-Oct-2025 10:10:55 UTC] toyyibPay makeApiCall - HTTP Code: 200
[15-Oct-2025 10:10:55 UTC] toyyibPay makeApiCall - Raw Response: 						[{"BillCode":"nniqeeg7"}]
[15-Oct-2025 10:10:55 UTC] toyyibPay makeApiCall - cURL Info: Array
(
    [url] => https://dev.toyyibpay.com/index.php/api/createBill
    [content_type] => text/html; charset=UTF-8
    [http_code] => 200
    [header_size] => 935
    [request_size] => 2604
    [filetime] => -1
    [ssl_verify_result] => 20
    [redirect_count] => 0
    [total_time] => 0.114561
    [namelookup_time] => 0.000856
    [connect_time] => 0.008158
    [pretransfer_time] => 0.022352
    [size_upload] => 2381
    [size_download] => 31
    [speed_download] => 270
    [speed_upload] => 20783
    [download_content_length] => -1
    [upload_content_length] => 2381
    [starttransfer_time] => 0.114372
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 2606:4700:20::681a:c26
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 2403:fd40:1001:a001:92b1:1cff:fe09:cb6b
    [local_port] => 60672
    [http_version] => 3
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => https
    [appconnect_time_us] => 21756
    [connect_time_us] => 8158
    [namelookup_time_us] => 856
    [pretransfer_time_us] => 22352
    [redirect_time_us] => 0
    [starttransfer_time_us] => 114372
    [total_time_us] => 114561
)

[15-Oct-2025 10:10:55 UTC] toyyibPay makeApiCall - Decoded Response: Array
(
    [0] => Array
        (
            [BillCode] => nniqeeg7
        )

)

[15-Oct-2025 10:10:55 UTC] toyyibPay createBill response: Array
(
    [0] => Array
        (
            [BillCode] => nniqeeg7
        )

)

[15-Oct-2025 10:10:55 UTC] toyyibPay createBill success: nniqeeg7
[15-Oct-2025 10:11:12 UTC] toyyibPay Callback received: Array
(
    [refno] => TP2510153067061471
    [status] => 1
    [reason] => Payment Approved
    [billcode] => nniqeeg7
    [order_id] => 80
    [amount] => 32.80
    [status_id] => 1
    [msg] => ok
    [transaction_id] => TP2510153067061471
    [fpx_transaction_id] => 2510150555309111
    [hash] => a69c073a0e45971e44b81e87fcb96514
    [transaction_time] => 2025-10-15 05:55:30
)

[15-Oct-2025 10:11:12 UTC] Order updatePaymentInfo: Updated order 80 with fields: status, reference, amount
[15-Oct-2025 10:11:12 UTC] toyyibPay Callback: Order 80 status updated to processing, payment status updated to paid
[15-Oct-2025 10:11:12 UTC] toyyibPay Callback: Payment successful for order 80, amount: 32.80, reference: TP2510153067061471
[15-Oct-2025 10:11:12 UTC] Product::deductVariationStock - Successfully deducted 2 from product_id=36, size=10ml, version=EDP / LIGHT. New stock: 18
[15-Oct-2025 10:11:12 UTC] Stock deduction completed for order 80: 1 successful, 0 failed
[15-Oct-2025 10:11:12 UTC] No loyalty points to award for order 80 (no products with point rewards)
[15-Oct-2025 10:11:14 UTC] toyyibPay Return: Array
(
    [status_id] => 1
    [billcode] => nniqeeg7
    [order_id] => 80
    [msg] => ok
    [transaction_id] => TP2510153067061471
)

[15-Oct-2025 10:11:14 UTC] toyyibPay Return - status_id: 1, billcode: nniqeeg7, order_id: 80
[15-Oct-2025 10:11:14 UTC] toyyibPay Return: Redirecting to order-success.php?id=80&payment_status=1
[15-Oct-2025 10:11:14 UTC] Order Success Debug - Order ID: 80
[15-Oct-2025 10:11:14 UTC] Order Success Debug - Voucher ID: NULL
[15-Oct-2025 10:11:14 UTC] Order Success Debug - Voucher Discount Amount: 0.00
[15-Oct-2025 10:11:14 UTC] Order Success Debug - Voucher Info: Not found
[15-Oct-2025 10:11:14 UTC] Order updatePaymentInfo: Updated order 80 with fields: status
[15-Oct-2025 10:11:14 UTC] Order Success Page: Auto-updated order #80 to processing/paid status
[15-Oct-2025 10:11:18 UTC] Product ID: 36, Feedback records found: 3
[15-Oct-2025 10:11:18 UTC] Product ID: 36, Total sold: 3
[16-Oct-2025 01:18:04 UTC] Product ID: 32, Feedback records found: 3
[16-Oct-2025 01:18:04 UTC] Product ID: 32, Total sold: 2
[16-Oct-2025 01:39:10 UTC] Product ID: 36, Feedback records found: 3
[16-Oct-2025 01:39:10 UTC] Product ID: 36, Total sold: 3
[16-Oct-2025 01:39:14 UTC] Add to cart: user_id=11, session_id=tk3fflg20e6v4t8c0me9rj6dlq, product_id=36, quantity=1, size=10ml, version=EDP / LIGHT, price=14.9
[16-Oct-2025 01:39:14 UTC] Cart::addItem - user_id: 11, session_id: tk3fflg20e6v4t8c0me9rj6dlq, product_id: 36, size: 10ml, version: EDP / LIGHT, quantity: 1, price: 14.9
[16-Oct-2025 01:39:14 UTC] Cart::getCartItem - Query: SELECT * FROM cart 
                  WHERE product_id = :product_id AND size = :size AND version = :version AND user_id = :user_id
[16-Oct-2025 01:39:14 UTC] Cart::getCartItem - Params: {"product_id":36,"size":"10ml","version":"EDP \/ LIGHT","user_id":"11"}
[16-Oct-2025 01:39:14 UTC] Cart::getCartItem - No existing item found
[16-Oct-2025 01:39:14 UTC] Cart::getSessionCartItem - Query: SELECT * FROM cart 
                  WHERE session_id = :session_id AND product_id = :product_id AND size = :size AND version = :version
[16-Oct-2025 01:39:14 UTC] Cart::getSessionCartItem - Params: {"session_id":"tk3fflg20e6v4t8c0me9rj6dlq","product_id":36,"size":"10ml","version":"EDP \/ LIGHT"}
[16-Oct-2025 01:39:14 UTC] Cart::getSessionCartItem - No session item found
[16-Oct-2025 01:39:14 UTC] Cart::addItem - No existing item found, creating new item
[16-Oct-2025 01:39:14 UTC] Cart::addItem - Successfully created new item with ID: 110
[16-Oct-2025 01:39:14 UTC] Successfully added to cart. Cart count: 1, Cart item ID: 110
[16-Oct-2025 02:01:25 UTC] Product ID: 32, Feedback records found: 3
[16-Oct-2025 02:01:25 UTC] Product ID: 32, Total sold: 2
[16-Oct-2025 02:01:27 UTC] Checkout Debug - Found 4 shipping options
[16-Oct-2025 02:01:27 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[16-Oct-2025 02:01:27 UTC] Shipping Option: jnt (ID: 12, Type: weight_based, Active: 1)
[16-Oct-2025 02:01:27 UTC] Shipping Option: free (ID: 9, Type: free_shipping_threshold, Active: 1)
[16-Oct-2025 02:01:27 UTC] Shipping Option: ezparcel (ID: 1, Type: weight_based, Active: 1)
[16-Oct-2025 02:01:27 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 14.9)
[16-Oct-2025 02:01:27 UTC] Shipping option 'jnt' availability: YES (subtotal: 14.9)
[16-Oct-2025 02:01:27 UTC] Shipping option 'free' filtered out: subtotal (14.9) < min_order_amount (100.00)
[16-Oct-2025 02:01:27 UTC] Shipping option 'free' availability: NO (subtotal: 14.9)
[16-Oct-2025 02:01:27 UTC] Shipping option 'ezparcel' availability: YES (subtotal: 14.9)
[16-Oct-2025 02:01:27 UTC] Checkout Debug - User ID: 2
[16-Oct-2025 02:01:27 UTC] Checkout Debug - Claimed vouchers count: 1
[16-Oct-2025 02:01:27 UTC] Checkout Debug - Voucher: Premium Sample (ID: 4, Status: active)
[16-Oct-2025 02:09:56 UTC] PHP Warning:  Trying to access array offset on value of type bool in /home2/igoldser/public_html/2dayparfum.com/apps/royalty-rewards.php on line 22
[16-Oct-2025 02:09:56 UTC] PHP Warning:  Trying to access array offset on value of type bool in /home2/igoldser/public_html/2dayparfum.com/apps/royalty-rewards.php on line 23
[16-Oct-2025 02:10:43 UTC] Product ID: 32, Feedback records found: 3
[16-Oct-2025 02:10:43 UTC] Product ID: 32, Total sold: 2
[16-Oct-2025 02:11:02 UTC] Shipping config query for amount 14.9 found: {"id":"12","name":"jnt","description":"","fee_type":"weight_based","base_fee":"3.00","fee_value":"0.00","min_order_amount":"1.00","max_order_amount":null,"delivery_days_min":"3","delivery_days_max":"4","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:44:05","updated_at":"2025-10-13 15:44:05","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[16-Oct-2025 02:11:02 UTC] Cart page requesting shipping config for order amount: 14.9
[16-Oct-2025 02:11:10 UTC] Checkout Debug - Found 4 shipping options
[16-Oct-2025 02:11:10 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[16-Oct-2025 02:11:10 UTC] Shipping Option: jnt (ID: 12, Type: weight_based, Active: 1)
[16-Oct-2025 02:11:10 UTC] Shipping Option: free (ID: 9, Type: free_shipping_threshold, Active: 1)
[16-Oct-2025 02:11:10 UTC] Shipping Option: ezparcel (ID: 1, Type: weight_based, Active: 1)
[16-Oct-2025 02:11:10 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 14.9)
[16-Oct-2025 02:11:10 UTC] Shipping option 'jnt' availability: YES (subtotal: 14.9)
[16-Oct-2025 02:11:10 UTC] Shipping option 'free' filtered out: subtotal (14.9) < min_order_amount (100.00)
[16-Oct-2025 02:11:10 UTC] Shipping option 'free' availability: NO (subtotal: 14.9)
[16-Oct-2025 02:11:10 UTC] Shipping option 'ezparcel' availability: YES (subtotal: 14.9)
[16-Oct-2025 02:11:10 UTC] Checkout Debug - User ID: 11
[16-Oct-2025 02:11:10 UTC] Checkout Debug - Claimed vouchers count: 0
[16-Oct-2025 02:11:43 UTC] Shipping config query for amount 14.9 found: {"id":"12","name":"jnt","description":"","fee_type":"weight_based","base_fee":"3.00","fee_value":"0.00","min_order_amount":"1.00","max_order_amount":null,"delivery_days_min":"3","delivery_days_max":"4","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:44:05","updated_at":"2025-10-13 15:44:05","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[16-Oct-2025 02:11:43 UTC] Cart page requesting shipping config for order amount: 14.9
[16-Oct-2025 02:13:53 UTC] Product ID: 32, Feedback records found: 3
[16-Oct-2025 02:13:53 UTC] Product ID: 32, Total sold: 2
[16-Oct-2025 02:13:56 UTC] Checkout Debug - Found 4 shipping options
[16-Oct-2025 02:13:56 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[16-Oct-2025 02:13:56 UTC] Shipping Option: jnt (ID: 12, Type: weight_based, Active: 1)
[16-Oct-2025 02:13:56 UTC] Shipping Option: free (ID: 9, Type: free_shipping_threshold, Active: 1)
[16-Oct-2025 02:13:56 UTC] Shipping Option: ezparcel (ID: 1, Type: weight_based, Active: 1)
[16-Oct-2025 02:13:56 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 14.9)
[16-Oct-2025 02:13:56 UTC] Shipping option 'jnt' availability: YES (subtotal: 14.9)
[16-Oct-2025 02:13:56 UTC] Shipping option 'free' filtered out: subtotal (14.9) < min_order_amount (100.00)
[16-Oct-2025 02:13:56 UTC] Shipping option 'free' availability: NO (subtotal: 14.9)
[16-Oct-2025 02:13:56 UTC] Shipping option 'ezparcel' availability: YES (subtotal: 14.9)
[16-Oct-2025 02:13:56 UTC] Checkout Debug - User ID: 2
[16-Oct-2025 02:13:56 UTC] Checkout Debug - Claimed vouchers count: 1
[16-Oct-2025 02:13:56 UTC] Checkout Debug - Voucher: Premium Sample (ID: 4, Status: active)
[16-Oct-2025 02:17:00 UTC] Product ID: 32, Feedback records found: 3
[16-Oct-2025 02:17:00 UTC] Product ID: 32, Total sold: 2
[16-Oct-2025 02:17:03 UTC] Checkout Debug - Found 4 shipping options
[16-Oct-2025 02:17:03 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[16-Oct-2025 02:17:03 UTC] Shipping Option: jnt (ID: 12, Type: weight_based, Active: 1)
[16-Oct-2025 02:17:03 UTC] Shipping Option: free (ID: 9, Type: free_shipping_threshold, Active: 1)
[16-Oct-2025 02:17:03 UTC] Shipping Option: ezparcel (ID: 1, Type: weight_based, Active: 1)
[16-Oct-2025 02:17:03 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 14.9)
[16-Oct-2025 02:17:03 UTC] Shipping option 'jnt' availability: YES (subtotal: 14.9)
[16-Oct-2025 02:17:03 UTC] Shipping option 'free' filtered out: subtotal (14.9) < min_order_amount (100.00)
[16-Oct-2025 02:17:03 UTC] Shipping option 'free' availability: NO (subtotal: 14.9)
[16-Oct-2025 02:17:03 UTC] Shipping option 'ezparcel' availability: YES (subtotal: 14.9)
[16-Oct-2025 02:17:03 UTC] Checkout Debug - User ID: 2
[16-Oct-2025 02:17:03 UTC] Checkout Debug - Claimed vouchers count: 1
[16-Oct-2025 02:17:03 UTC] Checkout Debug - Voucher: Premium Sample (ID: 4, Status: active)
[16-Oct-2025 02:19:13 UTC] toyyibPay Callback received: Array
(
    [refno] => TP2510163307062846
    [status] => 1
    [reason] => Payment Approved
    [billcode] => rh9tdclq
    [order_id] => 72
    [amount] => 36.00
    [status_id] => 1
    [msg] => ok
    [transaction_id] => TP2510163307062846
    [fpx_transaction_id] => 2510161003305847
    [hash] => 0f94d6aa10cb25e916ca5f1917a11362
    [transaction_time] => 2025-10-16 10:03:30
)

[16-Oct-2025 02:19:13 UTC] Order updatePaymentInfo: Updated order 72 with fields: status, reference, amount
[16-Oct-2025 02:19:13 UTC] toyyibPay Callback: Order 72 status updated to processing, payment status updated to paid
[16-Oct-2025 02:19:13 UTC] toyyibPay Callback: Payment successful for order 72, amount: 36.00, reference: TP2510163307062846
[16-Oct-2025 02:19:13 UTC] Product::deductVariationStock - Successfully deducted 1 from product_id=40, size=20ml, version=EDP / LIGHT. New stock: 75
[16-Oct-2025 02:19:13 UTC] Stock deduction completed for order 72: 1 successful, 0 failed
[16-Oct-2025 02:19:13 UTC] Loyalty points awarded for order 72: 12 points to user 2
[16-Oct-2025 02:19:13 UTC] Points breakdown: AFNINE 9PM REBEL x1 = 12 points (12 per item)
[16-Oct-2025 02:19:14 UTC] toyyibPay Return: Array
(
    [status_id] => 1
    [billcode] => rh9tdclq
    [order_id] => 72
    [msg] => ok
    [transaction_id] => TP2510163307062846
)

[16-Oct-2025 02:19:14 UTC] toyyibPay Return - status_id: 1, billcode: rh9tdclq, order_id: 72
[16-Oct-2025 02:19:14 UTC] toyyibPay Return: Redirecting to order-success.php?id=72&payment_status=1
[16-Oct-2025 02:19:14 UTC] Order Success Debug - Order ID: 72
[16-Oct-2025 02:19:14 UTC] Order Success Debug - Voucher ID: NULL
[16-Oct-2025 02:19:14 UTC] Order Success Debug - Voucher Discount Amount: 0.00
[16-Oct-2025 02:19:14 UTC] Order Success Debug - Voucher Info: Not found
[16-Oct-2025 02:19:14 UTC] Order updatePaymentInfo: Updated order 72 with fields: status
[16-Oct-2025 02:19:14 UTC] Order Success Page: Auto-updated order #72 to processing/paid status
[16-Oct-2025 02:24:56 UTC] Product ID: 40, Feedback records found: 1
[16-Oct-2025 02:24:56 UTC] Product ID: 40, Total sold: 1
[16-Oct-2025 02:26:45 UTC] Order Success Debug - Order ID: 72
[16-Oct-2025 02:26:45 UTC] Order Success Debug - Voucher ID: NULL
[16-Oct-2025 02:26:45 UTC] Order Success Debug - Voucher Discount Amount: 0.00
[16-Oct-2025 02:26:45 UTC] Order Success Debug - Voucher Info: Not found
[16-Oct-2025 02:26:45 UTC] Order updatePaymentInfo: Updated order 72 with fields: status
[16-Oct-2025 02:26:45 UTC] Order Success Page: Auto-updated order #72 to processing/paid status
[16-Oct-2025 02:27:29 UTC] Product ID: 40, Feedback records found: 1
[16-Oct-2025 02:27:29 UTC] Product ID: 40, Total sold: 1
[16-Oct-2025 02:28:03 UTC] Product ID: 34, Feedback records found: 0
[16-Oct-2025 02:28:03 UTC] Total feedback records in database: 7
[16-Oct-2025 02:28:03 UTC] Product ID: 34, Total sold: 0
[16-Oct-2025 02:28:06 UTC] Product ID: 35, Feedback records found: 0
[16-Oct-2025 02:28:06 UTC] Total feedback records in database: 7
[16-Oct-2025 02:28:06 UTC] Product ID: 35, Total sold: 0
[16-Oct-2025 02:28:40 UTC] Product ID: 40, Feedback records found: 1
[16-Oct-2025 02:28:40 UTC] Product ID: 40, Total sold: 1
[16-Oct-2025 02:30:03 UTC] Product ID: 36, Feedback records found: 3
[16-Oct-2025 02:30:03 UTC] Product ID: 36, Total sold: 3
[16-Oct-2025 02:30:19 UTC] Product ID: 43, Feedback records found: 0
[16-Oct-2025 02:30:19 UTC] Total feedback records in database: 7
[16-Oct-2025 02:30:19 UTC] Product ID: 43, Total sold: 0
[16-Oct-2025 02:30:28 UTC] Product ID: 36, Feedback records found: 3
[16-Oct-2025 02:30:28 UTC] Product ID: 36, Total sold: 3
[16-Oct-2025 02:30:47 UTC] Add to cart: user_id=2, session_id=qh2ahg2v63mih29c5rd214t26k, product_id=36, quantity=1, size=10ml, version=EDP / LIGHT, price=14.9
[16-Oct-2025 02:30:47 UTC] Cart::addItem - user_id: 2, session_id: qh2ahg2v63mih29c5rd214t26k, product_id: 36, size: 10ml, version: EDP / LIGHT, quantity: 1, price: 14.9
[16-Oct-2025 02:30:47 UTC] Cart::getCartItem - Query: SELECT * FROM cart 
                  WHERE product_id = :product_id AND size = :size AND version = :version AND user_id = :user_id
[16-Oct-2025 02:30:47 UTC] Cart::getCartItem - Params: {"product_id":36,"size":"10ml","version":"EDP \/ LIGHT","user_id":"2"}
[16-Oct-2025 02:30:47 UTC] Cart::getCartItem - No existing item found
[16-Oct-2025 02:30:47 UTC] Cart::getSessionCartItem - Query: SELECT * FROM cart 
                  WHERE session_id = :session_id AND product_id = :product_id AND size = :size AND version = :version
[16-Oct-2025 02:30:47 UTC] Cart::getSessionCartItem - Params: {"session_id":"qh2ahg2v63mih29c5rd214t26k","product_id":36,"size":"10ml","version":"EDP \/ LIGHT"}
[16-Oct-2025 02:30:47 UTC] Cart::getSessionCartItem - No session item found
[16-Oct-2025 02:30:47 UTC] Cart::addItem - No existing item found, creating new item
[16-Oct-2025 02:30:47 UTC] Cart::addItem - Successfully created new item with ID: 111
[16-Oct-2025 02:30:47 UTC] Successfully added to cart. Cart count: 1, Cart item ID: 111
[16-Oct-2025 02:32:49 UTC] Shipping config query for amount 14.9 found: {"id":"12","name":"jnt","description":"","fee_type":"weight_based","base_fee":"3.00","fee_value":"0.00","min_order_amount":"1.00","max_order_amount":null,"delivery_days_min":"3","delivery_days_max":"4","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:44:05","updated_at":"2025-10-13 15:44:05","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[16-Oct-2025 02:32:49 UTC] Cart page requesting shipping config for order amount: 14.9
[16-Oct-2025 02:32:54 UTC] Product ID: 36, Feedback records found: 3
[16-Oct-2025 02:32:54 UTC] Product ID: 36, Total sold: 3
[16-Oct-2025 02:32:54 UTC] Product ID: 36, Feedback records found: 3
[16-Oct-2025 02:32:54 UTC] Product ID: 36, Total sold: 3
[16-Oct-2025 02:32:56 UTC] Checkout Debug - Found 4 shipping options
[16-Oct-2025 02:32:56 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[16-Oct-2025 02:32:56 UTC] Shipping Option: jnt (ID: 12, Type: weight_based, Active: 1)
[16-Oct-2025 02:32:56 UTC] Shipping Option: free (ID: 9, Type: free_shipping_threshold, Active: 1)
[16-Oct-2025 02:32:56 UTC] Shipping Option: ezparcel (ID: 1, Type: weight_based, Active: 1)
[16-Oct-2025 02:32:56 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 14.9)
[16-Oct-2025 02:32:56 UTC] Shipping option 'jnt' availability: YES (subtotal: 14.9)
[16-Oct-2025 02:32:56 UTC] Shipping option 'free' filtered out: subtotal (14.9) < min_order_amount (100.00)
[16-Oct-2025 02:32:56 UTC] Shipping option 'free' availability: NO (subtotal: 14.9)
[16-Oct-2025 02:32:56 UTC] Shipping option 'ezparcel' availability: YES (subtotal: 14.9)
[16-Oct-2025 02:32:56 UTC] Checkout Debug - User ID: 2
[16-Oct-2025 02:32:56 UTC] Checkout Debug - Claimed vouchers count: 1
[16-Oct-2025 02:32:56 UTC] Checkout Debug - Voucher: Premium Sample (ID: 4, Status: active)
[16-Oct-2025 02:32:57 UTC] Checkout Debug - Found 4 shipping options
[16-Oct-2025 02:32:57 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[16-Oct-2025 02:32:57 UTC] Shipping Option: jnt (ID: 12, Type: weight_based, Active: 1)
[16-Oct-2025 02:32:57 UTC] Shipping Option: free (ID: 9, Type: free_shipping_threshold, Active: 1)
[16-Oct-2025 02:32:57 UTC] Shipping Option: ezparcel (ID: 1, Type: weight_based, Active: 1)
[16-Oct-2025 02:32:57 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 14.9)
[16-Oct-2025 02:32:57 UTC] Shipping option 'jnt' availability: YES (subtotal: 14.9)
[16-Oct-2025 02:32:57 UTC] Shipping option 'free' filtered out: subtotal (14.9) < min_order_amount (100.00)
[16-Oct-2025 02:32:57 UTC] Shipping option 'free' availability: NO (subtotal: 14.9)
[16-Oct-2025 02:32:57 UTC] Shipping option 'ezparcel' availability: YES (subtotal: 14.9)
[16-Oct-2025 02:32:57 UTC] Checkout Debug - User ID: 2
[16-Oct-2025 02:32:57 UTC] Checkout Debug - Claimed vouchers count: 1
[16-Oct-2025 02:32:57 UTC] Checkout Debug - Voucher: Premium Sample (ID: 4, Status: active)
[16-Oct-2025 02:33:53 UTC] Checkout: Received POST request
[16-Oct-2025 02:33:53 UTC] Checkout: POST data: Array
(
    [discounted_total] => 14.90
    [email] => azfarirfan7767@gmail.com
    [saved_address_id] => 1
    [first_name] => AZFAR
    [last_name] => BIN ASRI
    [address] => Kg Surau Bator
    [apartment] => 
    [city] => Bachok
    [country] => Malaysia
    [state] => Kelantan
    [zip_code] => 16070
    [phone] => +60179853875
    [shipping_method_id] => 11
    [payment_method] => toyyibpay_fpx
    [payment_method_fallback] => toyyibpay_fpx
    [notes] => pickup 430
    [billing_same] => on
)

[16-Oct-2025 02:33:53 UTC] Checkout: Payment method: toyyibpay_fpx
[16-Oct-2025 02:33:53 UTC] Checkout Debug - Applied Voucher: No
[16-Oct-2025 02:33:53 UTC] Stock deduction summary:
[16-Oct-2025 02:33:53 UTC]   Product ID 36: Total quantity to deduct = 1
[16-Oct-2025 02:33:53 UTC] Stock deducted: Product ID 36, Total Quantity: 1
[16-Oct-2025 02:33:53 UTC] Order created successfully: ID 81
[16-Oct-2025 02:33:53 UTC] toyyibPay createBill data: Array
(
    [userSecretKey] => j816hxzw-4da3-5a0p-o18t-42rybaon2xky
    [categoryCode] => 93v503tu
    [billName] => Order #81
    [billDescription] => Payment for Order #81
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 1490
    [billReturnUrl] => https://2dayparfum.com/apps/payment-return.php
    [billCallbackUrl] => https://2dayparfum.com/apps/payment-callback.php
    [billExternalReferenceNo] => 81
    [billTo] => AZFAR BIN ASRI
    [billEmail] => azfarirfan7767@gmail.com
    [billPhone] => +60179853875
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[16-Oct-2025 02:33:53 UTC] toyyibPay makeApiCall - URL: https://dev.toyyibpay.com/index.php/api/createBill
[16-Oct-2025 02:33:53 UTC] toyyibPay makeApiCall - Data: Array
(
    [userSecretKey] => j816hxzw-4da3-5a0p-o18t-42rybaon2xky
    [categoryCode] => 93v503tu
    [billName] => Order #81
    [billDescription] => Payment for Order #81
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 1490
    [billReturnUrl] => https://2dayparfum.com/apps/payment-return.php
    [billCallbackUrl] => https://2dayparfum.com/apps/payment-callback.php
    [billExternalReferenceNo] => 81
    [billTo] => AZFAR BIN ASRI
    [billEmail] => azfarirfan7767@gmail.com
    [billPhone] => +60179853875
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[16-Oct-2025 02:33:53 UTC] toyyibPay makeApiCall - HTTP Code: 200
[16-Oct-2025 02:33:53 UTC] toyyibPay makeApiCall - Raw Response: 						[{"BillCode":"0ehmfxtl"}]
[16-Oct-2025 02:33:53 UTC] toyyibPay makeApiCall - cURL Info: Array
(
    [url] => https://dev.toyyibpay.com/index.php/api/createBill
    [content_type] => text/html; charset=UTF-8
    [http_code] => 200
    [header_size] => 931
    [request_size] => 2604
    [filetime] => -1
    [ssl_verify_result] => 20
    [redirect_count] => 0
    [total_time] => 0.143615
    [namelookup_time] => 0.036669
    [connect_time] => 0.043515
    [pretransfer_time] => 0.057881
    [size_upload] => 2381
    [size_download] => 31
    [speed_download] => 215
    [speed_upload] => 16579
    [download_content_length] => -1
    [upload_content_length] => 2381
    [starttransfer_time] => 0.143462
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 2606:4700:20::681a:d26
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 2403:fd40:1001:a001:92b1:1cff:fe09:cb6b
    [local_port] => 47430
    [http_version] => 3
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => https
    [appconnect_time_us] => 57397
    [connect_time_us] => 43515
    [namelookup_time_us] => 36669
    [pretransfer_time_us] => 57881
    [redirect_time_us] => 0
    [starttransfer_time_us] => 143462
    [total_time_us] => 143615
)

[16-Oct-2025 02:33:53 UTC] toyyibPay makeApiCall - Decoded Response: Array
(
    [0] => Array
        (
            [BillCode] => 0ehmfxtl
        )

)

[16-Oct-2025 02:33:53 UTC] toyyibPay createBill response: Array
(
    [0] => Array
        (
            [BillCode] => 0ehmfxtl
        )

)

[16-Oct-2025 02:33:53 UTC] toyyibPay createBill success: 0ehmfxtl
[16-Oct-2025 02:34:23 UTC] toyyibPay Callback received: Array
(
    [refno] => TP2510160378404591
    [status] => 1
    [reason] => Payment Approved
    [billcode] => 0ehmfxtl
    [order_id] => 81
    [amount] => 14.90
    [status_id] => 1
    [msg] => ok
    [transaction_id] => TP2510160378404591
    [fpx_transaction_id] => 2510161018374566
    [hash] => f2b7c7aa07a0477577fd0809732b4bbe
    [transaction_time] => 2025-10-16 10:18:37
)

[16-Oct-2025 02:34:23 UTC] Order updatePaymentInfo: Updated order 81 with fields: status, reference, amount
[16-Oct-2025 02:34:23 UTC] toyyibPay Callback: Order 81 status updated to processing, payment status updated to paid
[16-Oct-2025 02:34:23 UTC] toyyibPay Callback: Payment successful for order 81, amount: 14.90, reference: TP2510160378404591
[16-Oct-2025 02:34:23 UTC] Product::deductVariationStock - Successfully deducted 1 from product_id=36, size=10ml, version=EDP / LIGHT. New stock: 17
[16-Oct-2025 02:34:23 UTC] Stock deduction completed for order 81: 1 successful, 0 failed
[16-Oct-2025 02:34:23 UTC] No loyalty points to award for order 81 (no products with point rewards)
[16-Oct-2025 02:34:24 UTC] toyyibPay Return: Array
(
    [status_id] => 1
    [billcode] => 0ehmfxtl
    [order_id] => 81
    [msg] => ok
    [transaction_id] => TP2510160378404591
)

[16-Oct-2025 02:34:24 UTC] toyyibPay Return - status_id: 1, billcode: 0ehmfxtl, order_id: 81
[16-Oct-2025 02:34:24 UTC] toyyibPay Return: Redirecting to order-success.php?id=81&payment_status=1
[16-Oct-2025 02:34:24 UTC] Order Success Debug - Order ID: 81
[16-Oct-2025 02:34:24 UTC] Order Success Debug - Voucher ID: NULL
[16-Oct-2025 02:34:24 UTC] Order Success Debug - Voucher Discount Amount: 0.00
[16-Oct-2025 02:34:24 UTC] Order Success Debug - Voucher Info: Not found
[16-Oct-2025 02:34:24 UTC] Order updatePaymentInfo: Updated order 81 with fields: status
[16-Oct-2025 02:34:24 UTC] Order Success Page: Auto-updated order #81 to processing/paid status
[16-Oct-2025 02:35:32 UTC] Shipping config query for amount 0 found: {"id":"11","name":"Pickup Order","description":"Self collection from store (free shipping)","fee_type":"pickup","base_fee":"0.00","fee_value":"0.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"0","delivery_days_max":"0","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:37:58","updated_at":"2025-10-13 15:37:58","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[16-Oct-2025 02:35:32 UTC] Cart page requesting shipping config for order amount: 0
[16-Oct-2025 02:40:07 UTC] Product ID: 36, Feedback records found: 3
[16-Oct-2025 02:40:07 UTC] Product ID: 36, Total sold: 4
[16-Oct-2025 02:40:09 UTC] Checkout Debug - Found 5 shipping options
[16-Oct-2025 02:40:09 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[16-Oct-2025 02:40:09 UTC] Shipping Option: pos laju (ID: 13, Type: weight_based, Active: 1)
[16-Oct-2025 02:40:09 UTC] Shipping Option: jnt (ID: 12, Type: weight_based, Active: 1)
[16-Oct-2025 02:40:09 UTC] Shipping Option: free (ID: 9, Type: free_shipping_threshold, Active: 1)
[16-Oct-2025 02:40:09 UTC] Shipping Option: ezparcel (ID: 1, Type: weight_based, Active: 1)
[16-Oct-2025 02:40:09 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 14.9)
[16-Oct-2025 02:40:09 UTC] Shipping option 'pos laju' availability: YES (subtotal: 14.9)
[16-Oct-2025 02:40:09 UTC] Shipping option 'jnt' availability: YES (subtotal: 14.9)
[16-Oct-2025 02:40:09 UTC] Shipping option 'free' filtered out: subtotal (14.9) < min_order_amount (100.00)
[16-Oct-2025 02:40:09 UTC] Shipping option 'free' availability: NO (subtotal: 14.9)
[16-Oct-2025 02:40:09 UTC] Shipping option 'ezparcel' availability: YES (subtotal: 14.9)
[16-Oct-2025 02:40:09 UTC] Checkout Debug - User ID: 2
[16-Oct-2025 02:40:09 UTC] Checkout Debug - Claimed vouchers count: 1
[16-Oct-2025 02:40:09 UTC] Checkout Debug - Voucher: Premium Sample (ID: 4, Status: active)
[16-Oct-2025 02:47:40 UTC] Product ID: 36, Feedback records found: 3
[16-Oct-2025 02:47:40 UTC] Product ID: 36, Total sold: 4
[16-Oct-2025 10:26:04 UTC] Product ID: 43, Feedback records found: 0
[16-Oct-2025 10:26:04 UTC] Total feedback records in database: 7
[16-Oct-2025 10:26:04 UTC] Product ID: 43, Total sold: 0
[16-Oct-2025 21:12:50 UTC] Product ID: 37, Feedback records found: 0
[16-Oct-2025 21:12:50 UTC] Total feedback records in database: 7
[16-Oct-2025 21:12:50 UTC] Product ID: 37, Total sold: 0
[16-Oct-2025 21:13:05 UTC] Product ID: 43, Feedback records found: 0
[16-Oct-2025 21:13:05 UTC] Total feedback records in database: 7
[16-Oct-2025 21:13:05 UTC] Product ID: 43, Total sold: 0
[16-Oct-2025 21:13:22 UTC] Product ID: 44, Feedback records found: 0
[16-Oct-2025 21:13:22 UTC] Total feedback records in database: 7
[16-Oct-2025 21:13:22 UTC] Product ID: 44, Total sold: 0
[16-Oct-2025 21:14:38 UTC] Product ID: 44, Feedback records found: 0
[16-Oct-2025 21:14:38 UTC] Total feedback records in database: 7
[16-Oct-2025 21:14:38 UTC] Product ID: 44, Total sold: 0
[16-Oct-2025 21:14:46 UTC] Checkout Debug - Found 4 shipping options
[16-Oct-2025 21:14:46 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[16-Oct-2025 21:14:46 UTC] Shipping Option: jnt (ID: 12, Type: weight_based, Active: 1)
[16-Oct-2025 21:14:46 UTC] Shipping Option: free (ID: 9, Type: free_shipping_threshold, Active: 1)
[16-Oct-2025 21:14:46 UTC] Shipping Option: ezparcel (ID: 1, Type: weight_based, Active: 1)
[16-Oct-2025 21:14:46 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 49)
[16-Oct-2025 21:14:46 UTC] Shipping option 'jnt' availability: YES (subtotal: 49)
[16-Oct-2025 21:14:46 UTC] Shipping option 'free' filtered out: subtotal (49) < min_order_amount (100.00)
[16-Oct-2025 21:14:46 UTC] Shipping option 'free' availability: NO (subtotal: 49)
[16-Oct-2025 21:14:46 UTC] Shipping option 'ezparcel' availability: YES (subtotal: 49)
[16-Oct-2025 21:14:46 UTC] Checkout Debug - User ID: 2
[16-Oct-2025 21:14:46 UTC] Checkout Debug - Claimed vouchers count: 1
[16-Oct-2025 21:14:46 UTC] Checkout Debug - Voucher: Premium Sample (ID: 4, Status: active)
[16-Oct-2025 22:13:43 UTC] Product ID: 40, Feedback records found: 1
[16-Oct-2025 22:13:43 UTC] Product ID: 40, Total sold: 1
[16-Oct-2025 22:13:48 UTC] Shipping config query for amount 46.8 found: {"id":"12","name":"jnt","description":"","fee_type":"weight_based","base_fee":"3.00","fee_value":"0.00","min_order_amount":"1.00","max_order_amount":null,"delivery_days_min":"3","delivery_days_max":"4","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:44:05","updated_at":"2025-10-13 15:44:05","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[16-Oct-2025 22:13:48 UTC] Cart page requesting shipping config for order amount: 46.8
[16-Oct-2025 22:16:08 UTC] Product ID: 32, Feedback records found: 3
[16-Oct-2025 22:16:08 UTC] Product ID: 32, Total sold: 2
[16-Oct-2025 22:16:20 UTC] Product ID: 40, Feedback records found: 1
[16-Oct-2025 22:16:20 UTC] Product ID: 40, Total sold: 1
[17-Oct-2025 02:40:20 UTC] Product ID: 32, Feedback records found: 3
[17-Oct-2025 02:40:20 UTC] Product ID: 32, Total sold: 2
[17-Oct-2025 02:40:23 UTC] Checkout Debug - Found 4 shipping options
[17-Oct-2025 02:40:23 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[17-Oct-2025 02:40:23 UTC] Shipping Option: jnt (ID: 12, Type: weight_based, Active: 1)
[17-Oct-2025 02:40:23 UTC] Shipping Option: free (ID: 9, Type: free_shipping_threshold, Active: 1)
[17-Oct-2025 02:40:23 UTC] Shipping Option: ezparcel (ID: 1, Type: weight_based, Active: 1)
[17-Oct-2025 02:40:23 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 14.9)
[17-Oct-2025 02:40:23 UTC] Shipping option 'jnt' availability: YES (subtotal: 14.9)
[17-Oct-2025 02:40:23 UTC] Shipping option 'free' filtered out: subtotal (14.9) < min_order_amount (100.00)
[17-Oct-2025 02:40:23 UTC] Shipping option 'free' availability: NO (subtotal: 14.9)
[17-Oct-2025 02:40:23 UTC] Shipping option 'ezparcel' availability: YES (subtotal: 14.9)
[17-Oct-2025 02:40:23 UTC] Checkout Debug - User ID: 2
[17-Oct-2025 02:40:23 UTC] Checkout Debug - Claimed vouchers count: 1
[17-Oct-2025 02:40:23 UTC] Checkout Debug - Voucher: Premium Sample (ID: 4, Status: active)
[17-Oct-2025 02:40:28 UTC] Add to cart: user_id=2, session_id=qh2ahg2v63mih29c5rd214t26k, product_id=32, quantity=1, size=20ml, version=EDP / LIGHT, price=17
[17-Oct-2025 02:40:28 UTC] Cart::addItem - user_id: 2, session_id: qh2ahg2v63mih29c5rd214t26k, product_id: 32, size: 20ml, version: EDP / LIGHT, quantity: 1, price: 17
[17-Oct-2025 02:40:28 UTC] Cart::getCartItem - Query: SELECT * FROM cart 
                  WHERE product_id = :product_id AND size = :size AND version = :version AND user_id = :user_id
[17-Oct-2025 02:40:28 UTC] Cart::getCartItem - Params: {"product_id":32,"size":"20ml","version":"EDP \/ LIGHT","user_id":"2"}
[17-Oct-2025 02:40:28 UTC] Cart::getCartItem - No existing item found
[17-Oct-2025 02:40:28 UTC] Cart::getSessionCartItem - Query: SELECT * FROM cart 
                  WHERE session_id = :session_id AND product_id = :product_id AND size = :size AND version = :version
[17-Oct-2025 02:40:28 UTC] Cart::getSessionCartItem - Params: {"session_id":"qh2ahg2v63mih29c5rd214t26k","product_id":32,"size":"20ml","version":"EDP \/ LIGHT"}
[17-Oct-2025 02:40:28 UTC] Cart::getSessionCartItem - No session item found
[17-Oct-2025 02:40:28 UTC] Cart::addItem - No existing item found, creating new item
[17-Oct-2025 02:40:28 UTC] Cart::addItem - Successfully created new item with ID: 112
[17-Oct-2025 02:40:28 UTC] Successfully added to cart. Cart count: 1, Cart item ID: 112
[17-Oct-2025 06:40:09 UTC] Product ID: 43, Feedback records found: 0
[17-Oct-2025 06:40:09 UTC] Total feedback records in database: 7
[17-Oct-2025 06:40:09 UTC] Product ID: 43, Total sold: 0
[17-Oct-2025 11:56:22 UTC] Shipping config query for amount 17 found: {"id":"12","name":"jnt","description":"","fee_type":"weight_based","base_fee":"3.00","fee_value":"0.00","min_order_amount":"1.00","max_order_amount":null,"delivery_days_min":"3","delivery_days_max":"4","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:44:05","updated_at":"2025-10-13 15:44:05","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[17-Oct-2025 11:56:22 UTC] Cart page requesting shipping config for order amount: 17
[17-Oct-2025 11:56:39 UTC] Shipping config query for amount 102 found: {"id":"9","name":"free","description":"","fee_type":"free_shipping_threshold","base_fee":"0.00","fee_value":"0.00","min_order_amount":"100.00","max_order_amount":null,"delivery_days_min":"2","delivery_days_max":"4","is_active":"1","sort_order":"0","created_at":"2025-09-28 14:38:06","updated_at":"2025-09-28 14:38:06","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[17-Oct-2025 11:56:39 UTC] Cart page requesting shipping config for order amount: 102
[17-Oct-2025 11:56:46 UTC] Checkout Debug - Found 4 shipping options
[17-Oct-2025 11:56:46 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[17-Oct-2025 11:56:46 UTC] Shipping Option: jnt (ID: 12, Type: weight_based, Active: 1)
[17-Oct-2025 11:56:46 UTC] Shipping Option: free (ID: 9, Type: free_shipping_threshold, Active: 1)
[17-Oct-2025 11:56:46 UTC] Shipping Option: ezparcel (ID: 1, Type: weight_based, Active: 1)
[17-Oct-2025 11:56:46 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 68)
[17-Oct-2025 11:56:46 UTC] Shipping option 'jnt' availability: YES (subtotal: 68)
[17-Oct-2025 11:56:46 UTC] Shipping option 'free' filtered out: subtotal (68) < min_order_amount (100.00)
[17-Oct-2025 11:56:46 UTC] Shipping option 'free' availability: NO (subtotal: 68)
[17-Oct-2025 11:56:46 UTC] Shipping option 'ezparcel' availability: YES (subtotal: 68)
[17-Oct-2025 11:56:46 UTC] Checkout Debug - User ID: 2
[17-Oct-2025 11:56:46 UTC] Checkout Debug - Claimed vouchers count: 1
[17-Oct-2025 11:56:46 UTC] Checkout Debug - Voucher: Premium Sample (ID: 4, Status: active)
[17-Oct-2025 11:56:52 UTC] Shipping config query for amount 68 found: {"id":"12","name":"jnt","description":"","fee_type":"weight_based","base_fee":"3.00","fee_value":"0.00","min_order_amount":"1.00","max_order_amount":null,"delivery_days_min":"3","delivery_days_max":"4","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:44:05","updated_at":"2025-10-13 15:44:05","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[17-Oct-2025 11:56:52 UTC] Cart page requesting shipping config for order amount: 68
[19-Oct-2025 03:10:52 UTC] Product ID: 44, Feedback records found: 0
[19-Oct-2025 03:10:52 UTC] Total feedback records in database: 7
[19-Oct-2025 03:10:52 UTC] Product ID: 44, Total sold: 0
[19-Oct-2025 03:26:50 UTC] Product ID: 32, Feedback records found: 3
[19-Oct-2025 03:26:50 UTC] Product ID: 32, Total sold: 2
[19-Oct-2025 15:23:26 UTC] Product ID: 43, Feedback records found: 0
[19-Oct-2025 15:23:26 UTC] Total feedback records in database: 7
[19-Oct-2025 15:23:26 UTC] Product ID: 43, Total sold: 0
[19-Oct-2025 15:23:38 UTC] Shipping config query for amount 68 found: {"id":"12","name":"jnt","description":"","fee_type":"weight_based","base_fee":"3.00","fee_value":"0.00","min_order_amount":"1.00","max_order_amount":null,"delivery_days_min":"3","delivery_days_max":"4","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:44:05","updated_at":"2025-10-13 15:44:05","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[19-Oct-2025 15:23:38 UTC] Cart page requesting shipping config for order amount: 68
[20-Oct-2025 02:21:37 UTC] Product ID: 32, Feedback records found: 3
[20-Oct-2025 02:21:37 UTC] Product ID: 32, Total sold: 2
[20-Oct-2025 02:22:37 UTC] Shipping config query for amount 68 found: {"id":"12","name":"jnt","description":"","fee_type":"weight_based","base_fee":"3.00","fee_value":"0.00","min_order_amount":"1.00","max_order_amount":null,"delivery_days_min":"3","delivery_days_max":"4","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:44:05","updated_at":"2025-10-13 15:44:05","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[20-Oct-2025 02:22:37 UTC] Cart page requesting shipping config for order amount: 68
[20-Oct-2025 02:50:38 UTC] Shipping config query for amount 0 found: {"id":"11","name":"Pickup Order","description":"Self collection from store (free shipping)","fee_type":"pickup","base_fee":"0.00","fee_value":"0.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"0","delivery_days_max":"0","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:37:58","updated_at":"2025-10-13 15:37:58","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[20-Oct-2025 02:50:38 UTC] Cart page requesting shipping config for order amount: 0
[20-Oct-2025 02:50:45 UTC] Shipping config query for amount 0 found: {"id":"11","name":"Pickup Order","description":"Self collection from store (free shipping)","fee_type":"pickup","base_fee":"0.00","fee_value":"0.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"0","delivery_days_max":"0","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:37:58","updated_at":"2025-10-13 15:37:58","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[20-Oct-2025 02:50:45 UTC] Cart page requesting shipping config for order amount: 0
[20-Oct-2025 02:50:50 UTC] Product ID: 36, Feedback records found: 3
[20-Oct-2025 02:50:50 UTC] Product ID: 36, Total sold: 4
[20-Oct-2025 02:51:03 UTC] Product ID: 36, Feedback records found: 3
[20-Oct-2025 02:51:03 UTC] Product ID: 36, Total sold: 4
[20-Oct-2025 02:51:05 UTC] Shipping config query for amount 0 found: {"id":"11","name":"Pickup Order","description":"Self collection from store (free shipping)","fee_type":"pickup","base_fee":"0.00","fee_value":"0.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"0","delivery_days_max":"0","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:37:58","updated_at":"2025-10-13 15:37:58","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[20-Oct-2025 02:51:05 UTC] Cart page requesting shipping config for order amount: 0
[20-Oct-2025 21:43:39 UTC] Product ID: 36, Feedback records found: 3
[20-Oct-2025 21:43:39 UTC] Product ID: 36, Total sold: 4
[21-Oct-2025 09:12:06 UTC] Product ID: 33, Feedback records found: 0
[21-Oct-2025 09:12:06 UTC] Total feedback records in database: 7
[21-Oct-2025 09:12:06 UTC] Product ID: 33, Total sold: 0
[21-Oct-2025 14:36:19 UTC] Shipping config query for amount 0 found: {"id":"11","name":"Pickup Order","description":"Self collection from store (free shipping)","fee_type":"pickup","base_fee":"0.00","fee_value":"0.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"0","delivery_days_max":"0","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:37:58","updated_at":"2025-10-13 15:37:58","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[21-Oct-2025 14:36:19 UTC] Cart page requesting shipping config for order amount: 0
[22-Oct-2025 05:22:53 UTC] Shipping config query for amount 68 found: {"id":"12","name":"jnt","description":"","fee_type":"weight_based","base_fee":"3.00","fee_value":"0.00","min_order_amount":"1.00","max_order_amount":null,"delivery_days_min":"3","delivery_days_max":"4","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:44:05","updated_at":"2025-10-13 15:44:05","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[22-Oct-2025 05:22:53 UTC] Cart page requesting shipping config for order amount: 68
[22-Oct-2025 18:52:21 UTC] Shipping config query for amount 68 found: {"id":"12","name":"jnt","description":"","fee_type":"weight_based","base_fee":"3.00","fee_value":"0.00","min_order_amount":"1.00","max_order_amount":null,"delivery_days_min":"3","delivery_days_max":"4","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:44:05","updated_at":"2025-10-13 15:44:05","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[22-Oct-2025 18:52:21 UTC] Cart page requesting shipping config for order amount: 68
[22-Oct-2025 21:29:43 UTC] Shipping config query for amount 46.8 found: {"id":"12","name":"jnt","description":"","fee_type":"weight_based","base_fee":"3.00","fee_value":"0.00","min_order_amount":"1.00","max_order_amount":null,"delivery_days_min":"3","delivery_days_max":"4","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:44:05","updated_at":"2025-10-13 15:44:05","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[22-Oct-2025 21:29:43 UTC] Cart page requesting shipping config for order amount: 46.8
[22-Oct-2025 21:29:58 UTC] Checkout Debug - Found 4 shipping options
[22-Oct-2025 21:29:58 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[22-Oct-2025 21:29:58 UTC] Shipping Option: jnt (ID: 12, Type: weight_based, Active: 1)
[22-Oct-2025 21:29:58 UTC] Shipping Option: free (ID: 9, Type: free_shipping_threshold, Active: 1)
[22-Oct-2025 21:29:58 UTC] Shipping Option: ezparcel (ID: 1, Type: weight_based, Active: 1)
[22-Oct-2025 21:29:58 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 29.8)
[22-Oct-2025 21:29:58 UTC] Shipping option 'jnt' availability: YES (subtotal: 29.8)
[22-Oct-2025 21:29:58 UTC] Shipping option 'free' filtered out: subtotal (29.8) < min_order_amount (100.00)
[22-Oct-2025 21:29:58 UTC] Shipping option 'free' availability: NO (subtotal: 29.8)
[22-Oct-2025 21:29:58 UTC] Shipping option 'ezparcel' availability: YES (subtotal: 29.8)
[22-Oct-2025 21:29:58 UTC] Checkout Debug - User ID: 10
[22-Oct-2025 21:29:58 UTC] Checkout Debug - Claimed vouchers count: 0
[23-Oct-2025 07:12:33 UTC] Product ID: 36, Feedback records found: 3
[23-Oct-2025 07:12:33 UTC] Product ID: 36, Total sold: 4
[23-Oct-2025 07:44:40 UTC] Shipping config query for amount 0 found: {"id":"11","name":"Pickup Order","description":"Self collection from store (free shipping)","fee_type":"pickup","base_fee":"0.00","fee_value":"0.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"0","delivery_days_max":"0","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:37:58","updated_at":"2025-10-13 15:37:58","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[23-Oct-2025 07:44:40 UTC] Cart page requesting shipping config for order amount: 0
[23-Oct-2025 07:44:42 UTC] PHP Warning:  Trying to access array offset on value of type bool in /home2/igoldser/public_html/2dayparfum.com/apps/royalty-rewards.php on line 22
[23-Oct-2025 07:44:42 UTC] PHP Warning:  Trying to access array offset on value of type bool in /home2/igoldser/public_html/2dayparfum.com/apps/royalty-rewards.php on line 23
[23-Oct-2025 07:44:48 UTC] Shipping config query for amount 0 found: {"id":"11","name":"Pickup Order","description":"Self collection from store (free shipping)","fee_type":"pickup","base_fee":"0.00","fee_value":"0.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"0","delivery_days_max":"0","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:37:58","updated_at":"2025-10-13 15:37:58","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[23-Oct-2025 07:44:48 UTC] Cart page requesting shipping config for order amount: 0
[23-Oct-2025 07:44:54 UTC] Product ID: 32, Feedback records found: 3
[23-Oct-2025 07:44:54 UTC] Product ID: 32, Total sold: 2
[23-Oct-2025 16:36:27 UTC] Product ID: 36, Feedback records found: 3
[23-Oct-2025 16:36:27 UTC] Product ID: 36, Total sold: 4
[23-Oct-2025 22:45:46 UTC] Product ID: 36, Feedback records found: 3
[23-Oct-2025 22:45:46 UTC] Product ID: 36, Total sold: 4
[24-Oct-2025 05:48:51 UTC] Shipping config query for amount 68 found: {"id":"12","name":"jnt","description":"","fee_type":"weight_based","base_fee":"3.00","fee_value":"0.00","min_order_amount":"1.00","max_order_amount":null,"delivery_days_min":"3","delivery_days_max":"4","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:44:05","updated_at":"2025-10-13 15:44:05","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[24-Oct-2025 05:48:51 UTC] Cart page requesting shipping config for order amount: 68
[24-Oct-2025 05:48:53 UTC] Checkout Debug - Found 4 shipping options
[24-Oct-2025 05:48:53 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[24-Oct-2025 05:48:53 UTC] Shipping Option: jnt (ID: 12, Type: weight_based, Active: 1)
[24-Oct-2025 05:48:53 UTC] Shipping Option: free (ID: 9, Type: free_shipping_threshold, Active: 1)
[24-Oct-2025 05:48:53 UTC] Shipping Option: ezparcel (ID: 1, Type: weight_based, Active: 1)
[24-Oct-2025 05:48:53 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 68)
[24-Oct-2025 05:48:53 UTC] Shipping option 'jnt' availability: YES (subtotal: 68)
[24-Oct-2025 05:48:53 UTC] Shipping option 'free' filtered out: subtotal (68) < min_order_amount (100.00)
[24-Oct-2025 05:48:53 UTC] Shipping option 'free' availability: NO (subtotal: 68)
[24-Oct-2025 05:48:53 UTC] Shipping option 'ezparcel' availability: YES (subtotal: 68)
[24-Oct-2025 05:48:53 UTC] Checkout Debug - User ID: 2
[24-Oct-2025 05:48:53 UTC] Checkout Debug - Claimed vouchers count: 1
[24-Oct-2025 05:48:53 UTC] Checkout Debug - Voucher: Premium Sample (ID: 4, Status: active)
[24-Oct-2025 05:48:54 UTC] Shipping config query for amount 68 found: {"id":"12","name":"jnt","description":"","fee_type":"weight_based","base_fee":"3.00","fee_value":"0.00","min_order_amount":"1.00","max_order_amount":null,"delivery_days_min":"3","delivery_days_max":"4","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:44:05","updated_at":"2025-10-13 15:44:05","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[24-Oct-2025 05:48:54 UTC] Cart page requesting shipping config for order amount: 68
[24-Oct-2025 06:41:05 UTC] Product ID: 32, Feedback records found: 3
[24-Oct-2025 06:41:05 UTC] Product ID: 32, Total sold: 2
[24-Oct-2025 07:42:33 UTC] Product ID: 32, Feedback records found: 3
[24-Oct-2025 07:42:33 UTC] Product ID: 32, Total sold: 2
[24-Oct-2025 07:42:47 UTC] Product ID: 44, Feedback records found: 0
[24-Oct-2025 07:42:47 UTC] Total feedback records in database: 7
[24-Oct-2025 07:42:47 UTC] Product ID: 44, Total sold: 0
[25-Oct-2025 03:36:47 UTC] Product ID: 40, Feedback records found: 1
[25-Oct-2025 03:36:47 UTC] Product ID: 40, Total sold: 1
[25-Oct-2025 03:37:49 UTC] Product ID: 36, Feedback records found: 3
[25-Oct-2025 03:37:49 UTC] Product ID: 36, Total sold: 4
[25-Oct-2025 04:39:16 UTC] Shipping config query for amount 0 found: {"id":"11","name":"Pickup Order","description":"Self collection from store (free shipping)","fee_type":"pickup","base_fee":"0.00","fee_value":"0.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"0","delivery_days_max":"0","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:37:58","updated_at":"2025-10-13 15:37:58","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[25-Oct-2025 04:39:16 UTC] Cart page requesting shipping config for order amount: 0
[25-Oct-2025 12:27:39 UTC] Shipping config query for amount 0 found: {"id":"11","name":"Pickup Order","description":"Self collection from store (free shipping)","fee_type":"pickup","base_fee":"0.00","fee_value":"0.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"0","delivery_days_max":"0","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:37:58","updated_at":"2025-10-13 15:37:58","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[25-Oct-2025 12:27:39 UTC] Cart page requesting shipping config for order amount: 0
[26-Oct-2025 01:30:47 UTC] toyyibPay Callback received: Array
(
    [refno] => TP2510262745566076
    [status] => 1
    [reason] => Payment Approved
    [billcode] => ooeyhbr5
    [order_id] => 73
    [amount] => 33.10
    [status_id] => 1
    [msg] => ok
    [transaction_id] => TP2510262745566076
    [fpx_transaction_id] => 2510260914473894
    [hash] => 8e134a3fd72f3fb15631fd1ceec2c129
    [transaction_time] => 2025-10-26 09:14:47
)

[26-Oct-2025 01:30:47 UTC] Order updatePaymentInfo: Updated order 73 with fields: status, reference, amount
[26-Oct-2025 01:30:47 UTC] toyyibPay Callback: Order 73 status updated to processing, payment status updated to paid
[26-Oct-2025 01:30:47 UTC] toyyibPay Callback: Payment successful for order 73, amount: 33.10, reference: TP2510262745566076
[26-Oct-2025 01:30:47 UTC] Product::deductVariationStock - Successfully deducted 1 from product_id=40, size=20ml, version=EDP / LIGHT. New stock: 74
[26-Oct-2025 01:30:47 UTC] Stock deduction completed for order 73: 1 successful, 0 failed
[26-Oct-2025 01:30:48 UTC] Loyalty points awarded for order 73: 12 points to user 2
[26-Oct-2025 01:30:48 UTC] Points breakdown: AFNINE 9PM REBEL x1 = 12 points (12 per item)
[26-Oct-2025 01:30:49 UTC] toyyibPay Return: Array
(
    [status_id] => 1
    [billcode] => ooeyhbr5
    [order_id] => 73
    [msg] => ok
    [transaction_id] => TP2510262745566076
)

[26-Oct-2025 01:30:49 UTC] toyyibPay Return - status_id: 1, billcode: ooeyhbr5, order_id: 73
[26-Oct-2025 01:30:49 UTC] toyyibPay Return: Redirecting to order-success.php?id=73&payment_status=1
[26-Oct-2025 01:30:49 UTC] Order Success Debug - Order ID: 73
[26-Oct-2025 01:30:49 UTC] Order Success Debug - Voucher ID: NULL
[26-Oct-2025 01:30:49 UTC] Order Success Debug - Voucher Discount Amount: 0.00
[26-Oct-2025 01:30:49 UTC] Order Success Debug - Voucher Info: Not found
[26-Oct-2025 01:30:49 UTC] Order updatePaymentInfo: Updated order 73 with fields: status
[26-Oct-2025 01:30:49 UTC] Order Success Page: Auto-updated order #73 to processing/paid status
[26-Oct-2025 01:33:26 UTC] Order Success Debug - Order ID: 73
[26-Oct-2025 01:33:26 UTC] Order Success Debug - Voucher ID: NULL
[26-Oct-2025 01:33:26 UTC] Order Success Debug - Voucher Discount Amount: 0.00
[26-Oct-2025 01:33:26 UTC] Order Success Debug - Voucher Info: Not found
[26-Oct-2025 01:33:26 UTC] Order updatePaymentInfo: Updated order 73 with fields: status
[26-Oct-2025 01:33:26 UTC] Order Success Page: Auto-updated order #73 to processing/paid status
[26-Oct-2025 01:35:03 UTC] Order Success Debug - Order ID: 73
[26-Oct-2025 01:35:03 UTC] Order Success Debug - Voucher ID: NULL
[26-Oct-2025 01:35:03 UTC] Order Success Debug - Voucher Discount Amount: 0.00
[26-Oct-2025 01:35:03 UTC] Order Success Debug - Voucher Info: Not found
[26-Oct-2025 01:35:03 UTC] Order updatePaymentInfo: Updated order 73 with fields: status
[26-Oct-2025 01:35:03 UTC] Order Success Page: Auto-updated order #73 to processing/paid status
[26-Oct-2025 01:35:50 UTC] Product ID: 44, Feedback records found: 0
[26-Oct-2025 01:35:50 UTC] Total feedback records in database: 7
[26-Oct-2025 01:35:50 UTC] Product ID: 44, Total sold: 0
[26-Oct-2025 01:35:59 UTC] Checkout Debug - Found 4 shipping options
[26-Oct-2025 01:35:59 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[26-Oct-2025 01:35:59 UTC] Shipping Option: jnt (ID: 12, Type: weight_based, Active: 1)
[26-Oct-2025 01:35:59 UTC] Shipping Option: free (ID: 9, Type: free_shipping_threshold, Active: 1)
[26-Oct-2025 01:35:59 UTC] Shipping Option: ezparcel (ID: 1, Type: weight_based, Active: 1)
[26-Oct-2025 01:35:59 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 59)
[26-Oct-2025 01:35:59 UTC] Shipping option 'jnt' availability: YES (subtotal: 59)
[26-Oct-2025 01:35:59 UTC] Shipping option 'free' filtered out: subtotal (59) < min_order_amount (100.00)
[26-Oct-2025 01:35:59 UTC] Shipping option 'free' availability: NO (subtotal: 59)
[26-Oct-2025 01:35:59 UTC] Shipping option 'ezparcel' availability: YES (subtotal: 59)
[26-Oct-2025 01:35:59 UTC] Checkout Debug - User ID: 2
[26-Oct-2025 01:35:59 UTC] Checkout Debug - Claimed vouchers count: 1
[26-Oct-2025 01:35:59 UTC] Checkout Debug - Voucher: Premium Sample (ID: 4, Status: active)
[26-Oct-2025 01:36:44 UTC] Checkout: Received POST request
[26-Oct-2025 01:36:44 UTC] Checkout: POST data: Array
(
    [discounted_total] => 59.00
    [email] => azfarirfan7767@gmail.com
    [saved_address_id] => 1
    [first_name] => AZFAR
    [last_name] => BIN ASRI
    [address] => Kg Surau Bator
    [apartment] => 
    [city] => Bachok
    [country] => Malaysia
    [state] => Kelantan
    [zip_code] => 16070
    [phone] => +60179853875
    [shipping_method_id] => 11
    [payment_method] => toyyibpay_fpx
    [payment_method_fallback] => toyyibpay_fpx
    [notes] => Nak pukul 4 petey ni
    [billing_same] => on
)

[26-Oct-2025 01:36:44 UTC] Checkout: Payment method: toyyibpay_fpx
[26-Oct-2025 01:36:44 UTC] Checkout Debug - Found 4 shipping options
[26-Oct-2025 01:36:44 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[26-Oct-2025 01:36:44 UTC] Shipping Option: jnt (ID: 12, Type: weight_based, Active: 1)
[26-Oct-2025 01:36:44 UTC] Shipping Option: free (ID: 9, Type: free_shipping_threshold, Active: 1)
[26-Oct-2025 01:36:44 UTC] Shipping Option: ezparcel (ID: 1, Type: weight_based, Active: 1)
[26-Oct-2025 01:36:44 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 59)
[26-Oct-2025 01:36:44 UTC] Shipping option 'jnt' availability: YES (subtotal: 59)
[26-Oct-2025 01:36:44 UTC] Shipping option 'free' filtered out: subtotal (59) < min_order_amount (100.00)
[26-Oct-2025 01:36:44 UTC] Shipping option 'free' availability: NO (subtotal: 59)
[26-Oct-2025 01:36:44 UTC] Shipping option 'ezparcel' availability: YES (subtotal: 59)
[26-Oct-2025 01:36:44 UTC] Checkout Debug - User ID: 2
[26-Oct-2025 01:36:44 UTC] Checkout Debug - Claimed vouchers count: 1
[26-Oct-2025 01:36:44 UTC] Checkout Debug - Voucher: Premium Sample (ID: 4, Status: active)
[26-Oct-2025 01:37:18 UTC] Checkout: Received POST request
[26-Oct-2025 01:37:18 UTC] Checkout: POST data: Array
(
    [discounted_total] => 59.00
    [email] => azfarirfan7767@gmail.com
    [saved_address_id] => 1
    [first_name] => AZFAR
    [last_name] => BIN ASRI
    [address] => Kg Surau Bator
    [apartment] => 
    [city] => Bachok
    [country] => Malaysia
    [state] => Kelantan
    [zip_code] => 16070
    [phone] => +60179853875
    [shipping_method_id] => 11
    [payment_method] => toyyibpay_fpx
    [payment_method_fallback] => toyyibpay_fpx
    [notes] => 4pm
    [billing_same] => on
)

[26-Oct-2025 01:37:18 UTC] Checkout: Payment method: toyyibpay_fpx
[26-Oct-2025 01:37:19 UTC] Checkout Debug - Applied Voucher: No
[26-Oct-2025 01:37:19 UTC] Stock deduction summary:
[26-Oct-2025 01:37:19 UTC]   Product ID 44: Total quantity to deduct = 1
[26-Oct-2025 01:37:19 UTC] Stock deducted: Product ID 44, Total Quantity: 1
[26-Oct-2025 01:37:19 UTC] Order created successfully: ID 82
[26-Oct-2025 01:37:19 UTC] toyyibPay createBill data: Array
(
    [userSecretKey] => j816hxzw-4da3-5a0p-o18t-42rybaon2xky
    [categoryCode] => 93v503tu
    [billName] => Order #82
    [billDescription] => Payment for Order #82
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 5900
    [billReturnUrl] => https://2dayparfum.com/apps/payment-return.php
    [billCallbackUrl] => https://2dayparfum.com/apps/payment-callback.php
    [billExternalReferenceNo] => 82
    [billTo] => AZFAR BIN ASRI
    [billEmail] => azfarirfan7767@gmail.com
    [billPhone] => +60179853875
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[26-Oct-2025 01:37:19 UTC] toyyibPay makeApiCall - URL: https://dev.toyyibpay.com/index.php/api/createBill
[26-Oct-2025 01:37:19 UTC] toyyibPay makeApiCall - Data: Array
(
    [userSecretKey] => j816hxzw-4da3-5a0p-o18t-42rybaon2xky
    [categoryCode] => 93v503tu
    [billName] => Order #82
    [billDescription] => Payment for Order #82
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 5900
    [billReturnUrl] => https://2dayparfum.com/apps/payment-return.php
    [billCallbackUrl] => https://2dayparfum.com/apps/payment-callback.php
    [billExternalReferenceNo] => 82
    [billTo] => AZFAR BIN ASRI
    [billEmail] => azfarirfan7767@gmail.com
    [billPhone] => +60179853875
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[26-Oct-2025 01:37:19 UTC] toyyibPay makeApiCall - HTTP Code: 200
[26-Oct-2025 01:37:19 UTC] toyyibPay makeApiCall - Raw Response: 						[{"BillCode":"10orz6ak"}]
[26-Oct-2025 01:37:19 UTC] toyyibPay makeApiCall - cURL Info: Array
(
    [url] => https://dev.toyyibpay.com/index.php/api/createBill
    [content_type] => text/html; charset=UTF-8
    [http_code] => 200
    [header_size] => 935
    [request_size] => 2604
    [filetime] => -1
    [ssl_verify_result] => 20
    [redirect_count] => 0
    [total_time] => 0.147272
    [namelookup_time] => 0.031971
    [connect_time] => 0.040042
    [pretransfer_time] => 0.053499
    [size_upload] => 2381
    [size_download] => 31
    [speed_download] => 210
    [speed_upload] => 16167
    [download_content_length] => -1
    [upload_content_length] => 2381
    [starttransfer_time] => 0.147088
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 2606:4700:20::681a:d26
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 2403:fd40:1001:a001:92b1:1cff:fe09:cb6b
    [local_port] => 40404
    [http_version] => 3
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => https
    [appconnect_time_us] => 53036
    [connect_time_us] => 40042
    [namelookup_time_us] => 31971
    [pretransfer_time_us] => 53499
    [redirect_time_us] => 0
    [starttransfer_time_us] => 147088
    [total_time_us] => 147272
)

[26-Oct-2025 01:37:19 UTC] toyyibPay makeApiCall - Decoded Response: Array
(
    [0] => Array
        (
            [BillCode] => 10orz6ak
        )

)

[26-Oct-2025 01:37:19 UTC] toyyibPay createBill response: Array
(
    [0] => Array
        (
            [BillCode] => 10orz6ak
        )

)

[26-Oct-2025 01:37:19 UTC] toyyibPay createBill success: 10orz6ak
[26-Oct-2025 01:37:35 UTC] toyyibPay Callback received: Array
(
    [refno] => TP2510261508191490
    [status] => 1
    [reason] => Payment Approved
    [billcode] => 10orz6ak
    [order_id] => 82
    [amount] => 59.00
    [status_id] => 1
    [msg] => ok
    [transaction_id] => TP2510261508191490
    [fpx_transaction_id] => 2510260921354753
    [hash] => fb4c1173c1d8ddfbd98e701a8f897155
    [transaction_time] => 2025-10-26 09:21:35
)

[26-Oct-2025 01:37:35 UTC] Order updatePaymentInfo: Updated order 82 with fields: status, reference, amount
[26-Oct-2025 01:37:35 UTC] toyyibPay Callback: Order 82 status updated to processing, payment status updated to paid
[26-Oct-2025 01:37:35 UTC] toyyibPay Callback: Payment successful for order 82, amount: 59.00, reference: TP2510261508191490
[26-Oct-2025 01:37:35 UTC] Product::deductVariationStock - Successfully deducted 1 from product_id=44, size=40ml, version=EXTRAIT / STRONG. New stock: 4
[26-Oct-2025 01:37:35 UTC] Stock deduction completed for order 82: 1 successful, 0 failed
[26-Oct-2025 01:37:35 UTC] No loyalty points to award for order 82 (no products with point rewards)
[26-Oct-2025 01:37:37 UTC] toyyibPay Return: Array
(
    [status_id] => 1
    [billcode] => 10orz6ak
    [order_id] => 82
    [msg] => ok
    [transaction_id] => TP2510261508191490
)

[26-Oct-2025 01:37:37 UTC] toyyibPay Return - status_id: 1, billcode: 10orz6ak, order_id: 82
[26-Oct-2025 01:37:37 UTC] toyyibPay Return: Redirecting to order-success.php?id=82&payment_status=1
[26-Oct-2025 01:37:37 UTC] Order Success Debug - Order ID: 82
[26-Oct-2025 01:37:37 UTC] Order Success Debug - Voucher ID: NULL
[26-Oct-2025 01:37:37 UTC] Order Success Debug - Voucher Discount Amount: 0.00
[26-Oct-2025 01:37:37 UTC] Order Success Debug - Voucher Info: Not found
[26-Oct-2025 01:37:37 UTC] Order updatePaymentInfo: Updated order 82 with fields: status
[26-Oct-2025 01:37:37 UTC] Order Success Page: Auto-updated order #82 to processing/paid status
[26-Oct-2025 03:15:09 UTC] Product ID: 32, Feedback records found: 3
[26-Oct-2025 03:15:09 UTC] Product ID: 32, Total sold: 2
[26-Oct-2025 03:15:15 UTC] Checkout Debug - Found 4 shipping options
[26-Oct-2025 03:15:15 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[26-Oct-2025 03:15:15 UTC] Shipping Option: jnt (ID: 12, Type: weight_based, Active: 1)
[26-Oct-2025 03:15:15 UTC] Shipping Option: free (ID: 9, Type: free_shipping_threshold, Active: 1)
[26-Oct-2025 03:15:15 UTC] Shipping Option: ezparcel (ID: 1, Type: weight_based, Active: 1)
[26-Oct-2025 03:15:15 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 14.9)
[26-Oct-2025 03:15:15 UTC] Shipping option 'jnt' availability: YES (subtotal: 14.9)
[26-Oct-2025 03:15:15 UTC] Shipping option 'free' filtered out: subtotal (14.9) < min_order_amount (100.00)
[26-Oct-2025 03:15:15 UTC] Shipping option 'free' availability: NO (subtotal: 14.9)
[26-Oct-2025 03:15:15 UTC] Shipping option 'ezparcel' availability: YES (subtotal: 14.9)
[26-Oct-2025 03:15:15 UTC] Checkout Debug - User ID: 2
[26-Oct-2025 03:15:15 UTC] Checkout Debug - Claimed vouchers count: 1
[26-Oct-2025 03:15:15 UTC] Checkout Debug - Voucher: Premium Sample (ID: 4, Status: active)
[26-Oct-2025 07:06:17 UTC] Product ID: 32, Feedback records found: 3
[26-Oct-2025 07:06:17 UTC] Product ID: 32, Total sold: 2
[26-Oct-2025 07:06:21 UTC] Product ID: 44, Feedback records found: 0
[26-Oct-2025 07:06:21 UTC] Total feedback records in database: 7
[26-Oct-2025 07:06:21 UTC] Product ID: 44, Total sold: 0
[26-Oct-2025 07:10:22 UTC] Shipping config query for amount 0 found: {"id":"11","name":"Pickup Order","description":"Self collection from store (free shipping)","fee_type":"pickup","base_fee":"0.00","fee_value":"0.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"0","delivery_days_max":"0","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:37:58","updated_at":"2025-10-13 15:37:58","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[26-Oct-2025 07:10:22 UTC] Cart page requesting shipping config for order amount: 0
[26-Oct-2025 07:10:42 UTC] Shipping config query for amount 0 found: {"id":"11","name":"Pickup Order","description":"Self collection from store (free shipping)","fee_type":"pickup","base_fee":"0.00","fee_value":"0.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"0","delivery_days_max":"0","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:37:58","updated_at":"2025-10-13 15:37:58","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[26-Oct-2025 07:10:42 UTC] Cart page requesting shipping config for order amount: 0
[26-Oct-2025 07:11:31 UTC] Shipping config query for amount 0 found: {"id":"11","name":"Pickup Order","description":"Self collection from store (free shipping)","fee_type":"pickup","base_fee":"0.00","fee_value":"0.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"0","delivery_days_max":"0","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:37:58","updated_at":"2025-10-13 15:37:58","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[26-Oct-2025 07:11:31 UTC] Cart page requesting shipping config for order amount: 0
[26-Oct-2025 07:11:33 UTC] Product ID: 32, Feedback records found: 3
[26-Oct-2025 07:11:33 UTC] Product ID: 32, Total sold: 2
[26-Oct-2025 07:11:34 UTC] Product ID: 36, Feedback records found: 3
[26-Oct-2025 07:11:34 UTC] Product ID: 36, Total sold: 7
[26-Oct-2025 07:11:42 UTC] Shipping config query for amount 0 found: {"id":"11","name":"Pickup Order","description":"Self collection from store (free shipping)","fee_type":"pickup","base_fee":"0.00","fee_value":"0.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"0","delivery_days_max":"0","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:37:58","updated_at":"2025-10-13 15:37:58","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[26-Oct-2025 07:11:42 UTC] Cart page requesting shipping config for order amount: 0
[26-Oct-2025 07:11:45 UTC] Shipping config query for amount 0 found: {"id":"11","name":"Pickup Order","description":"Self collection from store (free shipping)","fee_type":"pickup","base_fee":"0.00","fee_value":"0.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"0","delivery_days_max":"0","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:37:58","updated_at":"2025-10-13 15:37:58","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[26-Oct-2025 07:11:45 UTC] Cart page requesting shipping config for order amount: 0
[26-Oct-2025 07:11:46 UTC] Shipping config query for amount 0 found: {"id":"11","name":"Pickup Order","description":"Self collection from store (free shipping)","fee_type":"pickup","base_fee":"0.00","fee_value":"0.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"0","delivery_days_max":"0","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:37:58","updated_at":"2025-10-13 15:37:58","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[26-Oct-2025 07:11:46 UTC] Cart page requesting shipping config for order amount: 0
[26-Oct-2025 07:11:59 UTC] Product ID: 32, Feedback records found: 3
[26-Oct-2025 07:11:59 UTC] Product ID: 32, Total sold: 2
[26-Oct-2025 07:12:07 UTC] Product ID: 32, Feedback records found: 3
[26-Oct-2025 07:12:07 UTC] Product ID: 32, Total sold: 2
[26-Oct-2025 07:12:19 UTC] Product ID: 36, Feedback records found: 3
[26-Oct-2025 07:12:19 UTC] Product ID: 36, Total sold: 7
[26-Oct-2025 07:13:26 UTC] Product ID: 33, Feedback records found: 0
[26-Oct-2025 07:13:26 UTC] Total feedback records in database: 7
[26-Oct-2025 07:13:26 UTC] Product ID: 33, Total sold: 0
[26-Oct-2025 07:43:43 UTC] Product ID: 36, Feedback records found: 3
[26-Oct-2025 07:43:43 UTC] Product ID: 36, Total sold: 7
[26-Oct-2025 07:43:46 UTC] Add to cart: user_id=2, session_id=qh2ahg2v63mih29c5rd214t26k, product_id=36, quantity=1, size=10ml, version=EDP / LIGHT, price=14.9
[26-Oct-2025 07:43:46 UTC] Cart::addItem - user_id: 2, session_id: qh2ahg2v63mih29c5rd214t26k, product_id: 36, size: 10ml, version: EDP / LIGHT, quantity: 1, price: 14.9
[26-Oct-2025 07:43:46 UTC] Cart::getCartItem - Query: SELECT * FROM cart 
                  WHERE product_id = :product_id AND size = :size AND version = :version AND user_id = :user_id
[26-Oct-2025 07:43:46 UTC] Cart::getCartItem - Params: {"product_id":36,"size":"10ml","version":"EDP \/ LIGHT","user_id":"2"}
[26-Oct-2025 07:43:46 UTC] Cart::getCartItem - No existing item found
[26-Oct-2025 07:43:46 UTC] Cart::getSessionCartItem - Query: SELECT * FROM cart 
                  WHERE session_id = :session_id AND product_id = :product_id AND size = :size AND version = :version
[26-Oct-2025 07:43:46 UTC] Cart::getSessionCartItem - Params: {"session_id":"qh2ahg2v63mih29c5rd214t26k","product_id":36,"size":"10ml","version":"EDP \/ LIGHT"}
[26-Oct-2025 07:43:46 UTC] Cart::getSessionCartItem - No session item found
[26-Oct-2025 07:43:46 UTC] Cart::addItem - No existing item found, creating new item
[26-Oct-2025 07:43:46 UTC] Cart::addItem - Successfully created new item with ID: 113
[26-Oct-2025 07:43:46 UTC] Successfully added to cart. Cart count: 1, Cart item ID: 113
[26-Oct-2025 07:45:05 UTC] Product ID: 36, Feedback records found: 3
[26-Oct-2025 07:45:05 UTC] Product ID: 36, Total sold: 7
[26-Oct-2025 07:45:09 UTC] Checkout Debug - Found 4 shipping options
[26-Oct-2025 07:45:09 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[26-Oct-2025 07:45:09 UTC] Shipping Option: jnt (ID: 12, Type: weight_based, Active: 1)
[26-Oct-2025 07:45:09 UTC] Shipping Option: free (ID: 9, Type: free_shipping_threshold, Active: 1)
[26-Oct-2025 07:45:09 UTC] Shipping Option: ezparcel (ID: 1, Type: weight_based, Active: 1)
[26-Oct-2025 07:45:09 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 14.9)
[26-Oct-2025 07:45:09 UTC] Shipping option 'jnt' availability: YES (subtotal: 14.9)
[26-Oct-2025 07:45:09 UTC] Shipping option 'free' filtered out: subtotal (14.9) < min_order_amount (100.00)
[26-Oct-2025 07:45:09 UTC] Shipping option 'free' availability: NO (subtotal: 14.9)
[26-Oct-2025 07:45:09 UTC] Shipping option 'ezparcel' availability: YES (subtotal: 14.9)
[26-Oct-2025 07:45:09 UTC] Checkout Debug - User ID: 2
[26-Oct-2025 07:45:09 UTC] Checkout Debug - Claimed vouchers count: 1
[26-Oct-2025 07:45:09 UTC] Checkout Debug - Voucher: Premium Sample (ID: 4, Status: active)
[26-Oct-2025 07:48:06 UTC] Product ID: 36, Feedback records found: 3
[26-Oct-2025 07:48:06 UTC] Product ID: 36, Total sold: 7
[26-Oct-2025 07:54:42 UTC] Product ID: 32, Feedback records found: 3
[26-Oct-2025 07:54:42 UTC] Product ID: 32, Total sold: 2
[26-Oct-2025 07:54:52 UTC] Product ID: 32, Feedback records found: 3
[26-Oct-2025 07:54:52 UTC] Product ID: 32, Total sold: 2
[26-Oct-2025 07:54:55 UTC] Checkout Debug - Found 4 shipping options
[26-Oct-2025 07:54:55 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[26-Oct-2025 07:54:55 UTC] Shipping Option: jnt (ID: 12, Type: weight_based, Active: 1)
[26-Oct-2025 07:54:55 UTC] Shipping Option: free (ID: 9, Type: free_shipping_threshold, Active: 1)
[26-Oct-2025 07:54:55 UTC] Shipping Option: ezparcel (ID: 1, Type: weight_based, Active: 1)
[26-Oct-2025 07:54:55 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 14.9)
[26-Oct-2025 07:54:55 UTC] Shipping option 'jnt' availability: YES (subtotal: 14.9)
[26-Oct-2025 07:54:55 UTC] Shipping option 'free' filtered out: subtotal (14.9) < min_order_amount (100.00)
[26-Oct-2025 07:54:55 UTC] Shipping option 'free' availability: NO (subtotal: 14.9)
[26-Oct-2025 07:54:55 UTC] Shipping option 'ezparcel' availability: YES (subtotal: 14.9)
[26-Oct-2025 07:54:55 UTC] Checkout Debug - User ID: 2
[26-Oct-2025 07:54:55 UTC] Checkout Debug - Claimed vouchers count: 2
[26-Oct-2025 07:54:55 UTC] Checkout Debug - Voucher: first time order (ID: 12, Status: active)
[26-Oct-2025 07:54:55 UTC] Checkout Debug - Voucher: Premium Sample (ID: 4, Status: active)
[26-Oct-2025 07:59:43 UTC] Product ID: 32, Feedback records found: 3
[26-Oct-2025 07:59:43 UTC] Product ID: 32, Total sold: 2
[26-Oct-2025 08:16:33 UTC] Product ID: 32, Feedback records found: 3
[26-Oct-2025 08:16:33 UTC] Product ID: 32, Total sold: 2
[26-Oct-2025 08:16:42 UTC] Product ID: 40, Feedback records found: 1
[26-Oct-2025 08:16:42 UTC] Product ID: 40, Total sold: 3
[26-Oct-2025 14:19:21 UTC] Product ID: 44, Feedback records found: 0
[26-Oct-2025 14:19:21 UTC] Total feedback records in database: 7
[26-Oct-2025 14:19:21 UTC] Product ID: 44, Total sold: 0
[26-Oct-2025 14:19:38 UTC] Product ID: 34, Feedback records found: 0
[26-Oct-2025 14:19:38 UTC] Total feedback records in database: 7
[26-Oct-2025 14:19:38 UTC] Product ID: 34, Total sold: 0
[26-Oct-2025 14:19:46 UTC] Product ID: 36, Feedback records found: 3
[26-Oct-2025 14:19:46 UTC] Product ID: 36, Total sold: 7
[26-Oct-2025 14:19:49 UTC] Product ID: 32, Feedback records found: 3
[26-Oct-2025 14:19:49 UTC] Product ID: 32, Total sold: 2
[26-Oct-2025 17:54:01 UTC] Product ID: 36, Feedback records found: 3
[26-Oct-2025 17:54:01 UTC] Product ID: 36, Total sold: 7
[26-Oct-2025 17:54:20 UTC] Shipping config query for amount 14.9 found: {"id":"12","name":"jnt","description":"","fee_type":"weight_based","base_fee":"3.00","fee_value":"0.00","min_order_amount":"1.00","max_order_amount":null,"delivery_days_min":"3","delivery_days_max":"4","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:44:05","updated_at":"2025-10-13 15:44:05","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[26-Oct-2025 17:54:20 UTC] Cart page requesting shipping config for order amount: 14.9
[26-Oct-2025 17:54:26 UTC] Checkout Debug - Found 4 shipping options
[26-Oct-2025 17:54:26 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[26-Oct-2025 17:54:26 UTC] Shipping Option: jnt (ID: 12, Type: weight_based, Active: 1)
[26-Oct-2025 17:54:26 UTC] Shipping Option: free (ID: 9, Type: free_shipping_threshold, Active: 1)
[26-Oct-2025 17:54:26 UTC] Shipping Option: ezparcel (ID: 1, Type: weight_based, Active: 1)
[26-Oct-2025 17:54:26 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 14.9)
[26-Oct-2025 17:54:26 UTC] Shipping option 'jnt' availability: YES (subtotal: 14.9)
[26-Oct-2025 17:54:26 UTC] Shipping option 'free' filtered out: subtotal (14.9) < min_order_amount (100.00)
[26-Oct-2025 17:54:26 UTC] Shipping option 'free' availability: NO (subtotal: 14.9)
[26-Oct-2025 17:54:26 UTC] Shipping option 'ezparcel' availability: YES (subtotal: 14.9)
[26-Oct-2025 17:54:26 UTC] Checkout Debug - User ID: 2
[26-Oct-2025 17:54:26 UTC] Checkout Debug - Claimed vouchers count: 2
[26-Oct-2025 17:54:26 UTC] Checkout Debug - Voucher: first time order (ID: 12, Status: active)
[26-Oct-2025 17:54:26 UTC] Checkout Debug - Voucher: Premium Sample (ID: 4, Status: active)
[26-Oct-2025 17:54:31 UTC] Shipping config query for amount 14.9 found: {"id":"12","name":"jnt","description":"","fee_type":"weight_based","base_fee":"3.00","fee_value":"0.00","min_order_amount":"1.00","max_order_amount":null,"delivery_days_min":"3","delivery_days_max":"4","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:44:05","updated_at":"2025-10-13 15:44:05","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[26-Oct-2025 17:54:31 UTC] Cart page requesting shipping config for order amount: 14.9
[26-Oct-2025 17:54:54 UTC] Product ID: 36, Feedback records found: 3
[26-Oct-2025 17:54:54 UTC] Product ID: 36, Total sold: 7
[27-Oct-2025 04:32:37 UTC] Product ID: 36, Feedback records found: 3
[27-Oct-2025 04:32:37 UTC] Product ID: 36, Total sold: 7
[27-Oct-2025 04:33:01 UTC] Product ID: 36, Feedback records found: 3
[27-Oct-2025 04:33:01 UTC] Product ID: 36, Total sold: 7
[27-Oct-2025 04:33:14 UTC] Product ID: 36, Feedback records found: 3
[27-Oct-2025 04:33:14 UTC] Product ID: 36, Total sold: 7
[27-Oct-2025 04:33:38 UTC] Product ID: 36, Feedback records found: 3
[27-Oct-2025 04:33:38 UTC] Product ID: 36, Total sold: 7
[27-Oct-2025 04:34:25 UTC] Product ID: 36, Feedback records found: 3
[27-Oct-2025 04:34:25 UTC] Product ID: 36, Total sold: 7
[27-Oct-2025 04:34:32 UTC] Add to cart: user_id=2, session_id=qh2ahg2v63mih29c5rd214t26k, product_id=36, quantity=1, size=10ml, version=EXTRAIT / STRONG, price=11.492
[27-Oct-2025 04:34:32 UTC] Cart::addItem - user_id: 2, session_id: qh2ahg2v63mih29c5rd214t26k, product_id: 36, size: 10ml, version: EXTRAIT / STRONG, quantity: 1, price: 11.492
[27-Oct-2025 04:34:32 UTC] Cart::getCartItem - Query: SELECT * FROM cart 
                  WHERE product_id = :product_id AND size = :size AND version = :version AND user_id = :user_id
[27-Oct-2025 04:34:32 UTC] Cart::getCartItem - Params: {"product_id":36,"size":"10ml","version":"EXTRAIT \/ STRONG","user_id":"2"}
[27-Oct-2025 04:34:32 UTC] Cart::getCartItem - No existing item found
[27-Oct-2025 04:34:32 UTC] Cart::getSessionCartItem - Query: SELECT * FROM cart 
                  WHERE session_id = :session_id AND product_id = :product_id AND size = :size AND version = :version
[27-Oct-2025 04:34:32 UTC] Cart::getSessionCartItem - Params: {"session_id":"qh2ahg2v63mih29c5rd214t26k","product_id":36,"size":"10ml","version":"EXTRAIT \/ STRONG"}
[27-Oct-2025 04:34:32 UTC] Cart::getSessionCartItem - No session item found
[27-Oct-2025 04:34:32 UTC] Cart::addItem - No existing item found, creating new item
[27-Oct-2025 04:34:32 UTC] Cart::addItem - Successfully created new item with ID: 114
[27-Oct-2025 04:34:32 UTC] Successfully added to cart. Cart count: 2, Cart item ID: 114
[27-Oct-2025 04:34:34 UTC] Shipping config query for amount 22.302 found: {"id":"12","name":"jnt","description":"","fee_type":"weight_based","base_fee":"3.00","fee_value":"0.00","min_order_amount":"1.00","max_order_amount":null,"delivery_days_min":"3","delivery_days_max":"4","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:44:05","updated_at":"2025-10-13 15:44:05","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[27-Oct-2025 04:34:34 UTC] Cart page requesting shipping config for order amount: 22.302
[27-Oct-2025 04:36:06 UTC] Product ID: 36, Feedback records found: 3
[27-Oct-2025 04:36:06 UTC] Product ID: 36, Total sold: 7
[27-Oct-2025 04:36:13 UTC] Shipping config query for amount 22.302 found: {"id":"12","name":"jnt","description":"","fee_type":"weight_based","base_fee":"3.00","fee_value":"0.00","min_order_amount":"1.00","max_order_amount":null,"delivery_days_min":"3","delivery_days_max":"4","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:44:05","updated_at":"2025-10-13 15:44:05","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[27-Oct-2025 04:36:13 UTC] Cart page requesting shipping config for order amount: 22.302
[27-Oct-2025 04:36:24 UTC] Shipping config query for amount 22.302 found: {"id":"12","name":"jnt","description":"","fee_type":"weight_based","base_fee":"3.00","fee_value":"0.00","min_order_amount":"1.00","max_order_amount":null,"delivery_days_min":"3","delivery_days_max":"4","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:44:05","updated_at":"2025-10-13 15:44:05","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[27-Oct-2025 04:36:24 UTC] Cart page requesting shipping config for order amount: 22.302
[27-Oct-2025 04:36:35 UTC] Shipping config query for amount 22.302 found: {"id":"12","name":"jnt","description":"","fee_type":"weight_based","base_fee":"3.00","fee_value":"0.00","min_order_amount":"1.00","max_order_amount":null,"delivery_days_min":"3","delivery_days_max":"4","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:44:05","updated_at":"2025-10-13 15:44:05","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[27-Oct-2025 04:36:35 UTC] Cart page requesting shipping config for order amount: 22.302
[27-Oct-2025 04:37:04 UTC] Shipping config query for amount 22.302 found: {"id":"12","name":"jnt","description":"","fee_type":"weight_based","base_fee":"3.00","fee_value":"0.00","min_order_amount":"1.00","max_order_amount":null,"delivery_days_min":"3","delivery_days_max":"4","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:44:05","updated_at":"2025-10-13 15:44:05","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[27-Oct-2025 04:37:04 UTC] Cart page requesting shipping config for order amount: 22.302
[27-Oct-2025 04:37:20 UTC] Product ID: 36, Feedback records found: 3
[27-Oct-2025 04:37:20 UTC] Product ID: 36, Total sold: 7
[27-Oct-2025 04:37:23 UTC] Product ID: 36, Feedback records found: 3
[27-Oct-2025 04:37:23 UTC] Product ID: 36, Total sold: 7
[27-Oct-2025 04:37:33 UTC] Product ID: 36, Feedback records found: 3
[27-Oct-2025 04:37:33 UTC] Product ID: 36, Total sold: 7
[27-Oct-2025 04:37:36 UTC] Product ID: 36, Feedback records found: 3
[27-Oct-2025 04:37:36 UTC] Product ID: 36, Total sold: 7
[27-Oct-2025 04:38:51 UTC] Product ID: 36, Feedback records found: 3
[27-Oct-2025 04:38:51 UTC] Product ID: 36, Total sold: 7
[27-Oct-2025 04:38:58 UTC] Shipping config query for amount 22.302 found: {"id":"12","name":"jnt","description":"","fee_type":"weight_based","base_fee":"3.00","fee_value":"0.00","min_order_amount":"1.00","max_order_amount":null,"delivery_days_min":"3","delivery_days_max":"4","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:44:05","updated_at":"2025-10-13 15:44:05","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[27-Oct-2025 04:38:58 UTC] Cart page requesting shipping config for order amount: 22.302
[27-Oct-2025 04:51:03 UTC] Product ID: 40, Feedback records found: 1
[27-Oct-2025 04:51:03 UTC] Product ID: 40, Total sold: 3
[27-Oct-2025 04:51:06 UTC] Checkout Debug - Found 4 shipping options
[27-Oct-2025 04:51:06 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[27-Oct-2025 04:51:06 UTC] Shipping Option: jnt (ID: 12, Type: weight_based, Active: 1)
[27-Oct-2025 04:51:06 UTC] Shipping Option: free (ID: 9, Type: free_shipping_threshold, Active: 1)
[27-Oct-2025 04:51:06 UTC] Shipping Option: ezparcel (ID: 1, Type: weight_based, Active: 1)
[27-Oct-2025 04:51:06 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 17.8)
[27-Oct-2025 04:51:06 UTC] Shipping option 'jnt' availability: YES (subtotal: 17.8)
[27-Oct-2025 04:51:06 UTC] Shipping option 'free' filtered out: subtotal (17.8) < min_order_amount (100.00)
[27-Oct-2025 04:51:06 UTC] Shipping option 'free' availability: NO (subtotal: 17.8)
[27-Oct-2025 04:51:06 UTC] Shipping option 'ezparcel' availability: YES (subtotal: 17.8)
[27-Oct-2025 04:51:06 UTC] Checkout Debug - User ID: 15
[27-Oct-2025 04:51:06 UTC] Checkout Debug - Claimed vouchers count: 0
[27-Oct-2025 04:51:09 UTC] Checkout: Received POST request
[27-Oct-2025 04:51:09 UTC] Checkout: POST data: Array
(
    [discounted_total] => 20.80
    [email] => hariz1012@gmail.com
    [first_name] => HARIZ
    [last_name] => ROHIMI
    [address] => 
    [apartment] => 
    [city] => 
    [country] => Malaysia
    [state] => 
    [zip_code] => 
    [phone] => 0148279126
    [shipping_method_id] => 
    [payment_method] => toyyibpay_fpx
    [payment_method_fallback] => toyyibpay_fpx
    [notes] => 
    [billing_same] => on
)

[27-Oct-2025 04:51:09 UTC] Checkout: Payment method: toyyibpay_fpx
[27-Oct-2025 04:51:09 UTC] Checkout: Validation failed - missing required fields
[27-Oct-2025 04:51:09 UTC] Checkout Debug - Found 4 shipping options
[27-Oct-2025 04:51:09 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[27-Oct-2025 04:51:09 UTC] Shipping Option: jnt (ID: 12, Type: weight_based, Active: 1)
[27-Oct-2025 04:51:09 UTC] Shipping Option: free (ID: 9, Type: free_shipping_threshold, Active: 1)
[27-Oct-2025 04:51:09 UTC] Shipping Option: ezparcel (ID: 1, Type: weight_based, Active: 1)
[27-Oct-2025 04:51:09 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 17.8)
[27-Oct-2025 04:51:09 UTC] Shipping option 'jnt' availability: YES (subtotal: 17.8)
[27-Oct-2025 04:51:09 UTC] Shipping option 'free' filtered out: subtotal (17.8) < min_order_amount (100.00)
[27-Oct-2025 04:51:09 UTC] Shipping option 'free' availability: NO (subtotal: 17.8)
[27-Oct-2025 04:51:09 UTC] Shipping option 'ezparcel' availability: YES (subtotal: 17.8)
[27-Oct-2025 04:51:09 UTC] Checkout Debug - User ID: 15
[27-Oct-2025 04:51:09 UTC] Checkout Debug - Claimed vouchers count: 0
[27-Oct-2025 04:51:12 UTC] Checkout Debug - Found 4 shipping options
[27-Oct-2025 04:51:12 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[27-Oct-2025 04:51:12 UTC] Shipping Option: jnt (ID: 12, Type: weight_based, Active: 1)
[27-Oct-2025 04:51:12 UTC] Shipping Option: free (ID: 9, Type: free_shipping_threshold, Active: 1)
[27-Oct-2025 04:51:12 UTC] Shipping Option: ezparcel (ID: 1, Type: weight_based, Active: 1)
[27-Oct-2025 04:51:12 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 17.8)
[27-Oct-2025 04:51:12 UTC] Shipping option 'jnt' availability: YES (subtotal: 17.8)
[27-Oct-2025 04:51:12 UTC] Shipping option 'free' filtered out: subtotal (17.8) < min_order_amount (100.00)
[27-Oct-2025 04:51:12 UTC] Shipping option 'free' availability: NO (subtotal: 17.8)
[27-Oct-2025 04:51:12 UTC] Shipping option 'ezparcel' availability: YES (subtotal: 17.8)
[27-Oct-2025 04:51:12 UTC] Checkout Debug - User ID: 15
[27-Oct-2025 04:51:12 UTC] Checkout Debug - Claimed vouchers count: 0
[27-Oct-2025 04:55:34 UTC] Shipping config query for amount 0 found: {"id":"11","name":"Pickup Order","description":"Self collection from store (free shipping)","fee_type":"pickup","base_fee":"0.00","fee_value":"0.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"0","delivery_days_max":"0","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:37:58","updated_at":"2025-10-13 15:37:58","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[27-Oct-2025 04:55:34 UTC] Cart page requesting shipping config for order amount: 0
[27-Oct-2025 04:55:49 UTC] Product ID: 36, Feedback records found: 3
[27-Oct-2025 04:55:49 UTC] Product ID: 36, Total sold: 7
[27-Oct-2025 05:16:14 UTC] Shipping config query for amount 0 found: {"id":"11","name":"Pickup Order","description":"Self collection from store (free shipping)","fee_type":"pickup","base_fee":"0.00","fee_value":"0.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"0","delivery_days_max":"0","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:37:58","updated_at":"2025-10-13 15:37:58","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[27-Oct-2025 05:16:14 UTC] Cart page requesting shipping config for order amount: 0
[27-Oct-2025 05:33:04 UTC] Shipping config query for amount 0 found: {"id":"11","name":"Pickup Order","description":"Self collection from store (free shipping)","fee_type":"pickup","base_fee":"0.00","fee_value":"0.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"0","delivery_days_max":"0","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:37:58","updated_at":"2025-10-13 15:37:58","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[27-Oct-2025 05:33:04 UTC] Cart page requesting shipping config for order amount: 0
[27-Oct-2025 05:33:24 UTC] Product ID: 33, Feedback records found: 0
[27-Oct-2025 05:33:24 UTC] Total feedback records in database: 7
[27-Oct-2025 05:33:24 UTC] Product ID: 33, Total sold: 0
[27-Oct-2025 05:33:38 UTC] Add to cart: user_id=18, session_id=0o4ul5j8v9kuaq702qh6bfilrp, product_id=33, quantity=1, size=10ml, version=EDP / LIGHT, price=16.9
[27-Oct-2025 05:33:38 UTC] Cart::addItem - user_id: 18, session_id: 0o4ul5j8v9kuaq702qh6bfilrp, product_id: 33, size: 10ml, version: EDP / LIGHT, quantity: 1, price: 16.9
[27-Oct-2025 05:33:38 UTC] Cart::getCartItem - Query: SELECT * FROM cart 
                  WHERE product_id = :product_id AND size = :size AND version = :version AND user_id = :user_id
[27-Oct-2025 05:33:38 UTC] Cart::getCartItem - Params: {"product_id":33,"size":"10ml","version":"EDP \/ LIGHT","user_id":"18"}
[27-Oct-2025 05:33:38 UTC] Cart::getCartItem - No existing item found
[27-Oct-2025 05:33:38 UTC] Cart::getSessionCartItem - Query: SELECT * FROM cart 
                  WHERE session_id = :session_id AND product_id = :product_id AND size = :size AND version = :version
[27-Oct-2025 05:33:38 UTC] Cart::getSessionCartItem - Params: {"session_id":"0o4ul5j8v9kuaq702qh6bfilrp","product_id":33,"size":"10ml","version":"EDP \/ LIGHT"}
[27-Oct-2025 05:33:38 UTC] Cart::getSessionCartItem - No session item found
[27-Oct-2025 05:33:38 UTC] Cart::addItem - No existing item found, creating new item
[27-Oct-2025 05:33:38 UTC] Cart::addItem - Successfully created new item with ID: 115
[27-Oct-2025 05:33:38 UTC] Successfully added to cart. Cart count: 1, Cart item ID: 115
[27-Oct-2025 05:33:40 UTC] Shipping config query for amount 16.9 found: {"id":"12","name":"jnt","description":"","fee_type":"weight_based","base_fee":"3.00","fee_value":"0.00","min_order_amount":"1.00","max_order_amount":null,"delivery_days_min":"3","delivery_days_max":"4","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:44:05","updated_at":"2025-10-13 15:44:05","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[27-Oct-2025 05:33:40 UTC] Cart page requesting shipping config for order amount: 16.9
[27-Oct-2025 05:34:06 UTC] Checkout Debug - Found 4 shipping options
[27-Oct-2025 05:34:06 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[27-Oct-2025 05:34:06 UTC] Shipping Option: jnt (ID: 12, Type: weight_based, Active: 1)
[27-Oct-2025 05:34:06 UTC] Shipping Option: free (ID: 9, Type: free_shipping_threshold, Active: 1)
[27-Oct-2025 05:34:06 UTC] Shipping Option: ezparcel (ID: 1, Type: weight_based, Active: 1)
[27-Oct-2025 05:34:06 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 16.9)
[27-Oct-2025 05:34:06 UTC] Shipping option 'jnt' availability: YES (subtotal: 16.9)
[27-Oct-2025 05:34:06 UTC] Shipping option 'free' filtered out: subtotal (16.9) < min_order_amount (100.00)
[27-Oct-2025 05:34:06 UTC] Shipping option 'free' availability: NO (subtotal: 16.9)
[27-Oct-2025 05:34:06 UTC] Shipping option 'ezparcel' availability: YES (subtotal: 16.9)
[27-Oct-2025 05:34:06 UTC] Checkout Debug - User ID: 18
[27-Oct-2025 05:34:06 UTC] Checkout Debug - Claimed vouchers count: 0
[27-Oct-2025 05:34:38 UTC] Shipping config query for amount 16.9 found: {"id":"12","name":"jnt","description":"","fee_type":"weight_based","base_fee":"3.00","fee_value":"0.00","min_order_amount":"1.00","max_order_amount":null,"delivery_days_min":"3","delivery_days_max":"4","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:44:05","updated_at":"2025-10-13 15:44:05","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[27-Oct-2025 05:34:38 UTC] Cart page requesting shipping config for order amount: 16.9
[27-Oct-2025 05:34:43 UTC] Checkout Debug - Found 4 shipping options
[27-Oct-2025 05:34:43 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[27-Oct-2025 05:34:43 UTC] Shipping Option: jnt (ID: 12, Type: weight_based, Active: 1)
[27-Oct-2025 05:34:43 UTC] Shipping Option: free (ID: 9, Type: free_shipping_threshold, Active: 1)
[27-Oct-2025 05:34:43 UTC] Shipping Option: ezparcel (ID: 1, Type: weight_based, Active: 1)
[27-Oct-2025 05:34:43 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 16.9)
[27-Oct-2025 05:34:43 UTC] Shipping option 'jnt' availability: YES (subtotal: 16.9)
[27-Oct-2025 05:34:43 UTC] Shipping option 'free' filtered out: subtotal (16.9) < min_order_amount (100.00)
[27-Oct-2025 05:34:43 UTC] Shipping option 'free' availability: NO (subtotal: 16.9)
[27-Oct-2025 05:34:43 UTC] Shipping option 'ezparcel' availability: YES (subtotal: 16.9)
[27-Oct-2025 05:34:43 UTC] Checkout Debug - User ID: 18
[27-Oct-2025 05:34:43 UTC] Checkout Debug - Claimed vouchers count: 0
[27-Oct-2025 05:34:52 UTC] Shipping config query for amount 16.9 found: {"id":"12","name":"jnt","description":"","fee_type":"weight_based","base_fee":"3.00","fee_value":"0.00","min_order_amount":"1.00","max_order_amount":null,"delivery_days_min":"3","delivery_days_max":"4","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:44:05","updated_at":"2025-10-13 15:44:05","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[27-Oct-2025 05:34:52 UTC] Cart page requesting shipping config for order amount: 16.9
[27-Oct-2025 05:34:56 UTC] Checkout Debug - Found 4 shipping options
[27-Oct-2025 05:34:56 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[27-Oct-2025 05:34:56 UTC] Shipping Option: jnt (ID: 12, Type: weight_based, Active: 1)
[27-Oct-2025 05:34:56 UTC] Shipping Option: free (ID: 9, Type: free_shipping_threshold, Active: 1)
[27-Oct-2025 05:34:56 UTC] Shipping Option: ezparcel (ID: 1, Type: weight_based, Active: 1)
[27-Oct-2025 05:34:56 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 16.9)
[27-Oct-2025 05:34:56 UTC] Shipping option 'jnt' availability: YES (subtotal: 16.9)
[27-Oct-2025 05:34:56 UTC] Shipping option 'free' filtered out: subtotal (16.9) < min_order_amount (100.00)
[27-Oct-2025 05:34:56 UTC] Shipping option 'free' availability: NO (subtotal: 16.9)
[27-Oct-2025 05:34:56 UTC] Shipping option 'ezparcel' availability: YES (subtotal: 16.9)
[27-Oct-2025 05:34:56 UTC] Checkout Debug - User ID: 18
[27-Oct-2025 05:34:56 UTC] Checkout Debug - Claimed vouchers count: 0
[27-Oct-2025 05:35:06 UTC] Shipping config query for amount 16.9 found: {"id":"12","name":"jnt","description":"","fee_type":"weight_based","base_fee":"3.00","fee_value":"0.00","min_order_amount":"1.00","max_order_amount":null,"delivery_days_min":"3","delivery_days_max":"4","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:44:05","updated_at":"2025-10-13 15:44:05","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[27-Oct-2025 05:35:06 UTC] Cart page requesting shipping config for order amount: 16.9
[27-Oct-2025 05:35:11 UTC] Shipping config query for amount 16.9 found: {"id":"12","name":"jnt","description":"","fee_type":"weight_based","base_fee":"3.00","fee_value":"0.00","min_order_amount":"1.00","max_order_amount":null,"delivery_days_min":"3","delivery_days_max":"4","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:44:05","updated_at":"2025-10-13 15:44:05","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[27-Oct-2025 05:35:11 UTC] Cart page requesting shipping config for order amount: 16.9
[27-Oct-2025 05:35:21 UTC] Shipping config query for amount 0 found: {"id":"11","name":"Pickup Order","description":"Self collection from store (free shipping)","fee_type":"pickup","base_fee":"0.00","fee_value":"0.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"0","delivery_days_max":"0","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:37:58","updated_at":"2025-10-13 15:37:58","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[27-Oct-2025 05:35:21 UTC] Cart page requesting shipping config for order amount: 0
[27-Oct-2025 07:14:55 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 1
[27-Oct-2025 07:14:55 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 18
[27-Oct-2025 07:14:55 UTC] PHP Warning:  Undefined array key "price_range" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 62
[27-Oct-2025 07:14:55 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 1
[27-Oct-2025 07:14:55 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 18
[27-Oct-2025 07:14:55 UTC] PHP Warning:  Undefined array key "price_range" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 62
[27-Oct-2025 07:14:55 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 1
[27-Oct-2025 07:14:55 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 3
[27-Oct-2025 07:14:55 UTC] PHP Warning:  Undefined array key "price_range" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 54
[27-Oct-2025 07:14:55 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 59
[27-Oct-2025 07:14:55 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 1
[27-Oct-2025 07:14:55 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 3
[27-Oct-2025 07:14:55 UTC] PHP Warning:  Undefined array key "price_range" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 54
[27-Oct-2025 07:14:55 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 59
[27-Oct-2025 07:15:06 UTC] Shipping config query for amount 0 found: {"id":"11","name":"Pickup Order","description":"Self collection from store (free shipping)","fee_type":"pickup","base_fee":"0.00","fee_value":"0.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"0","delivery_days_max":"0","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:37:58","updated_at":"2025-10-13 15:37:58","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[27-Oct-2025 07:15:06 UTC] Cart page requesting shipping config for order amount: 0
[27-Oct-2025 08:43:50 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 1
[27-Oct-2025 08:43:50 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 18
[27-Oct-2025 08:43:50 UTC] PHP Warning:  Undefined array key "price_range" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 62
[27-Oct-2025 08:43:50 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 1
[27-Oct-2025 08:43:50 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 18
[27-Oct-2025 08:43:50 UTC] PHP Warning:  Undefined array key "price_range" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 62
[27-Oct-2025 08:43:50 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 1
[27-Oct-2025 08:43:50 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 18
[27-Oct-2025 08:43:50 UTC] PHP Warning:  Undefined array key "price_range" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 62
[27-Oct-2025 08:43:50 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 1
[27-Oct-2025 08:43:50 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 18
[27-Oct-2025 08:43:50 UTC] PHP Warning:  Undefined array key "price_range" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 62
[27-Oct-2025 08:43:50 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 1
[27-Oct-2025 08:43:50 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 18
[27-Oct-2025 08:43:50 UTC] PHP Warning:  Undefined array key "price_range" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 62
[27-Oct-2025 08:43:50 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 1
[27-Oct-2025 08:43:50 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 18
[27-Oct-2025 08:43:50 UTC] PHP Warning:  Undefined array key "price_range" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 62
[27-Oct-2025 08:43:50 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 1
[27-Oct-2025 08:43:50 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 18
[27-Oct-2025 08:43:50 UTC] PHP Warning:  Undefined array key "price_range" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 62
[27-Oct-2025 08:43:50 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 1
[27-Oct-2025 08:43:50 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 18
[27-Oct-2025 08:43:50 UTC] PHP Warning:  Undefined array key "price_range" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 62
[27-Oct-2025 08:43:50 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 1
[27-Oct-2025 08:43:50 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 3
[27-Oct-2025 08:43:50 UTC] PHP Warning:  Undefined array key "price_range" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 54
[27-Oct-2025 08:43:50 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 59
[27-Oct-2025 08:43:50 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 1
[27-Oct-2025 08:43:50 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 3
[27-Oct-2025 08:43:50 UTC] PHP Warning:  Undefined array key "price_range" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 54
[27-Oct-2025 08:43:50 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 59
[27-Oct-2025 08:43:50 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 1
[27-Oct-2025 08:43:50 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 3
[27-Oct-2025 08:43:50 UTC] PHP Warning:  Undefined array key "price_range" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 54
[27-Oct-2025 08:43:50 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 59
[27-Oct-2025 08:43:50 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 1
[27-Oct-2025 08:43:50 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 3
[27-Oct-2025 08:43:50 UTC] PHP Warning:  Undefined array key "price_range" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 54
[27-Oct-2025 08:43:50 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 59
[27-Oct-2025 08:43:50 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 1
[27-Oct-2025 08:43:50 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 3
[27-Oct-2025 08:43:50 UTC] PHP Warning:  Undefined array key "price_range" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 54
[27-Oct-2025 08:43:50 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 59
[27-Oct-2025 08:43:50 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 1
[27-Oct-2025 08:43:50 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 3
[27-Oct-2025 08:43:50 UTC] PHP Warning:  Undefined array key "price_range" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 54
[27-Oct-2025 08:43:50 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 59
[27-Oct-2025 08:43:50 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 1
[27-Oct-2025 08:43:50 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 3
[27-Oct-2025 08:43:50 UTC] PHP Warning:  Undefined array key "price_range" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 54
[27-Oct-2025 08:43:50 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 59
[27-Oct-2025 08:43:50 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 1
[27-Oct-2025 08:43:50 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 3
[27-Oct-2025 08:43:50 UTC] PHP Warning:  Undefined array key "price_range" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 54
[27-Oct-2025 08:43:50 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 59
[27-Oct-2025 08:43:56 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 1
[27-Oct-2025 08:43:56 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 18
[27-Oct-2025 08:43:56 UTC] PHP Warning:  Undefined array key "price_range" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 62
[27-Oct-2025 08:43:56 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 1
[27-Oct-2025 08:43:56 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 18
[27-Oct-2025 08:43:56 UTC] PHP Warning:  Undefined array key "price_range" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 62
[27-Oct-2025 08:43:56 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 1
[27-Oct-2025 08:43:56 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 18
[27-Oct-2025 08:43:56 UTC] PHP Warning:  Undefined array key "price_range" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 62
[27-Oct-2025 08:43:56 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 1
[27-Oct-2025 08:43:56 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 18
[27-Oct-2025 08:43:56 UTC] PHP Warning:  Undefined array key "price_range" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 62
[27-Oct-2025 08:43:56 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 1
[27-Oct-2025 08:43:56 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 18
[27-Oct-2025 08:43:56 UTC] PHP Warning:  Undefined array key "price_range" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 62
[27-Oct-2025 08:43:56 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 1
[27-Oct-2025 08:43:56 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 18
[27-Oct-2025 08:43:56 UTC] PHP Warning:  Undefined array key "price_range" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 62
[27-Oct-2025 08:43:56 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 1
[27-Oct-2025 08:43:56 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 18
[27-Oct-2025 08:43:56 UTC] PHP Warning:  Undefined array key "price_range" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 62
[27-Oct-2025 08:43:56 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 1
[27-Oct-2025 08:43:56 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 18
[27-Oct-2025 08:43:56 UTC] PHP Warning:  Undefined array key "price_range" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 62
[27-Oct-2025 08:43:56 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 1
[27-Oct-2025 08:43:56 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 3
[27-Oct-2025 08:43:56 UTC] PHP Warning:  Undefined array key "price_range" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 54
[27-Oct-2025 08:43:56 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 59
[27-Oct-2025 08:43:56 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 1
[27-Oct-2025 08:43:56 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 3
[27-Oct-2025 08:43:56 UTC] PHP Warning:  Undefined array key "price_range" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 54
[27-Oct-2025 08:43:56 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 59
[27-Oct-2025 08:43:56 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 1
[27-Oct-2025 08:43:56 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 3
[27-Oct-2025 08:43:56 UTC] PHP Warning:  Undefined array key "price_range" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 54
[27-Oct-2025 08:43:56 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 59
[27-Oct-2025 08:43:56 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 1
[27-Oct-2025 08:43:56 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 3
[27-Oct-2025 08:43:56 UTC] PHP Warning:  Undefined array key "price_range" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 54
[27-Oct-2025 08:43:56 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 59
[27-Oct-2025 08:43:56 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 1
[27-Oct-2025 08:43:56 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 3
[27-Oct-2025 08:43:56 UTC] PHP Warning:  Undefined array key "price_range" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 54
[27-Oct-2025 08:43:56 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 59
[27-Oct-2025 08:43:56 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 1
[27-Oct-2025 08:43:56 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 3
[27-Oct-2025 08:43:56 UTC] PHP Warning:  Undefined array key "price_range" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 54
[27-Oct-2025 08:43:56 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 59
[27-Oct-2025 08:43:56 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 1
[27-Oct-2025 08:43:56 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 3
[27-Oct-2025 08:43:56 UTC] PHP Warning:  Undefined array key "price_range" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 54
[27-Oct-2025 08:43:56 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 59
[27-Oct-2025 08:43:56 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 1
[27-Oct-2025 08:43:56 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 3
[27-Oct-2025 08:43:56 UTC] PHP Warning:  Undefined array key "price_range" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 54
[27-Oct-2025 08:43:56 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 59
[27-Oct-2025 08:44:00 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 1
[27-Oct-2025 08:44:00 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 18
[27-Oct-2025 08:44:00 UTC] PHP Warning:  Undefined array key "price_range" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 62
[27-Oct-2025 08:44:00 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 1
[27-Oct-2025 08:44:00 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 18
[27-Oct-2025 08:44:00 UTC] PHP Warning:  Undefined array key "price_range" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 62
[27-Oct-2025 08:44:00 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 1
[27-Oct-2025 08:44:00 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 18
[27-Oct-2025 08:44:00 UTC] PHP Warning:  Undefined array key "price_range" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 62
[27-Oct-2025 08:44:00 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 1
[27-Oct-2025 08:44:00 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 18
[27-Oct-2025 08:44:00 UTC] PHP Warning:  Undefined array key "price_range" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 62
[27-Oct-2025 08:44:00 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 1
[27-Oct-2025 08:44:00 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 18
[27-Oct-2025 08:44:00 UTC] PHP Warning:  Undefined array key "price_range" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 62
[27-Oct-2025 08:44:00 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 1
[27-Oct-2025 08:44:00 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 18
[27-Oct-2025 08:44:00 UTC] PHP Warning:  Undefined array key "price_range" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 62
[27-Oct-2025 08:44:00 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 1
[27-Oct-2025 08:44:00 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 18
[27-Oct-2025 08:44:00 UTC] PHP Warning:  Undefined array key "price_range" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 62
[27-Oct-2025 08:44:00 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 1
[27-Oct-2025 08:44:00 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 18
[27-Oct-2025 08:44:00 UTC] PHP Warning:  Undefined array key "price_range" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-card.php on line 62
[27-Oct-2025 08:44:00 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 1
[27-Oct-2025 08:44:00 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 3
[27-Oct-2025 08:44:00 UTC] PHP Warning:  Undefined array key "price_range" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 54
[27-Oct-2025 08:44:00 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 59
[27-Oct-2025 08:44:00 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 1
[27-Oct-2025 08:44:00 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 3
[27-Oct-2025 08:44:00 UTC] PHP Warning:  Undefined array key "price_range" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 54
[27-Oct-2025 08:44:00 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 59
[27-Oct-2025 08:44:00 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 1
[27-Oct-2025 08:44:00 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 3
[27-Oct-2025 08:44:00 UTC] PHP Warning:  Undefined array key "price_range" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 54
[27-Oct-2025 08:44:00 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 59
[27-Oct-2025 08:44:00 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 1
[27-Oct-2025 08:44:00 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 3
[27-Oct-2025 08:44:00 UTC] PHP Warning:  Undefined array key "price_range" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 54
[27-Oct-2025 08:44:00 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 59
[27-Oct-2025 08:44:00 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 1
[27-Oct-2025 08:44:00 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 3
[27-Oct-2025 08:44:00 UTC] PHP Warning:  Undefined array key "price_range" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 54
[27-Oct-2025 08:44:00 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 59
[27-Oct-2025 08:44:00 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 1
[27-Oct-2025 08:44:00 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 3
[27-Oct-2025 08:44:00 UTC] PHP Warning:  Undefined array key "price_range" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 54
[27-Oct-2025 08:44:00 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 59
[27-Oct-2025 08:44:00 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 1
[27-Oct-2025 08:44:00 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 3
[27-Oct-2025 08:44:00 UTC] PHP Warning:  Undefined array key "price_range" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 54
[27-Oct-2025 08:44:00 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 59
[27-Oct-2025 08:44:00 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 1
[27-Oct-2025 08:44:00 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 3
[27-Oct-2025 08:44:00 UTC] PHP Warning:  Undefined array key "price_range" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 54
[27-Oct-2025 08:44:00 UTC] PHP Warning:  Undefined array key "is_out_of_stock" in /home2/igoldser/public_html/2dayparfum.com/apps/includes/product-list-item.php on line 59
[28-Oct-2025 01:18:04 UTC] Shipping config query for amount 0 found: {"id":"11","name":"Pickup Order","description":"Self collection from store (free shipping)","fee_type":"pickup","base_fee":"0.00","fee_value":"0.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"0","delivery_days_max":"0","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:37:58","updated_at":"2025-10-13 15:37:58","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[28-Oct-2025 01:18:04 UTC] Cart page requesting shipping config for order amount: 0
[28-Oct-2025 05:50:49 UTC] Shipping config query for amount 0 found: {"id":"11","name":"Pickup Order","description":"Self collection from store (free shipping)","fee_type":"pickup","base_fee":"0.00","fee_value":"0.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"0","delivery_days_max":"0","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:37:58","updated_at":"2025-10-13 15:37:58","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[28-Oct-2025 05:50:49 UTC] Cart page requesting shipping config for order amount: 0
[28-Oct-2025 11:55:50 UTC] Product ID: 2, Feedback records found: 0
[28-Oct-2025 11:55:50 UTC] Total feedback records in database: 0
[28-Oct-2025 11:55:50 UTC] Product ID: 2, Total sold: 0
[28-Oct-2025 11:56:05 UTC] Checkout Debug - Found 1 shipping options
[28-Oct-2025 11:56:05 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[28-Oct-2025 11:56:05 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 14.9)
[28-Oct-2025 11:56:05 UTC] Checkout Debug - User ID: 2
[28-Oct-2025 11:56:05 UTC] Checkout Debug - Claimed vouchers count: 0
[28-Oct-2025 11:56:26 UTC] Product ID: 1, Feedback records found: 0
[28-Oct-2025 11:56:26 UTC] Total feedback records in database: 0
[28-Oct-2025 11:56:26 UTC] Product ID: 1, Total sold: 0
[28-Oct-2025 15:22:47 UTC] Product ID: 1, Feedback records found: 0
[28-Oct-2025 15:22:47 UTC] Total feedback records in database: 0
[28-Oct-2025 15:22:47 UTC] Product ID: 1, Total sold: 0
[29-Oct-2025 08:19:02 UTC] Product ID: 1, Feedback records found: 0
[29-Oct-2025 08:19:02 UTC] Total feedback records in database: 0
[29-Oct-2025 08:19:02 UTC] Product ID: 1, Total sold: 0
[29-Oct-2025 12:00:58 UTC] Product ID: 1, Feedback records found: 0
[29-Oct-2025 12:00:58 UTC] Total feedback records in database: 0
[29-Oct-2025 12:00:58 UTC] Product ID: 1, Total sold: 0
[29-Oct-2025 23:01:50 UTC] Shipping config query for amount 0 found: {"id":"11","name":"Pickup Order","description":"Self collection from store (free shipping)","fee_type":"pickup","base_fee":"0.00","fee_value":"0.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"0","delivery_days_max":"0","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:37:58","updated_at":"2025-10-13 15:37:58","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[29-Oct-2025 23:01:50 UTC] Cart page requesting shipping config for order amount: 0
[30-Oct-2025 05:33:43 UTC] Product ID: 2, Feedback records found: 0
[30-Oct-2025 05:33:43 UTC] Total feedback records in database: 0
[30-Oct-2025 05:33:43 UTC] Product ID: 2, Total sold: 0
[01-Nov-2025 00:54:44 UTC] Shipping config query for amount 0 found: {"id":"11","name":"Pickup Order","description":"Self collection from store (free shipping)","fee_type":"pickup","base_fee":"0.00","fee_value":"0.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"0","delivery_days_max":"0","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:37:58","updated_at":"2025-10-13 15:37:58","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[01-Nov-2025 00:54:44 UTC] Cart page requesting shipping config for order amount: 0
[01-Nov-2025 05:00:24 UTC] Database connection error: Database connection failed
[01-Nov-2025 05:00:26 UTC] PHP Fatal error:  Uncaught Error: Call to a member function prepare() on null in /home2/igoldser/public_html/2dayparfum.com/apps/models/Product.php:75
Stack trace:
#0 /home2/igoldser/public_html/2dayparfum.com/apps/products.php(23): Product->getAll()
#1 {main}
  thrown in /home2/igoldser/public_html/2dayparfum.com/apps/models/Product.php on line 75
[01-Nov-2025 05:00:32 UTC] Database connection error: Database connection failed
[01-Nov-2025 05:00:33 UTC] PHP Fatal error:  Uncaught Error: Call to a member function prepare() on null in /home2/igoldser/public_html/2dayparfum.com/apps/models/Cart.php:86
Stack trace:
#0 /home2/igoldser/public_html/2dayparfum.com/apps/auth-handler.php(132): Cart->getCartItems()
#1 {main}
  thrown in /home2/igoldser/public_html/2dayparfum.com/apps/models/Cart.php on line 86
[01-Nov-2025 05:00:34 UTC] Database connection error: Database connection failed
[01-Nov-2025 05:00:35 UTC] PHP Fatal error:  Uncaught Error: Call to a member function prepare() on null in /home2/igoldser/public_html/2dayparfum.com/apps/models/Product.php:75
Stack trace:
#0 /home2/igoldser/public_html/2dayparfum.com/apps/models/Product.php(291): Product->getAll()
#1 /home2/igoldser/public_html/2dayparfum.com/apps/index.php(11): Product->getBestSellers()
#2 {main}
  thrown in /home2/igoldser/public_html/2dayparfum.com/apps/models/Product.php on line 75
[01-Nov-2025 05:00:36 UTC] Database connection error: Database connection failed
[01-Nov-2025 05:00:37 UTC] Database connection error: Database connection failed
[01-Nov-2025 05:00:38 UTC] PHP Fatal error:  Uncaught Error: Call to a member function prepare() on null in /home2/igoldser/public_html/2dayparfum.com/apps/models/Product.php:75
Stack trace:
#0 /home2/igoldser/public_html/2dayparfum.com/apps/models/Product.php(291): Product->getAll()
#1 /home2/igoldser/public_html/2dayparfum.com/apps/index.php(11): Product->getBestSellers()
#2 {main}
  thrown in /home2/igoldser/public_html/2dayparfum.com/apps/models/Product.php on line 75
[01-Nov-2025 05:06:24 UTC] Database connection error: Database connection failed
[01-Nov-2025 05:06:25 UTC] PHP Fatal error:  Uncaught Error: Call to a member function prepare() on null in /home2/igoldser/public_html/2dayparfum.com/apps/models/Product.php:75
Stack trace:
#0 /home2/igoldser/public_html/2dayparfum.com/apps/models/Product.php(291): Product->getAll()
#1 /home2/igoldser/public_html/2dayparfum.com/apps/index.php(11): Product->getBestSellers()
#2 {main}
  thrown in /home2/igoldser/public_html/2dayparfum.com/apps/models/Product.php on line 75
[01-Nov-2025 05:06:32 UTC] Database connection error: Database connection failed
[01-Nov-2025 05:06:33 UTC] Database connection error: Database connection failed
[01-Nov-2025 05:06:34 UTC] PHP Fatal error:  Uncaught Error: Call to a member function prepare() on null in /home2/igoldser/public_html/2dayparfum.com/apps/models/Product.php:75
Stack trace:
#0 /home2/igoldser/public_html/2dayparfum.com/apps/models/Product.php(291): Product->getAll()
#1 /home2/igoldser/public_html/2dayparfum.com/apps/index.php(11): Product->getBestSellers()
#2 {main}
  thrown in /home2/igoldser/public_html/2dayparfum.com/apps/models/Product.php on line 75
[01-Nov-2025 05:06:52 UTC] Database connection error: Database connection failed
[01-Nov-2025 05:06:53 UTC] Database connection error: Database connection failed
[01-Nov-2025 05:06:54 UTC] PHP Fatal error:  Uncaught Error: Call to a member function prepare() on null in /home2/igoldser/public_html/2dayparfum.com/apps/models/Product.php:75
Stack trace:
#0 /home2/igoldser/public_html/2dayparfum.com/apps/models/Product.php(291): Product->getAll()
#1 /home2/igoldser/public_html/2dayparfum.com/apps/index.php(11): Product->getBestSellers()
#2 {main}
  thrown in /home2/igoldser/public_html/2dayparfum.com/apps/models/Product.php on line 75
[01-Nov-2025 05:06:55 UTC] Database connection error: Database connection failed
[01-Nov-2025 05:06:56 UTC] PHP Fatal error:  Uncaught Error: Call to a member function prepare() on null in /home2/igoldser/public_html/2dayparfum.com/apps/models/Product.php:75
Stack trace:
#0 /home2/igoldser/public_html/2dayparfum.com/apps/models/Product.php(291): Product->getAll()
#1 /home2/igoldser/public_html/2dayparfum.com/apps/index.php(11): Product->getBestSellers()
#2 {main}
  thrown in /home2/igoldser/public_html/2dayparfum.com/apps/models/Product.php on line 75
[01-Nov-2025 05:06:57 UTC] Database connection error: Database connection failed
[01-Nov-2025 05:40:39 UTC] Database connection error: Database connection failed
[01-Nov-2025 05:40:40 UTC] PHP Fatal error:  Uncaught Error: Call to a member function prepare() on null in /home2/igoldser/public_html/2dayparfum.com/apps/models/Product.php:75
Stack trace:
#0 /home2/igoldser/public_html/2dayparfum.com/apps/models/Product.php(291): Product->getAll()
#1 /home2/igoldser/public_html/2dayparfum.com/apps/index.php(11): Product->getBestSellers()
#2 {main}
  thrown in /home2/igoldser/public_html/2dayparfum.com/apps/models/Product.php on line 75
[01-Nov-2025 06:38:29 UTC] Database connection error: Database connection failed
[01-Nov-2025 06:38:30 UTC] PHP Fatal error:  Uncaught Error: Call to a member function prepare() on null in /home2/igoldser/public_html/2dayparfum.com/apps/models/User.php:214
Stack trace:
#0 /home2/igoldser/public_html/2dayparfum.com/apps/includes/remember-me.php(16): User->verifyRememberToken()
#1 /home2/igoldser/public_html/2dayparfum.com/apps/index.php(7): checkRememberMe()
#2 {main}
  thrown in /home2/igoldser/public_html/2dayparfum.com/apps/models/User.php on line 214
[01-Nov-2025 06:54:44 UTC] Database connection error: Database connection failed
[01-Nov-2025 06:54:45 UTC] PHP Fatal error:  Uncaught Error: Call to a member function prepare() on null in /home2/igoldser/public_html/2dayparfum.com/apps/models/User.php:214
Stack trace:
#0 /home2/igoldser/public_html/2dayparfum.com/apps/includes/remember-me.php(16): User->verifyRememberToken()
#1 /home2/igoldser/public_html/2dayparfum.com/apps/index.php(7): checkRememberMe()
#2 {main}
  thrown in /home2/igoldser/public_html/2dayparfum.com/apps/models/User.php on line 214
[01-Nov-2025 07:26:57 UTC] Shipping config query for amount 0 found: {"id":"11","name":"Pickup Order","description":"Self collection from store (free shipping)","fee_type":"pickup","base_fee":"0.00","fee_value":"0.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"0","delivery_days_max":"0","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:37:58","updated_at":"2025-10-13 15:37:58","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[01-Nov-2025 07:26:57 UTC] Cart page requesting shipping config for order amount: 0
[01-Nov-2025 07:27:24 UTC] Shipping config query for amount 0 found: {"id":"11","name":"Pickup Order","description":"Self collection from store (free shipping)","fee_type":"pickup","base_fee":"0.00","fee_value":"0.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"0","delivery_days_max":"0","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:37:58","updated_at":"2025-10-13 15:37:58","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[01-Nov-2025 07:27:24 UTC] Cart page requesting shipping config for order amount: 0
[01-Nov-2025 14:56:39 UTC] Product ID: 1, Feedback records found: 0
[01-Nov-2025 14:56:39 UTC] Total feedback records in database: 0
[01-Nov-2025 14:56:39 UTC] Product ID: 1, Total sold: 0
[01-Nov-2025 14:57:01 UTC] Shipping config query for amount 0 found: {"id":"11","name":"Pickup Order","description":"Self collection from store (free shipping)","fee_type":"pickup","base_fee":"0.00","fee_value":"0.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"0","delivery_days_max":"0","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:37:58","updated_at":"2025-10-13 15:37:58","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[01-Nov-2025 14:57:01 UTC] Cart page requesting shipping config for order amount: 0
[01-Nov-2025 23:49:43 UTC] Shipping config query for amount 0 found: {"id":"11","name":"Pickup Order","description":"Self collection from store (free shipping)","fee_type":"pickup","base_fee":"0.00","fee_value":"0.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"0","delivery_days_max":"0","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:37:58","updated_at":"2025-10-13 15:37:58","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[01-Nov-2025 23:49:43 UTC] Cart page requesting shipping config for order amount: 0
[03-Nov-2025 06:13:07 UTC] Shipping config query for amount 0 found: {"id":"11","name":"Pickup Order","description":"Self collection from store (free shipping)","fee_type":"pickup","base_fee":"0.00","fee_value":"0.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"0","delivery_days_max":"0","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:37:58","updated_at":"2025-10-13 15:37:58","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[03-Nov-2025 06:13:07 UTC] Cart page requesting shipping config for order amount: 0
[03-Nov-2025 11:51:30 UTC] Shipping config query for amount 0 found: {"id":"11","name":"Pickup Order","description":"Self collection from store (free shipping)","fee_type":"pickup","base_fee":"0.00","fee_value":"0.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"0","delivery_days_max":"0","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:37:58","updated_at":"2025-10-13 15:37:58","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[03-Nov-2025 11:51:30 UTC] Cart page requesting shipping config for order amount: 0
[04-Nov-2025 08:53:20 UTC] Shipping config query for amount 0 found: {"id":"11","name":"Pickup Order","description":"Self collection from store (free shipping)","fee_type":"pickup","base_fee":"0.00","fee_value":"0.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"0","delivery_days_max":"0","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:37:58","updated_at":"2025-10-13 15:37:58","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[04-Nov-2025 08:53:20 UTC] Cart page requesting shipping config for order amount: 0
[04-Nov-2025 08:53:40 UTC] Shipping config query for amount 0 found: {"id":"11","name":"Pickup Order","description":"Self collection from store (free shipping)","fee_type":"pickup","base_fee":"0.00","fee_value":"0.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"0","delivery_days_max":"0","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:37:58","updated_at":"2025-10-13 15:37:58","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[04-Nov-2025 08:53:40 UTC] Cart page requesting shipping config for order amount: 0
[04-Nov-2025 08:54:09 UTC] Product ID: 1, Feedback records found: 0
[04-Nov-2025 08:54:09 UTC] Total feedback records in database: 0
[04-Nov-2025 08:54:09 UTC] Product ID: 1, Total sold: 0
[04-Nov-2025 08:59:40 UTC] Product ID: 9, Feedback records found: 0
[04-Nov-2025 08:59:40 UTC] Total feedback records in database: 0
[04-Nov-2025 08:59:40 UTC] Product ID: 9, Total sold: 0
[04-Nov-2025 12:44:12 UTC] Shipping config query for amount 0 found: {"id":"11","name":"Pickup Order","description":"Self collection from store (free shipping)","fee_type":"pickup","base_fee":"0.00","fee_value":"0.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"0","delivery_days_max":"0","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:37:58","updated_at":"2025-10-13 15:37:58","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[04-Nov-2025 12:44:12 UTC] Cart page requesting shipping config for order amount: 0
[04-Nov-2025 12:45:10 UTC] Product ID: 12, Feedback records found: 0
[04-Nov-2025 12:45:10 UTC] Total feedback records in database: 0
[04-Nov-2025 12:45:10 UTC] Product ID: 12, Total sold: 0
[04-Nov-2025 14:35:37 UTC] Product ID: 8, Feedback records found: 0
[04-Nov-2025 14:35:37 UTC] Total feedback records in database: 0
[04-Nov-2025 14:35:37 UTC] Product ID: 8, Total sold: 0
[05-Nov-2025 03:08:42 UTC] Product ID: 10, Feedback records found: 0
[05-Nov-2025 03:08:42 UTC] Total feedback records in database: 0
[05-Nov-2025 03:08:42 UTC] Product ID: 10, Total sold: 0
[05-Nov-2025 03:09:00 UTC] Product ID: 4, Feedback records found: 0
[05-Nov-2025 03:09:00 UTC] Total feedback records in database: 0
[05-Nov-2025 03:09:00 UTC] Product ID: 4, Total sold: 0
[05-Nov-2025 12:12:51 UTC] Product ID: 21, Feedback records found: 0
[05-Nov-2025 12:12:51 UTC] Total feedback records in database: 0
[05-Nov-2025 12:12:51 UTC] Product ID: 21, Total sold: 0
[06-Nov-2025 05:08:42 UTC] Shipping config query for amount 0 found: {"id":"11","name":"Pickup Order","description":"Self collection from store (free shipping)","fee_type":"pickup","base_fee":"0.00","fee_value":"0.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"0","delivery_days_max":"0","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:37:58","updated_at":"2025-10-13 15:37:58","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[06-Nov-2025 05:08:42 UTC] Cart page requesting shipping config for order amount: 0
[06-Nov-2025 05:08:51 UTC] Product ID: 17, Feedback records found: 0
[06-Nov-2025 05:08:51 UTC] Total feedback records in database: 0
[06-Nov-2025 05:08:51 UTC] Product ID: 17, Total sold: 0
[06-Nov-2025 05:08:54 UTC] Checkout Debug - Found 1 shipping options
[06-Nov-2025 05:08:54 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[06-Nov-2025 05:08:54 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 16.9)
[06-Nov-2025 05:08:54 UTC] Checkout Debug - User ID: 2
[06-Nov-2025 05:08:54 UTC] Checkout Debug - Claimed vouchers count: 0
[07-Nov-2025 01:52:54 UTC] Product ID: 10, Feedback records found: 0
[07-Nov-2025 01:52:54 UTC] Total feedback records in database: 0
[07-Nov-2025 01:52:54 UTC] Product ID: 10, Total sold: 0
[07-Nov-2025 05:13:42 UTC] Product ID: 23, Feedback records found: 0
[07-Nov-2025 05:13:42 UTC] Total feedback records in database: 0
[07-Nov-2025 05:13:42 UTC] Product ID: 23, Total sold: 0
[07-Nov-2025 05:13:55 UTC] Product ID: 16, Feedback records found: 0
[07-Nov-2025 05:13:55 UTC] Total feedback records in database: 0
[07-Nov-2025 05:13:55 UTC] Product ID: 16, Total sold: 0
[07-Nov-2025 13:52:25 UTC] Product ID: 27, Feedback records found: 0
[07-Nov-2025 13:52:25 UTC] Total feedback records in database: 0
[07-Nov-2025 13:52:25 UTC] Product ID: 27, Total sold: 0
[07-Nov-2025 16:09:52 UTC] Shipping config query for amount 0 found: {"id":"11","name":"Pickup Order","description":"Self collection from store (free shipping)","fee_type":"pickup","base_fee":"0.00","fee_value":"0.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"0","delivery_days_max":"0","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:37:58","updated_at":"2025-10-13 15:37:58","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[07-Nov-2025 16:09:52 UTC] Cart page requesting shipping config for order amount: 0
[07-Nov-2025 16:11:00 UTC] Product ID: 13, Feedback records found: 0
[07-Nov-2025 16:11:00 UTC] Total feedback records in database: 0
[07-Nov-2025 16:11:00 UTC] Product ID: 13, Total sold: 0
[07-Nov-2025 16:13:12 UTC] Checkout Debug - Found 1 shipping options
[07-Nov-2025 16:13:12 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[07-Nov-2025 16:13:12 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 16.9)
[07-Nov-2025 16:13:12 UTC] Checkout Debug - User ID: 19
[07-Nov-2025 16:13:12 UTC] Checkout Debug - Claimed vouchers count: 0
[09-Nov-2025 23:26:56 UTC] Product ID: 15, Feedback records found: 0
[09-Nov-2025 23:26:56 UTC] Total feedback records in database: 0
[09-Nov-2025 23:26:56 UTC] Product ID: 15, Total sold: 0
[10-Nov-2025 04:23:28 UTC] Product ID: 13, Feedback records found: 0
[10-Nov-2025 04:23:28 UTC] Total feedback records in database: 0
[10-Nov-2025 04:23:28 UTC] Product ID: 13, Total sold: 0
[10-Nov-2025 10:47:45 UTC] Product ID: 13, Feedback records found: 0
[10-Nov-2025 10:47:45 UTC] Total feedback records in database: 0
[10-Nov-2025 10:47:45 UTC] Product ID: 13, Total sold: 0
[10-Nov-2025 10:48:02 UTC] Add to cart: user_id=15, session_id=4vmo86f1haemc8rv2ur4er8rb5, product_id=13, quantity=1, size=40ML, version=EDP / LIGHT, price=59
[10-Nov-2025 10:48:02 UTC] Cart::addItem - user_id: 15, session_id: 4vmo86f1haemc8rv2ur4er8rb5, product_id: 13, size: 40ML, version: EDP / LIGHT, quantity: 1, price: 59
[10-Nov-2025 10:48:02 UTC] Cart::getCartItem - Query: SELECT * FROM cart 
                  WHERE product_id = :product_id AND size = :size AND version = :version AND user_id = :user_id
[10-Nov-2025 10:48:02 UTC] Cart::getCartItem - Params: {"product_id":13,"size":"40ML","version":"EDP \/ LIGHT","user_id":"15"}
[10-Nov-2025 10:48:02 UTC] Cart::getCartItem - No existing item found
[10-Nov-2025 10:48:02 UTC] Cart::getSessionCartItem - Query: SELECT * FROM cart 
                  WHERE session_id = :session_id AND product_id = :product_id AND size = :size AND version = :version
[10-Nov-2025 10:48:02 UTC] Cart::getSessionCartItem - Params: {"session_id":"4vmo86f1haemc8rv2ur4er8rb5","product_id":13,"size":"40ML","version":"EDP \/ LIGHT"}
[10-Nov-2025 10:48:02 UTC] Cart::getSessionCartItem - No session item found
[10-Nov-2025 10:48:02 UTC] Cart::addItem - No existing item found, creating new item
[10-Nov-2025 10:48:02 UTC] Cart::addItem - Successfully created new item with ID: 116
[10-Nov-2025 10:48:02 UTC] Successfully added to cart. Cart count: 1, Cart item ID: 116
[10-Nov-2025 10:48:07 UTC] Shipping config query for amount 59 found: {"id":"11","name":"Pickup Order","description":"Self collection from store (free shipping)","fee_type":"pickup","base_fee":"0.00","fee_value":"0.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"0","delivery_days_max":"0","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:37:58","updated_at":"2025-10-13 15:37:58","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[10-Nov-2025 10:48:07 UTC] Cart page requesting shipping config for order amount: 59
[10-Nov-2025 10:48:09 UTC] Shipping config query for amount 59 found: {"id":"11","name":"Pickup Order","description":"Self collection from store (free shipping)","fee_type":"pickup","base_fee":"0.00","fee_value":"0.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"0","delivery_days_max":"0","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:37:58","updated_at":"2025-10-13 15:37:58","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[10-Nov-2025 10:48:09 UTC] Cart page requesting shipping config for order amount: 59
[10-Nov-2025 10:48:32 UTC] Checkout Debug - Found 1 shipping options
[10-Nov-2025 10:48:32 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[10-Nov-2025 10:48:32 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 59)
[10-Nov-2025 10:48:32 UTC] Checkout Debug - User ID: 15
[10-Nov-2025 10:48:32 UTC] Checkout Debug - Claimed vouchers count: 0
[11-Nov-2025 03:27:30 UTC] Product ID: 13, Feedback records found: 0
[11-Nov-2025 03:27:30 UTC] Total feedback records in database: 0
[11-Nov-2025 03:27:30 UTC] Product ID: 13, Total sold: 0
[12-Nov-2025 14:53:45 UTC] Shipping config query for amount 0 found: {"id":"11","name":"Pickup Order","description":"Self collection from store (free shipping)","fee_type":"pickup","base_fee":"0.00","fee_value":"0.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"0","delivery_days_max":"0","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:37:58","updated_at":"2025-10-13 15:37:58","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[12-Nov-2025 14:53:45 UTC] Cart page requesting shipping config for order amount: 0
[12-Nov-2025 17:28:30 UTC] Product ID: 10, Feedback records found: 0
[12-Nov-2025 17:28:30 UTC] Total feedback records in database: 0
[12-Nov-2025 17:28:30 UTC] Product ID: 10, Total sold: 0
[13-Nov-2025 13:44:30 UTC] Shipping config query for amount 33.8 found: {"id":"11","name":"Pickup Order","description":"Self collection from store (free shipping)","fee_type":"pickup","base_fee":"0.00","fee_value":"0.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"0","delivery_days_max":"0","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:37:58","updated_at":"2025-10-13 15:37:58","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[13-Nov-2025 13:44:30 UTC] Cart page requesting shipping config for order amount: 33.8
[13-Nov-2025 13:44:47 UTC] Product ID: 26, Feedback records found: 0
[13-Nov-2025 13:44:47 UTC] Total feedback records in database: 0
[13-Nov-2025 13:44:47 UTC] Product ID: 26, Total sold: 0
[14-Nov-2025 05:04:06 UTC] Product ID: 13, Feedback records found: 0
[14-Nov-2025 05:04:06 UTC] Total feedback records in database: 0
[14-Nov-2025 05:04:06 UTC] Product ID: 13, Total sold: 0
[14-Nov-2025 05:06:14 UTC] Product ID: 10, Feedback records found: 0
[14-Nov-2025 05:06:14 UTC] Total feedback records in database: 0
[14-Nov-2025 05:06:14 UTC] Product ID: 10, Total sold: 0
[14-Nov-2025 05:06:52 UTC] Product ID: 15, Feedback records found: 0
[14-Nov-2025 05:06:52 UTC] Total feedback records in database: 0
[14-Nov-2025 05:06:52 UTC] Product ID: 15, Total sold: 0
[14-Nov-2025 15:57:57 UTC] Product ID: 10, Feedback records found: 0
[14-Nov-2025 15:57:57 UTC] Total feedback records in database: 0
[14-Nov-2025 15:57:57 UTC] Product ID: 10, Total sold: 0
[15-Nov-2025 03:28:05 UTC] Product ID: 10, Feedback records found: 0
[15-Nov-2025 03:28:05 UTC] Total feedback records in database: 0
[15-Nov-2025 03:28:05 UTC] Product ID: 10, Total sold: 0
[15-Nov-2025 08:40:00 UTC] Product ID: 13, Feedback records found: 0
[15-Nov-2025 08:40:00 UTC] Total feedback records in database: 0
[15-Nov-2025 08:40:00 UTC] Product ID: 13, Total sold: 0
[15-Nov-2025 08:40:46 UTC] Product ID: 13, Feedback records found: 0
[15-Nov-2025 08:40:46 UTC] Total feedback records in database: 0
[15-Nov-2025 08:40:46 UTC] Product ID: 13, Total sold: 0
[16-Nov-2025 02:48:46 UTC] Shipping config query for amount 33.8 found: {"id":"11","name":"Pickup Order","description":"Self collection from store (free shipping)","fee_type":"pickup","base_fee":"0.00","fee_value":"0.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"0","delivery_days_max":"0","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:37:58","updated_at":"2025-10-13 15:37:58","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[16-Nov-2025 02:48:46 UTC] Cart page requesting shipping config for order amount: 33.8
[16-Nov-2025 02:48:48 UTC] Checkout Debug - Found 1 shipping options
[16-Nov-2025 02:48:48 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[16-Nov-2025 02:48:48 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 26.39)
[16-Nov-2025 02:48:48 UTC] Checkout Debug - User ID: 2
[16-Nov-2025 02:48:48 UTC] Checkout Debug - Claimed vouchers count: 0
[16-Nov-2025 02:48:58 UTC] Shipping config query for amount 33.8 found: {"id":"11","name":"Pickup Order","description":"Self collection from store (free shipping)","fee_type":"pickup","base_fee":"0.00","fee_value":"0.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"0","delivery_days_max":"0","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:37:58","updated_at":"2025-10-13 15:37:58","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[16-Nov-2025 02:48:58 UTC] Cart page requesting shipping config for order amount: 33.8
[17-Nov-2025 02:16:17 UTC] Product ID: 44, Feedback records found: 0
[17-Nov-2025 02:16:17 UTC] Total feedback records in database: 0
[17-Nov-2025 02:16:17 UTC] Product ID: 44, Total sold: 0
[17-Nov-2025 04:16:34 UTC] Product ID: 13, Feedback records found: 0
[17-Nov-2025 04:16:34 UTC] Total feedback records in database: 0
[17-Nov-2025 04:16:34 UTC] Product ID: 13, Total sold: 0
[17-Nov-2025 04:16:43 UTC] Checkout Debug - Found 1 shipping options
[17-Nov-2025 04:16:43 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[17-Nov-2025 04:16:43 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 59)
[17-Nov-2025 04:16:43 UTC] Checkout Debug - User ID: 15
[17-Nov-2025 04:16:43 UTC] Checkout Debug - Claimed vouchers count: 0
[17-Nov-2025 04:17:15 UTC] Checkout: Received POST request
[17-Nov-2025 04:17:15 UTC] Checkout: POST data: Array
(
    [discounted_total] => NaN
    [email] => hariz1012@gmail.com
    [newsletter] => on
    [saved_address_id] => 3
    [first_name] => Nik Hariz
    [last_name] => Nik Rohimi
    [address] => LOT 350 TANJUNG CHAT
    [apartment] => 
    [city] => KOTA BHARU
    [country] => Malaysia
    [state] => KELANTAN
    [zip_code] => 15300
    [phone] => 0148279126
    [shipping_method_id] => 
    [payment_method] => toyyibpay_fpx
    [payment_method_fallback] => toyyibpay_fpx
    [notes] => 
    [billing_same] => on
)

[17-Nov-2025 04:17:15 UTC] Checkout: Payment method: toyyibpay_fpx
[17-Nov-2025 04:17:15 UTC] Checkout Debug - Applied Voucher: No
[17-Nov-2025 04:17:15 UTC] Order creation exception: SQLSTATE[HY000]: General error: 1366 Incorrect integer value: '' for column 'shipping_method_id' at row 1
[17-Nov-2025 04:17:15 UTC] Order creation trace: #0 /home2/igoldser/public_html/2dayparfum.com/apps/models/Order.php(121): PDOStatement->execute()
#1 /home2/igoldser/public_html/2dayparfum.com/apps/checkout.php(323): Order->create()
#2 {main}
[17-Nov-2025 04:17:15 UTC] Order Creation Error: Failed to create order for user: 15
[17-Nov-2025 04:17:16 UTC] Shipping config query for amount 59 found: {"id":"11","name":"Pickup Order","description":"Self collection from store (free shipping)","fee_type":"pickup","base_fee":"0.00","fee_value":"0.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"0","delivery_days_max":"0","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:37:58","updated_at":"2025-10-13 15:37:58","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[17-Nov-2025 04:17:16 UTC] Cart page requesting shipping config for order amount: 59
[17-Nov-2025 04:17:26 UTC] Checkout Debug - Found 1 shipping options
[17-Nov-2025 04:17:26 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[17-Nov-2025 04:17:26 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 59)
[17-Nov-2025 04:17:26 UTC] Checkout Debug - User ID: 15
[17-Nov-2025 04:17:26 UTC] Checkout Debug - Claimed vouchers count: 0
[17-Nov-2025 04:17:35 UTC] Shipping config query for amount 59 found: {"id":"11","name":"Pickup Order","description":"Self collection from store (free shipping)","fee_type":"pickup","base_fee":"0.00","fee_value":"0.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"0","delivery_days_max":"0","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:37:58","updated_at":"2025-10-13 15:37:58","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[17-Nov-2025 04:17:35 UTC] Cart page requesting shipping config for order amount: 59
[17-Nov-2025 04:17:38 UTC] Checkout Debug - Found 1 shipping options
[17-Nov-2025 04:17:38 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[17-Nov-2025 04:17:38 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 59)
[17-Nov-2025 04:17:38 UTC] Checkout Debug - User ID: 15
[17-Nov-2025 04:17:38 UTC] Checkout Debug - Claimed vouchers count: 0
[17-Nov-2025 04:17:53 UTC] Product ID: 13, Feedback records found: 0
[17-Nov-2025 04:17:53 UTC] Total feedback records in database: 0
[17-Nov-2025 04:17:53 UTC] Product ID: 13, Total sold: 0
[17-Nov-2025 04:19:06 UTC] Shipping config query for amount 59 found: {"id":"11","name":"Pickup Order","description":"Self collection from store (free shipping)","fee_type":"pickup","base_fee":"0.00","fee_value":"0.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"0","delivery_days_max":"0","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:37:58","updated_at":"2025-10-13 15:37:58","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[17-Nov-2025 04:19:06 UTC] Cart page requesting shipping config for order amount: 59
[17-Nov-2025 04:19:09 UTC] Checkout Debug - Found 1 shipping options
[17-Nov-2025 04:19:09 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[17-Nov-2025 04:19:09 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 59)
[17-Nov-2025 04:19:09 UTC] Checkout Debug - User ID: 15
[17-Nov-2025 04:19:09 UTC] Checkout Debug - Claimed vouchers count: 0
[17-Nov-2025 04:19:20 UTC] Shipping config query for amount 33.8 found: {"id":"11","name":"Pickup Order","description":"Self collection from store (free shipping)","fee_type":"pickup","base_fee":"0.00","fee_value":"0.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"0","delivery_days_max":"0","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:37:58","updated_at":"2025-10-13 15:37:58","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[17-Nov-2025 04:19:20 UTC] Cart page requesting shipping config for order amount: 33.8
[17-Nov-2025 04:19:28 UTC] Checkout: Received POST request
[17-Nov-2025 04:19:28 UTC] Checkout: POST data: Array
(
    [discounted_total] => NaN
    [email] => hariz1012@gmail.com
    [newsletter] => on
    [saved_address_id] => 3
    [first_name] => Nik Hariz
    [last_name] => Nik Rohimi
    [address] => LOT 350 TANJUNG CHAT
    [apartment] => 
    [city] => KOTA BHARU
    [country] => Malaysia
    [state] => KELANTAN
    [zip_code] => 15300
    [phone] => 0148279126
    [shipping_method_id] => 
    [payment_method] => toyyibpay_fpx
    [payment_method_fallback] => toyyibpay_fpx
    [notes] => 
    [billing_same] => on
)

[17-Nov-2025 04:19:28 UTC] Checkout: Payment method: toyyibpay_fpx
[17-Nov-2025 04:19:28 UTC] Checkout Debug - Applied Voucher: No
[17-Nov-2025 04:19:28 UTC] Order creation exception: SQLSTATE[HY000]: General error: 1366 Incorrect integer value: '' for column 'shipping_method_id' at row 1
[17-Nov-2025 04:19:28 UTC] Order creation trace: #0 /home2/igoldser/public_html/2dayparfum.com/apps/models/Order.php(121): PDOStatement->execute()
#1 /home2/igoldser/public_html/2dayparfum.com/apps/checkout.php(323): Order->create()
#2 {main}
[17-Nov-2025 04:19:28 UTC] Order Creation Error: Failed to create order for user: 15
[17-Nov-2025 04:19:28 UTC] Shipping config query for amount 59 found: {"id":"11","name":"Pickup Order","description":"Self collection from store (free shipping)","fee_type":"pickup","base_fee":"0.00","fee_value":"0.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"0","delivery_days_max":"0","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:37:58","updated_at":"2025-10-13 15:37:58","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[17-Nov-2025 04:19:28 UTC] Cart page requesting shipping config for order amount: 59
[17-Nov-2025 04:19:32 UTC] Checkout Debug - Found 1 shipping options
[17-Nov-2025 04:19:32 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[17-Nov-2025 04:19:32 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 59)
[17-Nov-2025 04:19:32 UTC] Checkout Debug - User ID: 15
[17-Nov-2025 04:19:32 UTC] Checkout Debug - Claimed vouchers count: 0
[17-Nov-2025 04:19:54 UTC] Checkout: Received POST request
[17-Nov-2025 04:19:54 UTC] Checkout: POST data: Array
(
    [discounted_total] => 59.00
    [email] => hariz1012@gmail.com
    [saved_address_id] => 3
    [first_name] => Nik Hariz
    [last_name] => Nik Rohimi
    [address] => LOT 350 TANJUNG CHAT
    [apartment] => 
    [city] => KOTA BHARU
    [country] => Malaysia
    [state] => KELANTAN
    [zip_code] => 15300
    [phone] => 0148279126
    [shipping_method_id] => 11
    [payment_method] => toyyibpay_fpx
    [payment_method_fallback] => toyyibpay_fpx
    [notes] => Khamis 2.30 PM
    [billing_same] => on
)

[17-Nov-2025 04:19:54 UTC] Checkout: Payment method: toyyibpay_fpx
[17-Nov-2025 04:19:55 UTC] Checkout Debug - Found 1 shipping options
[17-Nov-2025 04:19:55 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[17-Nov-2025 04:19:55 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 59)
[17-Nov-2025 04:19:55 UTC] Checkout Debug - User ID: 15
[17-Nov-2025 04:19:55 UTC] Checkout Debug - Claimed vouchers count: 0
[17-Nov-2025 04:20:24 UTC] Checkout: Received POST request
[17-Nov-2025 04:20:24 UTC] Checkout: POST data: Array
(
    [discounted_total] => NaN
    [email] => hariz1012@gmail.com
    [first_name] => HARIZ
    [last_name] => ROHIMI
    [address] => 
    [apartment] => 
    [city] => 
    [country] => Malaysia
    [state] => 
    [zip_code] => 
    [phone] => 0148279126
    [shipping_method_id] => 
    [payment_method] => toyyibpay_fpx
    [payment_method_fallback] => toyyibpay_fpx
    [notes] => Khamis 3Pm
    [billing_same] => on
)

[17-Nov-2025 04:20:24 UTC] Checkout: Payment method: toyyibpay_fpx
[17-Nov-2025 04:20:24 UTC] Checkout: Validation failed - missing required fields
[17-Nov-2025 04:20:24 UTC] Checkout Debug - Found 1 shipping options
[17-Nov-2025 04:20:24 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[17-Nov-2025 04:20:24 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 59)
[17-Nov-2025 04:20:24 UTC] Checkout Debug - User ID: 15
[17-Nov-2025 04:20:24 UTC] Checkout Debug - Claimed vouchers count: 0
[17-Nov-2025 04:20:38 UTC] Checkout: Received POST request
[17-Nov-2025 04:20:38 UTC] Checkout: POST data: Array
(
    [discounted_total] => NaN
    [email] => hariz1012@gmail.com
    [saved_address_id] => 3
    [first_name] => Nik Hariz
    [last_name] => Nik Rohimi
    [address] => LOT 350 TANJUNG CHAT
    [apartment] => 
    [city] => KOTA BHARU
    [country] => Malaysia
    [state] => KELANTAN
    [zip_code] => 15300
    [phone] => 0148279126
    [shipping_method_id] => 
    [payment_method] => toyyibpay_fpx
    [payment_method_fallback] => toyyibpay_fpx
    [notes] => Khamis 3PM
    [billing_same] => on
)

[17-Nov-2025 04:20:38 UTC] Checkout: Payment method: toyyibpay_fpx
[17-Nov-2025 04:20:38 UTC] Checkout Debug - Applied Voucher: No
[17-Nov-2025 04:20:38 UTC] Order creation exception: SQLSTATE[HY000]: General error: 1366 Incorrect integer value: '' for column 'shipping_method_id' at row 1
[17-Nov-2025 04:20:38 UTC] Order creation trace: #0 /home2/igoldser/public_html/2dayparfum.com/apps/models/Order.php(121): PDOStatement->execute()
#1 /home2/igoldser/public_html/2dayparfum.com/apps/checkout.php(323): Order->create()
#2 {main}
[17-Nov-2025 04:20:38 UTC] Order Creation Error: Failed to create order for user: 15
[17-Nov-2025 04:20:39 UTC] Shipping config query for amount 59 found: {"id":"11","name":"Pickup Order","description":"Self collection from store (free shipping)","fee_type":"pickup","base_fee":"0.00","fee_value":"0.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"0","delivery_days_max":"0","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:37:58","updated_at":"2025-10-13 15:37:58","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[17-Nov-2025 04:20:39 UTC] Cart page requesting shipping config for order amount: 59
[17-Nov-2025 04:20:45 UTC] Checkout Debug - Found 1 shipping options
[17-Nov-2025 04:20:45 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[17-Nov-2025 04:20:45 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 59)
[17-Nov-2025 04:20:45 UTC] Checkout Debug - User ID: 15
[17-Nov-2025 04:20:45 UTC] Checkout Debug - Claimed vouchers count: 0
[17-Nov-2025 04:20:58 UTC] Shipping config query for amount 33.8 found: {"id":"11","name":"Pickup Order","description":"Self collection from store (free shipping)","fee_type":"pickup","base_fee":"0.00","fee_value":"0.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"0","delivery_days_max":"0","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:37:58","updated_at":"2025-10-13 15:37:58","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[17-Nov-2025 04:20:58 UTC] Cart page requesting shipping config for order amount: 33.8
[17-Nov-2025 04:21:07 UTC] Checkout: Received POST request
[17-Nov-2025 04:21:07 UTC] Checkout: POST data: Array
(
    [discounted_total] => NaN
    [email] => hariz1012@gmail.com
    [newsletter] => on
    [saved_address_id] => 3
    [first_name] => Nik Hariz
    [last_name] => Nik Rohimi
    [address] => LOT 350 TANJUNG CHAT
    [apartment] => 
    [city] => KOTA BHARU
    [country] => Malaysia
    [state] => KELANTAN
    [zip_code] => 15300
    [phone] => 0148279126
    [shipping_method_id] => 
    [payment_method] => toyyibpay_fpx
    [payment_method_fallback] => toyyibpay_fpx
    [notes] => KHAMIS 3PM
    [billing_same] => on
)

[17-Nov-2025 04:21:07 UTC] Checkout: Payment method: toyyibpay_fpx
[17-Nov-2025 04:21:07 UTC] Checkout Debug - Applied Voucher: No
[17-Nov-2025 04:21:07 UTC] Order creation exception: SQLSTATE[HY000]: General error: 1366 Incorrect integer value: '' for column 'shipping_method_id' at row 1
[17-Nov-2025 04:21:07 UTC] Order creation trace: #0 /home2/igoldser/public_html/2dayparfum.com/apps/models/Order.php(121): PDOStatement->execute()
#1 /home2/igoldser/public_html/2dayparfum.com/apps/checkout.php(323): Order->create()
#2 {main}
[17-Nov-2025 04:21:07 UTC] Order Creation Error: Failed to create order for user: 15
[17-Nov-2025 04:21:08 UTC] Shipping config query for amount 59 found: {"id":"11","name":"Pickup Order","description":"Self collection from store (free shipping)","fee_type":"pickup","base_fee":"0.00","fee_value":"0.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"0","delivery_days_max":"0","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:37:58","updated_at":"2025-10-13 15:37:58","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[17-Nov-2025 04:21:08 UTC] Cart page requesting shipping config for order amount: 59
[17-Nov-2025 04:21:16 UTC] Checkout Debug - Found 1 shipping options
[17-Nov-2025 04:21:16 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[17-Nov-2025 04:21:16 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 59)
[17-Nov-2025 04:21:16 UTC] Checkout Debug - User ID: 15
[17-Nov-2025 04:21:16 UTC] Checkout Debug - Claimed vouchers count: 0
[17-Nov-2025 04:21:16 UTC] Checkout Debug - Found 1 shipping options
[17-Nov-2025 04:21:16 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[17-Nov-2025 04:21:16 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 26.39)
[17-Nov-2025 04:21:16 UTC] Checkout Debug - User ID: 2
[17-Nov-2025 04:21:16 UTC] Checkout Debug - Claimed vouchers count: 0
[17-Nov-2025 04:21:38 UTC] Checkout: Received POST request
[17-Nov-2025 04:21:38 UTC] Checkout: POST data: Array
(
    [discounted_total] => 26.39
    [email] => azfarirfan7767@gmail.com
    [saved_address_id] => 1
    [first_name] => AZFAR
    [last_name] => BIN ASRI
    [address] => Kg Surau Bator
    [apartment] => 
    [city] => Bachok
    [country] => Malaysia
    [state] => Kelantan
    [zip_code] => 16070
    [phone] => +60179853875
    [shipping_method_id] => 11
    [payment_method] => toyyibpay_fpx
    [payment_method_fallback] => toyyibpay_fpx
    [notes] => 3pm khamus
    [billing_same] => on
)

[17-Nov-2025 04:21:38 UTC] Checkout: Payment method: toyyibpay_fpx
[17-Nov-2025 04:21:38 UTC] Checkout Debug - Applied Voucher: No
[17-Nov-2025 04:21:38 UTC] Stock deduction summary:
[17-Nov-2025 04:21:38 UTC]   Product ID 36: Total quantity to deduct = 2
[17-Nov-2025 04:21:38 UTC] Stock deducted: Product ID 36, Total Quantity: 2
[17-Nov-2025 04:21:38 UTC] Order created successfully: ID 1
[17-Nov-2025 04:21:38 UTC] toyyibPay createBill data: Array
(
    [userSecretKey] => kr6idbeg-vfqe-cx1v-6p7p-bpdjmec4c2dk
    [categoryCode] => 93v503tu
    [billName] => Order #1
    [billDescription] => Payment for Order #1
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 2639
    [billReturnUrl] => https://2dayparfum.com/apps/payment-return.php
    [billCallbackUrl] => https://2dayparfum.com/apps/payment-callback.php
    [billExternalReferenceNo] => 1
    [billTo] => AZFAR BIN ASRI
    [billEmail] => azfarirfan7767@gmail.com
    [billPhone] => +60179853875
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[17-Nov-2025 04:21:38 UTC] toyyibPay makeApiCall - URL: https://toyyibpay.com/index.php/api/createBill
[17-Nov-2025 04:21:38 UTC] toyyibPay makeApiCall - Data: Array
(
    [userSecretKey] => kr6idbeg-vfqe-cx1v-6p7p-bpdjmec4c2dk
    [categoryCode] => 93v503tu
    [billName] => Order #1
    [billDescription] => Payment for Order #1
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 2639
    [billReturnUrl] => https://2dayparfum.com/apps/payment-return.php
    [billCallbackUrl] => https://2dayparfum.com/apps/payment-callback.php
    [billExternalReferenceNo] => 1
    [billTo] => AZFAR BIN ASRI
    [billEmail] => azfarirfan7767@gmail.com
    [billPhone] => +60179853875
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[17-Nov-2025 04:21:38 UTC] toyyibPay makeApiCall - HTTP Code: 200
[17-Nov-2025 04:21:38 UTC] toyyibPay makeApiCall - Raw Response: 						
		[CATEGORY-NOT-MATCH]
[17-Nov-2025 04:21:38 UTC] toyyibPay makeApiCall - cURL Info: Array
(
    [url] => https://toyyibpay.com/index.php/api/createBill
    [content_type] => text/html; charset=UTF-8
    [http_code] => 200
    [header_size] => 888
    [request_size] => 2597
    [filetime] => -1
    [ssl_verify_result] => 20
    [redirect_count] => 0
    [total_time] => 0.385305
    [namelookup_time] => 0.03415
    [connect_time] => 0.052348
    [pretransfer_time] => 0.065296
    [size_upload] => 2378
    [size_download] => 29
    [speed_download] => 75
    [speed_upload] => 6171
    [download_content_length] => -1
    [upload_content_length] => 2378
    [starttransfer_time] => 0.385168
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 104.26.1.102
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 103.72.163.73
    [local_port] => 34434
    [http_version] => 3
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => https
    [appconnect_time_us] => 64935
    [connect_time_us] => 52348
    [namelookup_time_us] => 34150
    [pretransfer_time_us] => 65296
    [redirect_time_us] => 0
    [starttransfer_time_us] => 385168
    [total_time_us] => 385305
)

[17-Nov-2025 04:21:38 UTC] toyyibPay API JSON Error: Syntax error - Raw: 						
		[CATEGORY-NOT-MATCH]
[17-Nov-2025 04:21:38 UTC] toyyibPay createBill response: 
[17-Nov-2025 04:21:38 UTC] toyyibPay createBill failed - no BillCode in response
[17-Nov-2025 04:21:38 UTC] toyyibPay Error: Failed to create bill for order ID: 1 - Failed to create payment. Please try again.
[17-Nov-2025 04:21:38 UTC] Checkout Debug - Found 1 shipping options
[17-Nov-2025 04:21:38 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[17-Nov-2025 04:21:38 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 26.39)
[17-Nov-2025 04:21:38 UTC] Checkout Debug - User ID: 2
[17-Nov-2025 04:21:38 UTC] Checkout Debug - Claimed vouchers count: 0
[17-Nov-2025 04:21:53 UTC] Checkout Debug - Found 1 shipping options
[17-Nov-2025 04:21:53 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[17-Nov-2025 04:21:53 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 26.39)
[17-Nov-2025 04:21:53 UTC] Checkout Debug - User ID: 2
[17-Nov-2025 04:21:53 UTC] Checkout Debug - Claimed vouchers count: 0
[17-Nov-2025 04:22:07 UTC] Checkout: Received POST request
[17-Nov-2025 04:22:07 UTC] Checkout: POST data: Array
(
    [discounted_total] => 26.39
    [email] => azfarirfan7767@gmail.com
    [saved_address_id] => 1
    [first_name] => AZFAR
    [last_name] => BIN ASRI
    [address] => Kg Surau Bator
    [apartment] => 
    [city] => Bachok
    [country] => Malaysia
    [state] => Kelantan
    [zip_code] => 16070
    [phone] => +60179853875
    [shipping_method_id] => 11
    [payment_method] => toyyibpay_fpx
    [payment_method_fallback] => toyyibpay_fpx
    [notes] => 3PM
    [billing_same] => on
)

[17-Nov-2025 04:22:07 UTC] Checkout: Payment method: toyyibpay_fpx
[17-Nov-2025 04:22:07 UTC] Checkout Debug - Applied Voucher: No
[17-Nov-2025 04:22:07 UTC] Stock deduction summary:
[17-Nov-2025 04:22:07 UTC]   Product ID 36: Total quantity to deduct = 2
[17-Nov-2025 04:22:07 UTC] Stock deducted: Product ID 36, Total Quantity: 2
[17-Nov-2025 04:22:07 UTC] Order created successfully: ID 2
[17-Nov-2025 04:22:07 UTC] toyyibPay createBill data: Array
(
    [userSecretKey] => kr6idbeg-vfqe-cx1v-6p7p-bpdjmec4c2dk
    [categoryCode] => 93v503tu
    [billName] => Order #2
    [billDescription] => Payment for Order #2
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 2639
    [billReturnUrl] => https://2dayparfum.com/apps/payment-return.php
    [billCallbackUrl] => https://2dayparfum.com/apps/payment-callback.php
    [billExternalReferenceNo] => 2
    [billTo] => AZFAR BIN ASRI
    [billEmail] => azfarirfan7767@gmail.com
    [billPhone] => +60179853875
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[17-Nov-2025 04:22:07 UTC] toyyibPay makeApiCall - URL: https://toyyibpay.com/index.php/api/createBill
[17-Nov-2025 04:22:07 UTC] toyyibPay makeApiCall - Data: Array
(
    [userSecretKey] => kr6idbeg-vfqe-cx1v-6p7p-bpdjmec4c2dk
    [categoryCode] => 93v503tu
    [billName] => Order #2
    [billDescription] => Payment for Order #2
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 2639
    [billReturnUrl] => https://2dayparfum.com/apps/payment-return.php
    [billCallbackUrl] => https://2dayparfum.com/apps/payment-callback.php
    [billExternalReferenceNo] => 2
    [billTo] => AZFAR BIN ASRI
    [billEmail] => azfarirfan7767@gmail.com
    [billPhone] => +60179853875
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[17-Nov-2025 04:22:08 UTC] toyyibPay makeApiCall - HTTP Code: 200
[17-Nov-2025 04:22:08 UTC] toyyibPay makeApiCall - Raw Response: 						
		[CATEGORY-NOT-MATCH]
[17-Nov-2025 04:22:08 UTC] toyyibPay makeApiCall - cURL Info: Array
(
    [url] => https://toyyibpay.com/index.php/api/createBill
    [content_type] => text/html; charset=UTF-8
    [http_code] => 200
    [header_size] => 884
    [request_size] => 2597
    [filetime] => -1
    [ssl_verify_result] => 20
    [redirect_count] => 0
    [total_time] => 0.361821
    [namelookup_time] => 0.000798
    [connect_time] => 0.007472
    [pretransfer_time] => 0.019426
    [size_upload] => 2378
    [size_download] => 29
    [speed_download] => 80
    [speed_upload] => 6572
    [download_content_length] => -1
    [upload_content_length] => 2378
    [starttransfer_time] => 0.361713
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 104.26.1.102
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 103.72.163.73
    [local_port] => 33066
    [http_version] => 3
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => https
    [appconnect_time_us] => 19072
    [connect_time_us] => 7472
    [namelookup_time_us] => 798
    [pretransfer_time_us] => 19426
    [redirect_time_us] => 0
    [starttransfer_time_us] => 361713
    [total_time_us] => 361821
)

[17-Nov-2025 04:22:08 UTC] toyyibPay API JSON Error: Syntax error - Raw: 						
		[CATEGORY-NOT-MATCH]
[17-Nov-2025 04:22:08 UTC] toyyibPay createBill response: 
[17-Nov-2025 04:22:08 UTC] toyyibPay createBill failed - no BillCode in response
[17-Nov-2025 04:22:08 UTC] toyyibPay Error: Failed to create bill for order ID: 2 - Failed to create payment. Please try again.
[17-Nov-2025 04:22:08 UTC] Checkout Debug - Found 1 shipping options
[17-Nov-2025 04:22:08 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[17-Nov-2025 04:22:08 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 26.39)
[17-Nov-2025 04:22:08 UTC] Checkout Debug - User ID: 2
[17-Nov-2025 04:22:08 UTC] Checkout Debug - Claimed vouchers count: 0
[17-Nov-2025 04:25:28 UTC] Checkout Debug - Found 1 shipping options
[17-Nov-2025 04:25:28 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[17-Nov-2025 04:25:28 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 26.39)
[17-Nov-2025 04:25:28 UTC] Checkout Debug - User ID: 2
[17-Nov-2025 04:25:28 UTC] Checkout Debug - Claimed vouchers count: 0
[17-Nov-2025 04:25:31 UTC] Shipping config query for amount 33.8 found: {"id":"11","name":"Pickup Order","description":"Self collection from store (free shipping)","fee_type":"pickup","base_fee":"0.00","fee_value":"0.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"0","delivery_days_max":"0","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:37:58","updated_at":"2025-10-13 15:37:58","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[17-Nov-2025 04:25:31 UTC] Cart page requesting shipping config for order amount: 33.8
[17-Nov-2025 04:25:37 UTC] Product ID: 15, Feedback records found: 0
[17-Nov-2025 04:25:37 UTC] Total feedback records in database: 0
[17-Nov-2025 04:25:37 UTC] Product ID: 15, Total sold: 0
[17-Nov-2025 04:25:41 UTC] Checkout Debug - Found 1 shipping options
[17-Nov-2025 04:25:41 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[17-Nov-2025 04:25:41 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 16.9)
[17-Nov-2025 04:25:41 UTC] Checkout Debug - User ID: 2
[17-Nov-2025 04:25:41 UTC] Checkout Debug - Claimed vouchers count: 0
[17-Nov-2025 04:25:49 UTC] Checkout Debug - Found 1 shipping options
[17-Nov-2025 04:25:49 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[17-Nov-2025 04:25:49 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 59)
[17-Nov-2025 04:25:49 UTC] Checkout Debug - User ID: 15
[17-Nov-2025 04:25:49 UTC] Checkout Debug - Claimed vouchers count: 0
[17-Nov-2025 04:26:01 UTC] Checkout: Received POST request
[17-Nov-2025 04:26:01 UTC] Checkout: POST data: Array
(
    [discounted_total] => 16.90
    [email] => azfarirfan7767@gmail.com
    [saved_address_id] => 1
    [first_name] => AZFAR
    [last_name] => BIN ASRI
    [address] => Kg Surau Bator
    [apartment] => 
    [city] => Bachok
    [country] => Malaysia
    [state] => Kelantan
    [zip_code] => 16070
    [phone] => +60179853875
    [shipping_method_id] => 11
    [payment_method] => toyyibpay_fpx
    [payment_method_fallback] => toyyibpay_fpx
    [notes] => 3pm
    [billing_same] => on
)

[17-Nov-2025 04:26:01 UTC] Checkout: Payment method: toyyibpay_fpx
[17-Nov-2025 04:26:01 UTC] Checkout Debug - Applied Voucher: No
[17-Nov-2025 04:26:01 UTC] Stock deduction summary:
[17-Nov-2025 04:26:01 UTC]   Product ID 15: Total quantity to deduct = 1
[17-Nov-2025 04:26:01 UTC] Stock deducted: Product ID 15, Total Quantity: 1
[17-Nov-2025 04:26:01 UTC] Order created successfully: ID 3
[17-Nov-2025 04:26:01 UTC] toyyibPay createBill data: Array
(
    [userSecretKey] => kr6idbeg-vfqe-cx1v-6p7p-bpdjmec4c2dk
    [categoryCode] => 93v503tu
    [billName] => Order #3
    [billDescription] => Payment for Order #3
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 1690
    [billReturnUrl] => https://2dayparfum.com/apps/payment-return.php
    [billCallbackUrl] => https://2dayparfum.com/apps/payment-callback.php
    [billExternalReferenceNo] => 3
    [billTo] => AZFAR BIN ASRI
    [billEmail] => azfarirfan7767@gmail.com
    [billPhone] => +60179853875
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[17-Nov-2025 04:26:01 UTC] toyyibPay makeApiCall - URL: https://toyyibpay.com/index.php/api/createBill
[17-Nov-2025 04:26:01 UTC] toyyibPay makeApiCall - Data: Array
(
    [userSecretKey] => kr6idbeg-vfqe-cx1v-6p7p-bpdjmec4c2dk
    [categoryCode] => 93v503tu
    [billName] => Order #3
    [billDescription] => Payment for Order #3
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 1690
    [billReturnUrl] => https://2dayparfum.com/apps/payment-return.php
    [billCallbackUrl] => https://2dayparfum.com/apps/payment-callback.php
    [billExternalReferenceNo] => 3
    [billTo] => AZFAR BIN ASRI
    [billEmail] => azfarirfan7767@gmail.com
    [billPhone] => +60179853875
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[17-Nov-2025 04:26:01 UTC] toyyibPay makeApiCall - HTTP Code: 200
[17-Nov-2025 04:26:01 UTC] toyyibPay makeApiCall - Raw Response: 						
		[CATEGORY-NOT-MATCH]
[17-Nov-2025 04:26:01 UTC] toyyibPay makeApiCall - cURL Info: Array
(
    [url] => https://toyyibpay.com/index.php/api/createBill
    [content_type] => text/html; charset=UTF-8
    [http_code] => 200
    [header_size] => 878
    [request_size] => 2597
    [filetime] => -1
    [ssl_verify_result] => 20
    [redirect_count] => 0
    [total_time] => 0.36847
    [namelookup_time] => 0.000501
    [connect_time] => 0.008696
    [pretransfer_time] => 0.019894
    [size_upload] => 2378
    [size_download] => 29
    [speed_download] => 78
    [speed_upload] => 6453
    [download_content_length] => -1
    [upload_content_length] => 2378
    [starttransfer_time] => 0.368377
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 104.26.1.102
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 103.72.163.73
    [local_port] => 57392
    [http_version] => 3
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => https
    [appconnect_time_us] => 19649
    [connect_time_us] => 8696
    [namelookup_time_us] => 501
    [pretransfer_time_us] => 19894
    [redirect_time_us] => 0
    [starttransfer_time_us] => 368377
    [total_time_us] => 368470
)

[17-Nov-2025 04:26:01 UTC] toyyibPay API JSON Error: Syntax error - Raw: 						
		[CATEGORY-NOT-MATCH]
[17-Nov-2025 04:26:01 UTC] toyyibPay createBill response: 
[17-Nov-2025 04:26:01 UTC] toyyibPay createBill failed - no BillCode in response
[17-Nov-2025 04:26:01 UTC] toyyibPay Error: Failed to create bill for order ID: 3 - Failed to create payment. Please try again.
[17-Nov-2025 04:26:01 UTC] Checkout Debug - Found 1 shipping options
[17-Nov-2025 04:26:01 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[17-Nov-2025 04:26:01 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 16.9)
[17-Nov-2025 04:26:01 UTC] Checkout Debug - User ID: 2
[17-Nov-2025 04:26:01 UTC] Checkout Debug - Claimed vouchers count: 0
[17-Nov-2025 04:26:06 UTC] Checkout: Received POST request
[17-Nov-2025 04:26:06 UTC] Checkout: POST data: Array
(
    [discounted_total] => NaN
    [email] => hariz1012@gmail.com
    [saved_address_id] => 3
    [first_name] => Nik Hariz
    [last_name] => Nik Rohimi
    [address] => LOT 350 TANJUNG CHAT
    [apartment] => 
    [city] => KOTA BHARU
    [country] => Malaysia
    [state] => KELANTAN
    [zip_code] => 15300
    [phone] => 0148279126
    [shipping_method_id] => 
    [payment_method] => toyyibpay_card
    [payment_method_fallback] => toyyibpay_fpx
    [notes] => 
    [billing_same] => on
)

[17-Nov-2025 04:26:06 UTC] Checkout: Payment method: toyyibpay_card
[17-Nov-2025 04:26:06 UTC] Checkout Debug - Applied Voucher: No
[17-Nov-2025 04:26:06 UTC] Order creation exception: SQLSTATE[HY000]: General error: 1366 Incorrect integer value: '' for column 'shipping_method_id' at row 1
[17-Nov-2025 04:26:06 UTC] Order creation trace: #0 /home2/igoldser/public_html/2dayparfum.com/apps/models/Order.php(121): PDOStatement->execute()
#1 /home2/igoldser/public_html/2dayparfum.com/apps/checkout.php(323): Order->create()
#2 {main}
[17-Nov-2025 04:26:06 UTC] Order Creation Error: Failed to create order for user: 15
[17-Nov-2025 04:26:07 UTC] Shipping config query for amount 59 found: {"id":"11","name":"Pickup Order","description":"Self collection from store (free shipping)","fee_type":"pickup","base_fee":"0.00","fee_value":"0.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"0","delivery_days_max":"0","is_active":"1","sort_order":"0","created_at":"2025-10-13 15:37:58","updated_at":"2025-10-13 15:37:58","per_kg_fee":"0.00","min_weight":"0.00","max_weight":null}
[17-Nov-2025 04:26:07 UTC] Cart page requesting shipping config for order amount: 59
[17-Nov-2025 04:26:13 UTC] Checkout Debug - Found 1 shipping options
[17-Nov-2025 04:26:13 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[17-Nov-2025 04:26:13 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 59)
[17-Nov-2025 04:26:13 UTC] Checkout Debug - User ID: 15
[17-Nov-2025 04:26:13 UTC] Checkout Debug - Claimed vouchers count: 0
[17-Nov-2025 04:27:17 UTC] Checkout: Received POST request
[17-Nov-2025 04:27:17 UTC] Checkout: POST data: Array
(
    [discounted_total] => 16.90
    [email] => azfarirfan7767@gmail.com
    [saved_address_id] => 1
    [first_name] => AZFAR
    [last_name] => BIN ASRI
    [address] => Kg Surau Bator
    [apartment] => 
    [city] => Bachok
    [country] => Malaysia
    [state] => Kelantan
    [zip_code] => 16070
    [phone] => +60179853875
    [shipping_method_id] => 11
    [payment_method] => toyyibpay_fpx
    [payment_method_fallback] => toyyibpay_fpx
    [notes] => 3pm
    [billing_same] => on
)

[17-Nov-2025 04:27:17 UTC] Checkout: Payment method: toyyibpay_fpx
[17-Nov-2025 04:27:17 UTC] Checkout Debug - Applied Voucher: No
[17-Nov-2025 04:27:17 UTC] Stock deduction summary:
[17-Nov-2025 04:27:17 UTC]   Product ID 15: Total quantity to deduct = 1
[17-Nov-2025 04:27:17 UTC] Stock deducted: Product ID 15, Total Quantity: 1
[17-Nov-2025 04:27:17 UTC] Order created successfully: ID 4
[17-Nov-2025 04:27:17 UTC] toyyibPay createBill data: Array
(
    [userSecretKey] => kr6idbeg-vfqe-cx1v-6p7p-bpdjmec4c2dk
    [categoryCode] => 93v503tu
    [billName] => Order #4
    [billDescription] => Payment for Order #4
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 1690
    [billReturnUrl] => https://2dayparfum.com/apps/payment-return.php
    [billCallbackUrl] => https://2dayparfum.com/apps/payment-callback.php
    [billExternalReferenceNo] => 4
    [billTo] => AZFAR BIN ASRI
    [billEmail] => azfarirfan7767@gmail.com
    [billPhone] => +60179853875
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[17-Nov-2025 04:27:17 UTC] toyyibPay makeApiCall - URL: https://toyyibpay.com/index.php/api/createBill
[17-Nov-2025 04:27:17 UTC] toyyibPay makeApiCall - Data: Array
(
    [userSecretKey] => kr6idbeg-vfqe-cx1v-6p7p-bpdjmec4c2dk
    [categoryCode] => 93v503tu
    [billName] => Order #4
    [billDescription] => Payment for Order #4
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 1690
    [billReturnUrl] => https://2dayparfum.com/apps/payment-return.php
    [billCallbackUrl] => https://2dayparfum.com/apps/payment-callback.php
    [billExternalReferenceNo] => 4
    [billTo] => AZFAR BIN ASRI
    [billEmail] => azfarirfan7767@gmail.com
    [billPhone] => +60179853875
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[17-Nov-2025 04:27:17 UTC] toyyibPay makeApiCall - HTTP Code: 200
[17-Nov-2025 04:27:17 UTC] toyyibPay makeApiCall - Raw Response: 						
		[CATEGORY-NOT-MATCH]
[17-Nov-2025 04:27:17 UTC] toyyibPay makeApiCall - cURL Info: Array
(
    [url] => https://toyyibpay.com/index.php/api/createBill
    [content_type] => text/html; charset=UTF-8
    [http_code] => 200
    [header_size] => 878
    [request_size] => 2597
    [filetime] => -1
    [ssl_verify_result] => 20
    [redirect_count] => 0
    [total_time] => 0.342439
    [namelookup_time] => 0.000381
    [connect_time] => 0.009888
    [pretransfer_time] => 0.020549
    [size_upload] => 2378
    [size_download] => 29
    [speed_download] => 84
    [speed_upload] => 6944
    [download_content_length] => -1
    [upload_content_length] => 2378
    [starttransfer_time] => 0.342312
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 104.26.1.102
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 103.72.163.73
    [local_port] => 47266
    [http_version] => 3
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => https
    [appconnect_time_us] => 20344
    [connect_time_us] => 9888
    [namelookup_time_us] => 381
    [pretransfer_time_us] => 20549
    [redirect_time_us] => 0
    [starttransfer_time_us] => 342312
    [total_time_us] => 342439
)

[17-Nov-2025 04:27:17 UTC] toyyibPay API JSON Error: Syntax error - Raw: 						
		[CATEGORY-NOT-MATCH]
[17-Nov-2025 04:27:17 UTC] toyyibPay createBill response: 
[17-Nov-2025 04:27:17 UTC] toyyibPay createBill failed - no BillCode in response
[17-Nov-2025 04:27:17 UTC] toyyibPay Error: Failed to create bill for order ID: 4 - Failed to create payment. Please try again.
[17-Nov-2025 04:27:17 UTC] Checkout Debug - Found 2 shipping options
[17-Nov-2025 04:27:17 UTC] Shipping Option: JNT (ID: 14, Type: weight_based, Active: 1)
[17-Nov-2025 04:27:17 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[17-Nov-2025 04:27:17 UTC] Shipping option 'JNT' availability: YES (subtotal: 16.9)
[17-Nov-2025 04:27:17 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 16.9)
[17-Nov-2025 04:27:17 UTC] Checkout Debug - User ID: 2
[17-Nov-2025 04:27:17 UTC] Checkout Debug - Claimed vouchers count: 0
[17-Nov-2025 04:27:30 UTC] Checkout: Received POST request
[17-Nov-2025 04:27:30 UTC] Checkout: POST data: Array
(
    [discounted_total] => 20.40
    [email] => azfarirfan7767@gmail.com
    [saved_address_id] => 1
    [first_name] => AZFAR
    [last_name] => BIN ASRI
    [address] => Kg Surau Bator
    [apartment] => 
    [city] => Bachok
    [country] => Malaysia
    [state] => Kelantan
    [zip_code] => 16070
    [phone] => +60179853875
    [shipping_method_id] => 14
    [payment_method] => toyyibpay_fpx
    [payment_method_fallback] => toyyibpay_fpx
    [notes] => KHAMIS 3PM
    [billing_same] => on
)

[17-Nov-2025 04:27:30 UTC] Checkout: Payment method: toyyibpay_fpx
[17-Nov-2025 04:27:30 UTC] Checkout Debug - Applied Voucher: No
[17-Nov-2025 04:27:30 UTC] Stock deduction summary:
[17-Nov-2025 04:27:30 UTC]   Product ID 15: Total quantity to deduct = 1
[17-Nov-2025 04:27:30 UTC] Stock deducted: Product ID 15, Total Quantity: 1
[17-Nov-2025 04:27:30 UTC] Order created successfully: ID 5
[17-Nov-2025 04:27:30 UTC] toyyibPay createBill data: Array
(
    [userSecretKey] => kr6idbeg-vfqe-cx1v-6p7p-bpdjmec4c2dk
    [categoryCode] => 93v503tu
    [billName] => Order #5
    [billDescription] => Payment for Order #5
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 2040
    [billReturnUrl] => https://2dayparfum.com/apps/payment-return.php
    [billCallbackUrl] => https://2dayparfum.com/apps/payment-callback.php
    [billExternalReferenceNo] => 5
    [billTo] => AZFAR BIN ASRI
    [billEmail] => azfarirfan7767@gmail.com
    [billPhone] => +60179853875
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[17-Nov-2025 04:27:30 UTC] toyyibPay makeApiCall - URL: https://toyyibpay.com/index.php/api/createBill
[17-Nov-2025 04:27:30 UTC] toyyibPay makeApiCall - Data: Array
(
    [userSecretKey] => kr6idbeg-vfqe-cx1v-6p7p-bpdjmec4c2dk
    [categoryCode] => 93v503tu
    [billName] => Order #5
    [billDescription] => Payment for Order #5
    [billPriceSetting] => 1
    [billPayorInfo] => 1
    [billAmount] => 2040
    [billReturnUrl] => https://2dayparfum.com/apps/payment-return.php
    [billCallbackUrl] => https://2dayparfum.com/apps/payment-callback.php
    [billExternalReferenceNo] => 5
    [billTo] => AZFAR BIN ASRI
    [billEmail] => azfarirfan7767@gmail.com
    [billPhone] => +60179853875
    [billSplitPayment] => 0
    [billSplitPaymentArgs] => 
    [billPaymentChannel] => 0
    [billContentEmail] => Thank you for your purchase!
    [billChargeToCustomer] => 1
    [billExpiryDays] => 3
)

[17-Nov-2025 04:27:30 UTC] toyyibPay makeApiCall - HTTP Code: 200
[17-Nov-2025 04:27:30 UTC] toyyibPay makeApiCall - Raw Response: 						
		[CATEGORY-NOT-MATCH]
[17-Nov-2025 04:27:30 UTC] toyyibPay makeApiCall - cURL Info: Array
(
    [url] => https://toyyibpay.com/index.php/api/createBill
    [content_type] => text/html; charset=UTF-8
    [http_code] => 200
    [header_size] => 876
    [request_size] => 2597
    [filetime] => -1
    [ssl_verify_result] => 20
    [redirect_count] => 0
    [total_time] => 0.326579
    [namelookup_time] => 0.000391
    [connect_time] => 0.006922
    [pretransfer_time] => 0.019728
    [size_upload] => 2378
    [size_download] => 29
    [speed_download] => 88
    [speed_upload] => 7281
    [download_content_length] => -1
    [upload_content_length] => 2378
    [starttransfer_time] => 0.326328
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 104.26.1.102
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 103.72.163.73
    [local_port] => 45066
    [http_version] => 3
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => https
    [appconnect_time_us] => 19504
    [connect_time_us] => 6922
    [namelookup_time_us] => 391
    [pretransfer_time_us] => 19728
    [redirect_time_us] => 0
    [starttransfer_time_us] => 326328
    [total_time_us] => 326579
)

[17-Nov-2025 04:27:30 UTC] toyyibPay API JSON Error: Syntax error - Raw: 						
		[CATEGORY-NOT-MATCH]
[17-Nov-2025 04:27:30 UTC] toyyibPay createBill response: 
[17-Nov-2025 04:27:30 UTC] toyyibPay createBill failed - no BillCode in response
[17-Nov-2025 04:27:30 UTC] toyyibPay Error: Failed to create bill for order ID: 5 - Failed to create payment. Please try again.
[17-Nov-2025 04:27:31 UTC] Checkout Debug - Found 2 shipping options
[17-Nov-2025 04:27:31 UTC] Shipping Option: JNT (ID: 14, Type: weight_based, Active: 1)
[17-Nov-2025 04:27:31 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[17-Nov-2025 04:27:31 UTC] Shipping option 'JNT' availability: YES (subtotal: 16.9)
[17-Nov-2025 04:27:31 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 16.9)
[17-Nov-2025 04:27:31 UTC] Checkout Debug - User ID: 2
[17-Nov-2025 04:27:31 UTC] Checkout Debug - Claimed vouchers count: 0
[17-Nov-2025 04:27:47 UTC] Product ID: 13, Feedback records found: 0
[17-Nov-2025 04:27:47 UTC] Total feedback records in database: 0
[17-Nov-2025 04:27:47 UTC] Product ID: 13, Total sold: 0
[17-Nov-2025 04:27:52 UTC] Checkout Debug - Found 2 shipping options
[17-Nov-2025 04:27:52 UTC] Shipping Option: JNT (ID: 14, Type: weight_based, Active: 1)
[17-Nov-2025 04:27:52 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[17-Nov-2025 04:27:52 UTC] Shipping option 'JNT' availability: YES (subtotal: 16.9)
[17-Nov-2025 04:27:52 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 16.9)
[17-Nov-2025 04:27:52 UTC] Checkout Debug - User ID: 2
[17-Nov-2025 04:27:52 UTC] Checkout Debug - Claimed vouchers count: 0
[17-Nov-2025 04:30:56 UTC] Checkout Debug - Found 2 shipping options
[17-Nov-2025 04:30:56 UTC] Shipping Option: JNT (ID: 14, Type: weight_based, Active: 1)
[17-Nov-2025 04:30:56 UTC] Shipping Option: Pickup Order (ID: 11, Type: pickup, Active: 1)
[17-Nov-2025 04:30:56 UTC] Shipping option 'JNT' availability: YES (subtotal: 26.39)
[17-Nov-2025 04:30:56 UTC] Shipping option 'Pickup Order' availability: YES (subtotal: 26.39)
[17-Nov-2025 04:30:56 UTC] Checkout Debug - User ID: 2
[17-Nov-2025 04:30:56 UTC] Checkout Debug - Claimed vouchers count: 0
[17-Nov-2025 04:31:31 UTC] Shipping config query for amount 33.8 found: {"id":"14","name":"JNT","description":".","fee_type":"weight_based","base_fee":"3.50","fee_value":"0.00","min_order_amount":"0.00","max_order_amount":null,"delivery_days_min":"2","delivery_days_max":"4","is_active":"1","sort_order":"0","created_at":"2025-11-17 12:27:08","updated_at":"2025-11-17 12:27:08","per_kg_fee":"6.00","min_weight":"0.00","max_weight":null}
[17-Nov-2025 04:31:31 UTC] Cart page requesting shipping config for order amount: 33.8
[17-Nov-2025 04:31:40 UTC] Product ID: 13, Feedback records found: 0
[17-Nov-2025 04:31:40 UTC] Total feedback records in database: 0
[17-Nov-2025 04:31:40 UTC] Product ID: 13, Total sold: 0
