code-corps / code-corps/ember-stripe-elements

Uncaught TypeError: get(...) is not a function

Open
#32 3 comments 3 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
64
Forks
39
PR merge metrics
No merged PRs in 30d

Description

Running into an issue here where the following error is being thrown:

```
Uncaught TypeError: get(...) is not a function
at Class. (stripe-element.js:23)
```

Looks like `get(this, "stripev3.elements")` is returning undefined, so calling that function is blowing up. Any idea why this might be happening?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at stripe-element.js:23 and trace where get(this, "stripev3.elements") is initialized and where the failing call is reached. Reproduce the reported TypeError and verify that the relevant Stripe Elements value is available before it is invoked; no test or additional file is named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.