Skip to content

Commit 5ab8d50

Browse files
khangoncweitat
andauthored
fix-7984:Show test/live key of Stripe under Payments section (#8777)
* fix-7984:Show test/live key of Stripe under Payments section * remove extra linebreak --------- Co-authored-by: cweitat <[email protected]>
1 parent 57dd771 commit 5ab8d50

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

app/templates/components/forms/admin/settings/payment-gateway-form.hbs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@
2222
<h5 class="ui header">
2323
{{t 'Stripe Integration Mode'}}
2424
</h5>
25-
<div class="field">
26-
<UiRadio
27-
@label={{t "Test mode - Used during development and testing"}}
28-
@name="stripe_integration_mode"
29-
@value="debug"
30-
@current={{this.stripeMode}}
31-
@onChange={{action (mut this.stripeMode)}} />
32-
</div>
3325
{{#if (eq this.stripeMode 'debug')}}
26+
<div class="field">
27+
<UiRadio
28+
@label={{t "Test mode - Used during development and testing"}}
29+
@name="stripe_integration_mode"
30+
@value="debug"
31+
@current={{this.stripeMode}}
32+
@onChange={{action (mut this.stripeMode)}} />
33+
</div>
3434
<div class="field">
3535
<label>
3636
{{t 'Client Test ID'}}
@@ -71,6 +71,7 @@
7171
@value={{this.settings.stripeTestPublishableKey}} />
7272
</div>
7373
{{/if}}
74+
{{#if (eq this.stripeMode 'production')}}
7475
<div class="ui hidden divider"></div>
7576
<div class="field">
7677
<UiRadio
@@ -80,7 +81,6 @@
8081
@current={{this.stripeMode}}
8182
@onChange={{action (mut this.stripeMode)}} />
8283
</div>
83-
{{#if (eq this.stripeMode 'production')}}
8484
<div class="field">
8585
<label>
8686
{{t 'Client ID'}}

0 commit comments

Comments
 (0)