sparkartgroup-archive / sparkart.js

Easily interact with Sparkart's APIs via Javascript.
1 stars 0 forks source link

Error thrown in customer preprocessor when user is signed in with expired subscription #66

Closed krackydile closed 10 years ago

krackydile commented 10 years ago

When a user is signed in, the customer preprocessor on line 127 is looking for a start_date which doesn't exist in the fan club object because the subscription has expired. This error is stopping the customer widget from loading.

This can be seen on Keith Urban with this account:

adi+apple@sparkart.com / temp123

When the user is logged in, the customer widget should show this in the top right corner:

Hi, Adapple | Account | Logout

Can we add a condition to check whether the subscription has expired?

pushred commented 10 years ago

@fauntleroy