When making a test purchase using Stripe Checkout's test mode, I go through and the 'payment' submits on stripe's page, then sends me back to my website's Order Complete page, but no emails are sent. On the administrator's Orders page, the order is marked as unpaid. For this order, under Actions, I can mark as 'Confirmed' then select Notify Customer before clicking Save. This then marks the order as complete and the email is sent to the user, which is why I think the webhook is the issue.
This site was previously migrated from Joomla 3, which had no issues with this, and the settings have not changed. Everything else on the site seemed to work so I'm not sure what hs changed. Currently on Jooma 5.4.2, J2Commerce 4.0.20 Pro, PHP 8.4.
In Plugins > Stripe Checkout, both Live and Test secret/publishable keys are filled in. The 'Create/Update webhook?' option says OK next to the Create Webhook button, there is no webhook URL below this section (as showin in the docs (https://docs.j2commerce.com/payment-methods/stripe/#configuring-stripe-checkout) - having checked the Joomla 3 site, there was not one here either but the site seemed to work regardless.
Any ideas on what I can do to get the webhook working?