2021-05-21 10:56:55 +03:00
|
|
|
<header class="modal-header" data-test-modal="webhook-form" {{will-destroy this.reset}}>
|
2021-05-17 18:14:38 +03:00
|
|
|
<h1 data-test-text="title">Connect with Stripe</h1>
|
|
|
|
</header>
|
2022-02-02 19:09:43 +03:00
|
|
|
<button class="close" href title="Close" type="button" {{action "closeModal"}} {{action (optional this.noop) on="mouseDown"}}>
|
2021-05-17 18:14:38 +03:00
|
|
|
{{svg-jar "close"}}
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<form>
|
2021-05-20 19:20:49 +03:00
|
|
|
<div class="modal-body" {{did-insert this.updateSuccessModifier}}>
|
2021-05-17 18:14:38 +03:00
|
|
|
<GhMembersPaymentsSetting
|
|
|
|
@setStripeConnectIntegrationTokenSetting={{this.setStripeConnectIntegrationTokenSetting}}
|
2021-05-20 19:20:49 +03:00
|
|
|
@onConnected={{this.updateSuccessModifier}}
|
|
|
|
@onDisconnected={{this.updateSuccessModifier}}
|
2021-05-17 18:14:38 +03:00
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
|
|
|
|
<div class="modal-footer">
|
2022-05-24 17:53:03 +03:00
|
|
|
{{#if (and this.membersUtils.isStripeEnabled this.settings.stripeConnectAccountId)}}
|
2021-05-17 18:14:38 +03:00
|
|
|
<button
|
2022-02-02 19:09:43 +03:00
|
|
|
class="gh-btn gh-btn-black" data-test-button="stripe-connect-ok" type="button" {{action "confirm"}}
|
2021-05-17 18:14:38 +03:00
|
|
|
{{action (optional this.noop) on="mouseDown"}}
|
|
|
|
>
|
|
|
|
<span>OK</span>
|
|
|
|
</button>
|
|
|
|
{{/if}}
|
2021-06-24 11:42:32 +03:00
|
|
|
</div>
|