Error: Call to undefined function fn_get_products_companies()

Another one that occurred after the update probably when an order was placed.

PHP 8.2
Standard CSC 4.18.4

 [22-Jun-2025 13:12:27 America/Chicago] Error: Call to undefined function fn_get_products_companies() in /home/user/domains/example.com/public_html/app/addons/paypal_checkout/controllers/frontend/orders.post.php:36
Stack trace:
#0 /home/user/domains/example.com/public_html/app/functions/fn.control.php(728): include()
#1 /home/user/domains/example.com/public_html/app/functions/fn.control.php(459): fn_run_controller()
#2 /home/user/domains/example.com/public_html/index.php(19): fn_dispatch()
#3 {main}

The best I can tell is this error occurs on orders that fail/declined by PayPal.

Thank you for the report. We have confirmed the issue, and it will be addressed in one of our next releases.