Stripe webhooks bug when switching to Composer

Wappler: v7 rc1
OS: MacOS M1
Server: PHP

I'm setting up Stripe on an existing project. It's set to use Composer but the require on line 8 of dmxConnect/webhooks/stripe/index.php is pointing to the non-Composer file:

require('../../../dmxConnectLib/stripe/init.php');

In order to fix it I manually changed this to:

require('../../../vendor/stripe/stripe-php/init.php');

I previously switched off Composer, then switched it on again. I also closed the project and re-opened it. And I ran the Project Updater but none of these fixed the link.