code-corps / code-corps/ember-stripe-elements
passing stripeAccount parameter to Stripe constructor
Abierto
- Lenguaje dominante
- JavaScript
- Estrellas
- 64
- Forks
- 39
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
Hi,
I need to create a stripe source on a connected account, this is feasible only by creating the Stripe instance with the optional stripeAccount parameter.
var stripe = new Stripe(
'pk_test_....',
{stripeAccount: "acct_..."},
);
I was thinking to enable lazy load, and in the route->beforeModel call the load function with the stripeAccount parameter:
this.get('stripe').load({stripeAccount="acct_..."});
Any other idea?
Anyone can help me on this?
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.