Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

passing stripeAccount parameter to Stripe constructor #34

Open
caltabid opened this issue May 14, 2018 · 0 comments
Open

passing stripeAccount parameter to Stripe constructor #34

caltabid opened this issue May 14, 2018 · 0 comments

Comments

@caltabid
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant