diff --git a/src/payment/checkout/Checkout.jsx b/src/payment/checkout/Checkout.jsx index fab65f253..bd8836605 100644 --- a/src/payment/checkout/Checkout.jsx +++ b/src/payment/checkout/Checkout.jsx @@ -161,9 +161,10 @@ class Checkout extends React.Component { if (products || products.length !== 0) { products.forEach(product => { productList.push({ + externalId: typeof product.courseKey === 'string' ? product.courseKey : '', variant: BaseTagularVariant.Courses, // TODO: all are 'courses' now, use translateVariant() in the future brand: this.getPartnerName(product), // School or Partner name - name: product.title, // Course(s) title + name: typeof product.title === 'string' ? product.title : '', // Course(s) title }); }); }