diff --git a/packages/host/app/components/matrix/payment-setup.gts b/packages/host/app/components/matrix/payment-setup.gts index 9fce570d62..83743e52fc 100644 --- a/packages/host/app/components/matrix/payment-setup.gts +++ b/packages/host/app/components/matrix/payment-setup.gts @@ -2,6 +2,8 @@ import { on } from '@ember/modifier'; import { action } from '@ember/object'; import { service } from '@ember/service'; +import ENV from '@cardstack/host/config/environment'; + import Component from '@glimmer/component'; import { tracked } from '@glimmer/tracking'; @@ -24,6 +26,8 @@ import { Lock, } from '@cardstack/boxel-ui/icons'; +const { environment } = ENV; + import ProfileSettingsModal from '@cardstack/host/components/operator-mode/profile/profile-settings-modal'; import ProfileInfoPopover from '@cardstack/host/components/operator-mode/profile-info-popover'; import type BillingService from '@cardstack/host/services/billing-service'; @@ -124,6 +128,7 @@ export default class PaymentSetup extends Component { @href={{this.stripePaymentLink}} data-test-setup-payment class='setup-button' + target={{if (eq environment 'development') '_blank' '_self'}} > Set up Secure Payment Method