mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
0030acf5a6
closes #11463 - Ghost used to always load stripe.js into the frontend of all pages when memberships are enabled, even when Stripe isn't configured / memberships to a page are free. This changes Ghost's behaviour to only load stripe.js when both stripe API tokens are present & not empty (the quickest way to verify that Stripe is fully configured & operational on a blog). - Needs a follow-up cleanup removing confusing/not functional `isPaymentConfigured` method from members service |
||
---|---|---|
.. | ||
client@dd66c0f57c | ||
frontend | ||
server | ||
shared/nql-map-key-values | ||
test | ||
index.js |