• robertodonpedro

    (@robertodonpedro)


    Hi,
    I just downloaded the plugin and enabled the PayPal Credit Card (REST).
    This payment method is not available at checkout though, but I see this error in line 127 (with the Debug Bar):
    paypal-for-woocommerce.php:127 - Undefined index: enabled
    It makes no difference if I disable this payment method, the error stays until I deactivate the plugin.
    Thx

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor angelleye

    (@angelleye)

    Can you verify what version of PHP your site is running? Also what version of WordPress and WooCommerce?

    Thread Starter robertodonpedro

    (@robertodonpedro)

    PHP 5.6.20
    WP 4.7.3
    WC 2.6.14

    This error just appear after initial install. If you than enable another gateway like Paypal Express Checkout the error disappears. If you enter some API Data the REST Payment appears at checkout and it works.

    Plugin Contributor angelleye

    (@angelleye)

    I would say there could have been some sort of an odd caching issue going on then or something like that. If things are working now I don’t think you’ll have any further issues. We’ll keep our eye out for this, though, and if we’re able to reproduce it at any point or if we get more reports of it we’ll certainly get it fixed.

    Thread Starter robertodonpedro

    (@robertodonpedro)

    Well, I deleted the cache, too. This was not the issue.
    Maybe checking it with isset helps, just to be sure: if(isset(@$pp_settings['enabled']) && 'yes' === @$pp_settings['enabled'])...
    But no problem for me anyway, just didn’t expect this initial experience…:-).
    However, good plug-in, maybe I contact you through your site soon.
    Thx, Robert

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Undefined index: enabled’ is closed to new replies.