Hi there.
The Stripe PHP library includes via hook_libraries_info (from
the Libraries module β
).
If we have some errors in the DB Log (Watchdog) from the Stripe PHP library, we get an error, because related expectations cannot be loaded correctly.
The second thing is using the old 6x version of the Stripe PHP library which does not have compatibility with PHP 8.1, but this has been fixed since the 7.105.0 version (changelog)