Due to https://www.drupal.org/project/commerce_stripe/issues/3536293 we ran into the issue that order totals were wrong (negative).
So if you need to recalculate your order totals, this snippet may be helpful:
$order_storage = \Drupal::entityTypeManager()->getStorage('commerce_order');
// Load all placed orders.
$order_query = $order_storage->getQuery();
// Update all orders currently in state "placed":
$order_query->condition('state', 'placed');
$order_query->accessCheck(TRUE);
$order_ids = $order_query->execute();
$orders = $order_storage->loadMultiple($order_ids);
$payment_order_manager = \Drupal::service('commerce_payment.order_updater');
foreach ($orders as $order) {
$payment_order_manager->updateOrder($order, TRUE);
}


