Stripe won't process the payment if total amount is modified by any other hook.
This all relates to the paymentintent submitted by the stripe extension within the js code https://lab.civicrm.org/extensions/stripe/-/blob/master/js/civicrm_stripe.js#L96
So if total amount submitted by the contribution page is modified by any other hook in any extension, stripe won't process the payment as it will mismatch with the amount submitted by the js code.
The error returned by the processor is
This PaymentIntent's amount could not be updated because it has a status of requires_capture. You may only update the amount of a PaymentIntent with one of the following statuses: requires_payment_method, requires_confirmation."
Should stripe be able to handle that situation? Since other extensions follow the valid process of using civicrm hooks(postprocess etc) => modify the amount submitted by the contribution page and expect it to work fine.