NEUROP-1236
NEUROP-1234
It seems the issue was caused by the payment window being closed too quickly. The payment status was automatically updated by the webhook, but the email notification was not sent in order to avoid duplicate notifications.
This has now been resolved by adding an additional check in the webhook to verify whether the notification email has already been sent. If it has not, the email will now be sent correctly.