| @@ -61,11 +61,12 @@ | ||
| 61 | 61 | foreach ($paymentMethods as $paymentMethod) { |
| 62 | 62 | $settings = $paymentMethod->settings->get(); |
| 63 | 63 | if (Arr::get($settings, 'is_active') === 'yes') { |
| 64 | 64 | $isCurrencySupported = $paymentMethod->isCurrencySupported(); |
| 65 | - if (!$isCurrencySupported || ($hasSubscription && !$paymentMethod->has('subscriptions')) || ($hasZeroRecurring && !$paymentMethod->has('zero_recurring'))) { | |
| 65 | + if (!$isCurrencySupported || ($hasZeroRecurring && !$paymentMethod->has('zero_recurring'))) { | |
| 66 | 66 | continue; |
| 67 | 67 | } |
| 68 | + | |
| 68 | 69 | $activePaymentMethods[] = $paymentMethod; |
| 69 | 70 | } |
| 70 | 71 | } |
| 71 | 72 | |