Activated but still "The requested Payment Method is not available." as registered user only

  • I activated several Payment Method and those are getting displayed on the checkout page. But regardless which option I select Magento always returns:

    The requested Payment Method is not available.

    The problem only occurs if I use a registered user. Guest works fine.

    Any ideas?

  • Alex

    Alex Correct answer

    8 years ago

    Try the following (ordered by the effort it would take, if one step does not help you, take the next one)

    1. Check the allowed countries that you can configure for each payment method in the admin backend.
    2. Check the error logs (system.log, exception.log after enabling them)
    3. Debug into the \Mage_Payment_Model_Method_Abstract::isAvailable() method to see what is going on.

    1. payment is allowed for each country 2. Log is empty 3. $isActive is false with `getConfigData()`

    What is subtotal of your cart?

    @Sergy Subtotal is €22.80

    Did you use any cart rules, reward bonuses that can reduce totals amount ot 0.00?

    @Sergy I have no cart or product rules

    @PiTheNumber: do you mean `$isActive = (bool)(int)$this->getConfigData('active', $quote ? $quote->getStoreId() : null); ` returns false? Is the payment method active for all stores? There might be something going wrong with the current store or the store of the quote.

    Hm, if you have magerun installed, what's the output of `n98-magerun.phar config:get "payment/*/active"`

    Could you elaborate how to do Step 3? Sorry for the late answer.

License under CC-BY-SA with attribution


Content dated before 7/24/2021 11:53 AM