mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
Removed check for isPaid
flag
ref 6bbe7bb3d4
- This value is no longer being set on the client side and doesn't serve any purpose. The logic should rely on payment processors being configured instead
This commit is contained in:
parent
e214838039
commit
fae0975c6e
1 changed files with 0 additions and 3 deletions
|
@ -86,9 +86,6 @@ const ghostMailer = new mail.GhostMailer();
|
|||
|
||||
function getStripePaymentConfig() {
|
||||
const subscriptionSettings = settingsCache.get('members_subscription_settings');
|
||||
if (!subscriptionSettings || subscriptionSettings.isPaid === false) {
|
||||
return null;
|
||||
}
|
||||
|
||||
const stripePaymentProcessor = subscriptionSettings.paymentProcessors.find(
|
||||
paymentProcessor => paymentProcessor.adapter === 'stripe'
|
||||
|
|
Loading…
Add table
Reference in a new issue