2021-05-17 18:14:38 +03:00
|
|
|
<header class="modal-header" data-test-modal="webhook-form">
|
|
|
|
<h1 data-test-text="title">Connect with Stripe</h1>
|
|
|
|
</header>
|
|
|
|
<button class="close" href title="Close" {{action "closeModal"}} {{action (optional this.noop) on="mouseDown"}}>
|
|
|
|
{{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">
|
|
|
|
{{#if this.settings.stripeConnectAccountId}}
|
|
|
|
<button
|
|
|
|
class="gh-btn gh-btn-black"
|
|
|
|
{{action "closeModal"}}
|
|
|
|
{{action (optional this.noop) on="mouseDown"}}
|
|
|
|
data-test-button="cancel-webhook"
|
|
|
|
>
|
|
|
|
<span>OK</span>
|
|
|
|
</button>
|
|
|
|
{{/if}}
|
|
|
|
</div>
|