Strange error on purchasing or renewing subscription `Cannot read property 'success' of undefined`
Summary
This issue happens when customers try to renew or purchase a subscription. To be more specific it happens after we receive a response from the back-end. I think response is malformed.
Steps to reproduce
(How one can reproduce the issue - this is very important)
What is the current bug behavior?
(What actually happens)
What is the expected correct behavior?
(What you should see instead)
Relevant logs and/or screenshots
(Paste any relevant logs - please use code blocks (```) to format console output, logs, and code as it's tough to read otherwise.)
Workarounds
(Ways to get around the issue)
Reported examples
- https://sentry.gitlab.net/gitlab/customersgitlabcom/issues/1501366/?query=is%3Aunresolved
- https://sentry.gitlab.net/gitlab/customersgitlabcom/issues/1467961/?query=is%3Aunresolved
- https://sentry.gitlab.net/gitlab/customersgitlabcom/issues/1461553/?query=is%3Aunresolved
- https://sentry.gitlab.net/gitlab/customersgitlabcom/issues/1395840/?query=is%3Aunresolved
- https://sentry.gitlab.net/gitlab/customersgitlabcom/issues/1393247/?query=is%3Aunresolved
- https://sentry.gitlab.net/gitlab/customersgitlabcom/issues/1189553/?query=is%3Aunresolved