• Resolved thepuncake

    (@thepuncake)


    Hi there, I’m working on a site that’s not live yet. While everything was working fine, after updating Woocommerce to the last version, I get this error in the dashboard:

    WooCommerce Gateway PayPal Express Checkout requires WooCommerce to be activated

    Woocommerce is obviously activated, I have no clue on what might be the problem.

    I also get this error on checkout when I choose to pay with paypal express:

    PayPal error (3): An error (3) occurred while processing your PayPal payment. Please contact the store owner for assistance.

    Any ideas as to why this might be happening?

    Thanks in advance,
    Theo

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Support Michael

    (@mikkamp)

    Automattic Happiness Engineer

    Hi Theo,

    Regarding the warning about WooCommerce being activated. Are you using WooCommerce 3.2.1? The PayPal Express function outputs this error if it can’t find the function WC. In the last version of WooCommerce this was changed to a lower case wc. But PHP is supposed to be case in-sensitive when it comes to function names, so this should still work. I have this running on a test site where it doesn’t seem to be causing any problems.

    Do you have a specific PHP version / hosting platform where this is causing problems?

    The error code 3 is not a known error. Would you be able to enable the Debug Logging in WooCommerce > Settings > Checkout > PayPal Express Checkout

    And then check in WooCommerce > Status > Logs and see if the Paypal express file has any more information which could help track down the error.

    Hi Mike – Running WP 4.8.2 on Clean Commerce and getting the same error with Woo PP Gateway 1.4.4. Oh, I’m on Woo 3.2.1. Really weird because everything was fine for months and now I noticed the error message and cannot ascertain what the issue is. Like Theo, obviously Woo is (and always has been activated). Seem to recall having a nightmare experience by installing JetPack (never, everrr again!!!) around that time. Rid myself of JP and I haven’t noticed any major errors expect the PP Express Checkout message.

    BUT! Following your instructions to Theo above re debugging logs, there’s clearly a big problem – lots of:
    CRITICAL Uncaught Error: Call to a member function get_cart() on null in /var/www/meowwoofmeow/wp-content/plugins/woocommerce-jetpack/includes/add-to-cart/class-wcj-add-to-cart-per-product-type.php:52

    I can’t see what that has to do with the PayPal Gate plugin, though. Any ideas?

    Hello!

    I am having the same issue…

    “WooCommerce Gateway PayPal Express Checkout requires WooCommerce to be activated”

    1. WooCommerce is activated
    2. PayPal Express Checkout is NOT activated

    Here’s the report:

    
    ### WordPress Environment ###
    
    Home URL: http://cultured-pearls.net/creations
    Site URL: http://cultured-pearls.net/creations
    WC Version: 3.2.5
    Log Directory Writable: ✔
    WP Version: 4.9
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ✔
    Language: en_US
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 5.6.30
    PHP Post Max Size: 64 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 1000
    cURL Version: 7.55.1
    NSS/3.28.4
    
    SUHOSIN Installed: –
    MySQL Version: 5.6.26
    Max Upload Size: 64 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 3.2.5
    WC Database Prefix: phd_
    MaxMind GeoIP Database: ✔
    Total Database Size: 46.45MB
    Database Data Size: 39.42MB
    Database Index Size: 7.03MB
    phd_woocommerce_sessions: Data: 0.00MB + Index: 0.00MB
    phd_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB
    phd_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB
    phd_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB
    phd_woocommerce_order_items: Data: 0.00MB + Index: 0.00MB
    phd_woocommerce_order_itemmeta: Data: 0.00MB + Index: 0.00MB
    phd_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB
    phd_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB
    phd_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB
    phd_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB
    phd_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB
    phd_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB
    phd_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB
    phd_woocommerce_log: Data: 0.00MB + Index: 0.00MB
    phd_commentmeta: Data: 0.00MB + Index: 0.01MB
    phd_comments: Data: 0.00MB + Index: 0.01MB
    phd_duplicator_packages: Data: 0.00MB + Index: 0.00MB
    phd_eg_grids: Data: 0.21MB + Index: 0.01MB
    phd_eg_item_elements: Data: 0.00MB + Index: 0.00MB
    phd_eg_item_skins: Data: 0.61MB + Index: 0.01MB
    phd_eg_navigation_skins: Data: 0.03MB + Index: 0.01MB
    phd_eshop_base_products: Data: 0.00MB + Index: 0.00MB
    phd_eshop_countries: Data: 0.00MB + Index: 0.01MB
    phd_eshop_discount_codes: Data: 0.00MB + Index: 0.01MB
    phd_eshop_downloads: Data: 0.00MB + Index: 0.00MB
    phd_eshop_download_orders: Data: 0.00MB + Index: 0.00MB
    phd_eshop_emails: Data: 0.00MB + Index: 0.00MB
    phd_eshop_option_names: Data: 0.00MB + Index: 0.00MB
    phd_eshop_option_sets: Data: 0.00MB + Index: 0.00MB
    phd_eshop_orders: Data: 0.00MB + Index: 0.01MB
    phd_eshop_order_items: Data: 0.00MB + Index: 0.01MB
    phd_eshop_rates: Data: 0.00MB + Index: 0.00MB
    phd_eshop_states: Data: 0.00MB + Index: 0.01MB
    phd_eshop_stock: Data: 0.00MB + Index: 0.00MB
    phd_icl_content_status: Data: 0.00MB + Index: 0.00MB
    phd_icl_core_status: Data: 0.00MB + Index: 0.00MB
    phd_icl_flags: Data: 0.00MB + Index: 0.00MB
    phd_icl_languages: Data: 0.00MB + Index: 0.01MB
    phd_icl_languages_translations: Data: 0.10MB + Index: 0.07MB
    phd_icl_locale_map: Data: 0.00MB + Index: 0.00MB
    phd_icl_message_status: Data: 0.00MB + Index: 0.00MB
    phd_icl_mo_files_domains: Data: 0.00MB + Index: 0.00MB
    phd_icl_node: Data: 0.00MB + Index: 0.00MB
    phd_icl_reminders: Data: 0.00MB + Index: 0.00MB
    phd_icl_strings: Data: 2.40MB + Index: 1.51MB
    phd_icl_string_packages: Data: 0.00MB + Index: 0.00MB
    phd_icl_string_pages: Data: 0.01MB + Index: 0.01MB
    phd_icl_string_positions: Data: 0.05MB + Index: 0.02MB
    phd_icl_string_status: Data: 0.00MB + Index: 0.00MB
    phd_icl_string_translations: Data: 0.91MB + Index: 0.32MB
    phd_icl_string_urls: Data: 0.00MB + Index: 0.01MB
    phd_icl_translate: Data: 1.18MB + Index: 0.24MB
    phd_icl_translate_job: Data: 0.01MB + Index: 0.02MB
    phd_icl_translations: Data: 0.53MB + Index: 0.79MB
    phd_icl_translation_batches: Data: 0.00MB + Index: 0.00MB
    phd_icl_translation_status: Data: 1.30MB + Index: 0.10MB
    phd_layerslider: Data: 0.02MB + Index: 0.00MB
    phd_layerslider_revisions: Data: 0.00MB + Index: 0.00MB
    phd_links: Data: 0.00MB + Index: 0.00MB
    phd_options: Data: 1.96MB + Index: 0.06MB
    phd_ot_faq_categories: Data: 0.00MB + Index: 0.00MB
    phd_ot_faq_questions: Data: 0.00MB + Index: 0.00MB
    phd_pmxi_files: Data: 0.00MB + Index: 0.00MB
    phd_pmxi_history: Data: 0.00MB + Index: 0.00MB
    phd_pmxi_imports: Data: 0.01MB + Index: 0.00MB
    phd_pmxi_posts: Data: 0.00MB + Index: 0.00MB
    phd_pmxi_templates: Data: 0.00MB + Index: 0.00MB
    phd_postmeta: Data: 10.30MB + Index: 2.20MB
    phd_posts: Data: 14.87MB + Index: 1.17MB
    phd_revslider_css: Data: 0.09MB + Index: 0.00MB
    phd_revslider_layer_animations: Data: 0.00MB + Index: 0.00MB
    phd_revslider_navigations: Data: 0.00MB + Index: 0.00MB
    phd_revslider_sliders: Data: 0.13MB + Index: 0.00MB
    phd_revslider_slides: Data: 4.39MB + Index: 0.01MB
    phd_revslider_static_slides: Data: 0.00MB + Index: 0.00MB
    phd_smooth_slider: Data: 0.00MB + Index: 0.00MB
    phd_smooth_slider_meta: Data: 0.00MB + Index: 0.00MB
    phd_smooth_slider_postmeta: Data: 0.00MB + Index: 0.00MB
    phd_termmeta: Data: 0.07MB + Index: 0.06MB
    phd_terms: Data: 0.06MB + Index: 0.09MB
    phd_term_relationships: Data: 0.09MB + Index: 0.17MB
    phd_term_taxonomy: Data: 0.08MB + Index: 0.05MB
    phd_testimonials: Data: 0.00MB + Index: 0.00MB
    phd_testimonials_settings: Data: 0.00MB + Index: 0.00MB
    phd_usermeta: Data: 0.01MB + Index: 0.01MB
    phd_users: Data: 0.00MB + Index: 0.01MB
    smackuci_events: Data: 0.00MB + Index: 0.00MB
    smackuci_history: Data: 0.00MB + Index: 0.00MB
    wp_ultimate_csv_importer_log_values: Data: 0.00MB + Index: 0.00MB
    wp_ultimate_csv_importer_manageshortcodes: Data: 0.00MB + Index: 0.00MB
    wp_ultimate_csv_importer_shortcodes_statusrel: Data: 0.00MB + Index: 0.00MB
    
    ### Post Type Counts ###
    
    attachment: 6722
    customize_changeset: 13
    custom_css: 1
    faq: 13
    nav_menu_item: 205
    page: 231
    post: 1941
    product: 171
    product_variation: 330
    revision: 6023
    wpb_wps_shortcode: 2
    wpml_tf_feedback: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ❌Your store is not using HTTPS. Learn more about HTTPS and SSL Certificates.
    Hide errors from visitors: ✔
    
    ### Active Plugins (24) ###
    
    WPML Multilingual CMS: by OnTheGoSystems – 3.8.4
    LayerSlider WP: by Kreatura Media – 6.6.2
    Arconix FAQ: by John Gardner – 1.7.0
    Custom Sidebars: by WPMU DEV – 3.1.1
    Enable Media Replace: by Måns Jonasson – 3.1.1
    eShop for WordPress: by Rich Pedley – 6.3.11
    Essential Grid: by ThemePunch – 2.1.6.2.2
    Anti-Malware Security and Brute-Force Firewall: by Eli Scheetz – 4.17.44
    WPBakery Page Builder: by Michael M - WPBakery.com – 5.4.4
    Lightbox Plus Colorbox: by Dan Zappone – 2.7
    Page scroll to id: by malihu – 1.6.2
    qTranslate X Importer: by OntheGoSystems – 1.8.1
    Register Plus Redux: by radiok – 3.9.10
    Slider Revolution: by ThemePunch – 5.4.6.3.1
    Sticky Menu (or Anything!) on Scroll: by Mark Senff – 2.1
    Vision Core: by Jaroslav Svetlik – 1.1.1
    WooCommerce PayPal Express Checkout Gateway: by WooCommerce – 1.4.5
    WooCommerce Multilingual: by OnTheGoSystems – 4.2.6
    WooCommerce: by Automattic – 3.2.5
    WP All Import: by Soflyy – 3.4.6
    WPML Media: by OnTheGoSystems – 2.2.1
    WPML Sticky Links: by OnTheGoSystems – 1.4.2
    WPML String Translation: by OnTheGoSystems – 2.6.3
    WPML Translation Management: by OnTheGoSystems – 2.4.3
    
    ### Settings ###
    
    API Enabled: ✔
    Force SSL: –
    Currency: USD ($)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)
    
    Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
    exclude-from-search (exclude-from-search)
    featured (featured)
    outofstock (outofstock)
    rated-1 (rated-1)
    rated-2 (rated-2)
    rated-3 (rated-3)
    rated-4 (rated-4)
    rated-5 (rated-5)
    
    ### WC Pages ###
    
    Shop base: #10305 - /shop/
    Cart: #10306 - /cart/
    Checkout: #10307 - /checkout/
    My account: #10308 - /my-account/
    Terms and conditions: #17725 - /terms-and-conditions/
    
    ### Theme ###
    
    Name: Agama Pro Child
    Version: 1.0.0
    Author URL: http://theme-vision.com
    Child Theme: ✔
    Parent Theme Name: Agama Pro
    Parent Theme Version: 1.4.0.2
    Parent Theme Author URL: http://theme-vision.com/
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: agama-pro/woocommerce/cart/cart.php
    agama-pro/woocommerce/single-product/product-image.php
    agama-pro/woocommerce/single-product/product-thumbnails.php
    
    
    Plugin Contributor Praveen a11n

    (@spraveenitpro)

    Automattic Happiness Engineer

    Hi @thepuncake,

    Can you please update to the most recent version of WooCommerce 3.2.6 and PayPal express 1.5.0 and check if the behaviour persists followed by letting us know?

    Cheers

    • This reply was modified 6 years, 3 months ago by Praveen a11n.

    Hi,

    I am a newbie and facing the same issue. Please help.

    Woocomerce Version – 3.3.2
    Paypal Express Checkout – 1.5.2

    Thanks

    Hi
    Same problem for me.
    WP 4.9.5
    Woocommerce 3.3.5 (activated)
    WooCommerce PayPal Express Checkout Gateway 1.5.3 (activated and enabled)
    Thanks

    Hello there,

    this issue is back again with
    Woocomerce Version – 3.4.2
    Paypal Express Checkout – 1.5.6

    on our dev site that’s going to go live soon and I hope there’s a resolution for this and will not be a barrier to run a successful WC store.

    Thanks

    Hi There,

    I have trying to make payment from Paypal Express Checkout but After login in Paypal, Paypal popup close and send a message with “An error occurred while calling the PayPal API ”

    Can you please tell me which file and setting cause this one?

    It is urgent so please reply me fast as it is live now.

    Thankyou

    Hello!

    I couldn’t find a resolution and a cause why this has happened…I have the same issue after updating WooCommerce to version Version 3.4.6.
    WooCommerce PayPal Checkout Gateway is to the latest version as well – Version 1.6.4…
    In my WordPress Admin panel I have a yellow warning – WooCommerce Gateway PayPal Checkout requires WooCommerce to be activated.
    Please, help!

    BR,
    Oleg

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘WooCommerce Gateway PayPal Express Checkout requires WooCommerce to be activated’ is closed to new replies.