Adds an additional check on None edx_course_key lookup for has_paid(). We generally have only two possible options for the edx_course_key, (unique or None). So when an edx_course_key lookup is None it can find multiple courses but for a edx_course_key that is None, we should ideally have no payment for it.
How should this be manually tested?
Enroll in a Program
Have multiple course runs with edx_course_key set to None for any course in the program
Load the dashboard (you should not see any errors and dashboard should load fine)
Pre-Flight checklist
What are the relevant tickets?
5237
What's this PR do?
edx_course_key
lookup isNone
it can find multiple courses but for a edx_course_key that is None, we should ideally have no payment for it.How should this be manually tested?
edx_course_key
set toNone
for any course in the program