Skip to content

Commit

Permalink
Add as the for orders
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisfromthelc committed Jan 17, 2025
1 parent 9c02411 commit 150a2cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/inc/sift-events/sift-events.php
Original file line number Diff line number Diff line change
Expand Up @@ -626,6 +626,7 @@ public static function update_or_create_order( string $order_id, \WC_Order $orde
'$site_country' => wc_get_base_location()['country'],
'$ip' => self::get_client_ip(),
'$time' => intval( 1000 * microtime( true ) ),
'product_channel' => 'woocommerce-com',
);

// Add the user_id only if a user exists, otherwise, let it remain empty.
Expand Down

0 comments on commit 150a2cf

Please sign in to comment.