Products that are not courses send out an Enrollment confirmation email

When a user purchases a product that is not a course the user still receives an Enrollment Confirmation. The text is --Congratulations! You have enrolled in course "" successfully!--. We are using the woocommerce store with your new integration. This issue occurs on two sites under our management. Could you help with this?

We have granted access to: