ember-stripe-elements icon indicating copy to clipboard operation
ember-stripe-elements copied to clipboard

passing stripeAccount parameter to Stripe constructor

Open caltabid opened this issue 7 years ago • 0 comments

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?

caltabid avatar May 14 '18 23:05 caltabid