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

Ability to pass options to stripe.elements()

未关闭
#33 9 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
64
派生
39
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

这个仓库没有索引到贡献指南

调研方向

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.

由索引模型根据 Issue 内容生成。

评估

技术栈
javascript
领域
payments
Issue 类型
功能
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
描述清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。