0

We're having an issue where PayPal Express checkout is shown as disabled in the Magento admin area regardless of what the actual status is in the database:

Payment method shown as disabled

What's strange is that even the HTML on the page seems to show the status as enabled:

<select id="payment_express_checkout_required_enable_express_checkout" name="groups[express_checkout_required][fields][enable_express_checkout][value]" class="paypal-enabler paypal-ec-enabler shared shared-payment-paypal_express-active requires requires-payment_express_checkout_required_express_checkout select" disabled=""> <option value="1" selected="selected">Yes</option> <option value="0">No</option> </select>

We can also see in the database that this payment method is actually enabled:

# config_id, scope, scope_id, path, value
'425', 'default', '0', 'payment/paypal_express/active', '1'

Unfortunately, if we save the config from the admin area, it then sets this payment method to actually be disabled, and we can't change it back from the UI as the option is always disabled (as in the HTML element has a disabled attribute).

In the debugger, I can see that this select is disabled by line 14874 of the inline Javascript on that page, but it's not clear why.

My question is, why is this select getting disabled and displaying a misleading value?

1 Answer 1

1

Amusingly it turned out this was as simple as the X.COM Application Id setting being required to enable PayPal Express Checkout.

Completing that field re-enables the PayPal settings.

enter image description here

2
  • @JasonTipton: will do when I'm allowed to in 2 days!
    – MHG
    Feb 17, 2015 at 20:55
  • Oh that's interesting, I didn't know about that limitation. Feb 17, 2015 at 20:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.