CoursePress and MarketPress cart issue

I have CoursePress integrated with MarketPress but the cart feature doesn't work properly. When adding a course using 'add to cart' button, it displays as added in minicart but going to cart page, there's nothing there.

If I go back to the course page, the course is still visible in minicart. Going to MarketPress products page to add the course does update the cart page properly. The issue occurs only if the course is added to cart from course page.