mirror of
https://github.com/discourse/discourse-subscriptions.git
synced 2025-03-06 09:39:51 +00:00
Due to putting the Stripe Elements HTML inside an if block in the template, this caused state to be funky. As a result, calling `this.stripe.createToken` failed to return a promise. Opted instead to hide the elements via CSS for anonymous users to prevent this showstopping bug.