diff --git a/app/models/event.js b/app/models/event.js index 68eaaec1bbd..8dd47ab1dee 100644 --- a/app/models/event.js +++ b/app/models/event.js @@ -184,6 +184,9 @@ export default class Event extends ModelBase.extend(CustomPrimaryKeyMixin, { }), isStripeConnectionValid: computed('canPayByStripe', 'stripeAuthorization.stripeAuthCode', 'stripeAuthorization.stripePublishableKey', function() { + if (!this.canPayByStripe) { + return true; + } return this.canPayByStripe && this.stripeAuthorization?.stripeAuthCode && this.stripeAuthorization?.stripePublishableKey; })