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

Ability to pass options to stripe.elements()

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

Description

Hello! Thanks for creating this addon, it's awesome.

Is there a way to pass the `options` hash on init to `stripe.elements(options)`? This is different than the per-element options hash.
https://stripe.com/docs/stripe-js/reference#stripe-elements

I believe the init is this line: https://github.com/code-corps/ember-stripe-elements/blob/0.3.0/addon/components/stripe-element.js#L16

Contributor guide

No contributing guide indexed for this repository

Research direction

Read addon/components/stripe-element.js at line 16 and compare its initialization with the Stripe Elements reference linked in the issue. Trace how initialization options differ from per-element options, then verify that supplied options reach stripe.elements(options) while existing per-element behavior remains unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
payments
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.