Not working on multisite
-
Greetings,
I’m in the process of upgrading from the “SecureHosting Payment Gateway for WooCommerce” plugin to the dedicated “Monek Checkout” plugin for a WordPress multisite.
I currently have both plugins installed and network activated however The Monek payment option does not appear within the WooCommerce payment methods list in the admin dashboard. I have tried disabling the “SecureHosting Payment Gateway for WooCommerce” plugin but this made no difference.
I’m wondering if this plugin has been tested on a multisite and if it worked. Are there any extra steps for setting up a multisite that may have been missed?
The page I need help with: [log in to see the link]
-
Hi vovomatt,
I can confirm that the Monek Checkout plugin is compatible with WordPress multisite setups. However, even after network activating the plugin, you’ll need to configure its settings individually for each site in the network. This includes enabling the gateway and entering your Monek ID on each site’s Monek Checkout settings page. Once these steps are completed, the Monek Checkout option should appear in the payment methods list for that specific site.
The payment method will display as Monek – Credit/Debit Card under WooCommerce -> Settings -> Payments. Additionally, the plugin’s settings can be accessed via the site’s plugins page, where a “Settings” link is provided next to the installed plugin.
If you’ve completed these steps and the issue persists, let me know. It might help to check your site logs or provide more details about your setup, and I’d be happy to assist further.
Thanks for your response Jack,
I wanted to take some time and do a bit more of an investigation after your confirmation that should be working on a Multisite. I have not been able to get it working on main site. However I was able to get the plugin working on a different testing Multisite so I have been able to remove it being a multisite as the likely cause.On the plugins page on the testing site under Monek Checkout it displays “Settings | Deactivate” as expected however for the main site where I have not been able to get the plugin to work it says “Deactivate” without the settings and the Monek option continues to not appear in the WooCommerce Payments menu within the WooCommerce setting, on the testing site it is there and I can activate it as expected.
Once I got it working on the testing multisite I made a copy of the main site so I could test different options. I have tried updating everything and removing each plugin one by one but with no success. I’ll continue my investigation but any guidance would be appreciated.
I have checked my site logs and nothing is being wrote to them. I have enabled debug mode by adding the following code to wp-config.php:
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_DISPLAY', true );
define( 'WP_DEBUG_LOG', true );
define( 'SCRIPT_DEBUG', true );Below I will give details of the site setup incase that will help you in providing assistance. If there is any advice you can give it will be much approached. Let me know if there is any more information I can provide to help with this.
Theme:
- name: Hello Elementor (hello-elementor)
- version: 3.1.1
- author: Elementor Team
- author_website: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
- parent_theme: none
- theme_features: core-block-patterns, widgets-block-editor, post-thumbnails, menus, automatic-feed-links, title-tag, html5, custom-logo, editor-style, align-wide, woocommerce, wc-product-gallery-zoom, wc-product-gallery-lightbox, wc-product-gallery-slider, widgets
- theme_path: /home/runcloud/webapps/pets-and-pastimes/wp-content/themes/hello-elementor
- auto_update: Disabled
Plugins:
- Bulky – Bulk Edit Products for WooCommerce: version: 1.2.8, author: VillaTheme, Auto-updates enabled
- Complianz | GDPR/CCPA Cookie Consent: version: 7.1.5, author: Really Simple Plugins, Auto-updates enabled
- Conditional Shipping for WooCommerce: version: 3.3.0, author: Lauri Karisola / WP Trio, Auto-updates enabled
- Converter for Media: version: 6.1.3, author: matt plugins – Optimize images by convert WebP & AVIF, Auto-updates enabled
- Custom Adobe Fonts (Typekit): version: 1.0.18, author: Brainstorm Force, Auto-updates enabled
- Elementor: version: 3.25.11, author: Elementor.com, Auto-updates enabled
- Elementor Pro: version: 3.25.5, author: Elementor.com, Auto-updates enabled
- FiboSearch – AJAX Search for WooCommerce: version: 1.29.0, author: FiboSearch Team, Auto-updates enabled
- Filter Everything?— WooCoomerce Product & WordPress Filter: version: 1.8.8, author: Andrii Stepasiuk, Auto-updates enabled
- FluentSMTP: version: 2.2.83, author: FluentSMTP & WPManageNinja Team, Auto-updates enabled
- Google for WooCommerce: version: 2.9.2, author: WooCommerce, Auto-updates enabled
- Hide Admin Notices: version: 2.1, author: PontetLabs, Auto-updates enabled
- LiteSpeed Cache: version: 6.5.3, author: LiteSpeed Technologies, Auto-updates enabled
- Maintenance: version: 4.15, author: WebFactory Ltd, Auto-updates enabled
- Max Mega Menu: version: 3.4.1, author: megamenu.com, Auto-updates enabled
- Monek Checkout: version: 3.2.2, author: Monek Ltd, Auto-updates disabled
- PDF Invoices & Packing Slips for WooCommerce: version: 3.9.0, author: WP Overnight, Auto-updates enabled
- Pods – Custom Content Types and Fields: version: 3.2.8.1, author: Pods Framework Team, Auto-updates disabled
- Post Type Switcher: version: 3.3.1, author: Triple J Software, Inc., Auto-updates enabled
- Rank Math SEO: version: 1.0.234, author: Rank Math SEO, Auto-updates enabled
- Secure Custom Fields: version: 6.3.10.2, author: www.remarpro.com, Auto-updates enabled
- SecureHosting Payment Gateway for WooCommerce: version: 1.0, author: Monek Ltd, Auto-updates disabled
- Site Kit by Google: version: 1.141.0, author: Google, Auto-updates enabled
- White Label CMS: version: 2.7.7, author: https://www.videousermanuals.com, Auto-updates enabled
- Widgets for Google Reviews: version: 12.4.7, author: Trustindex.io [email protected], Auto-updates enabled
- WooCommerce: version: 9.4.3, author: Automattic, Auto-updates enabled
- WooGallery: version: 2.1.5, author: WooGallery Team, ShapedPlugin LLC, Auto-updates enabled
- Wordfence Security: version: 8.0.1, author: Wordfence, Auto-updates enabled
- WordPress Multisite User Sync/Unsync: version: 1.5.0, author: Obtain Infotech, Auto-updates enabled
- WPCode Lite: version: 2.2.4.1, author: WPCode, Auto-updates enabled
- WP Crontrol: version: 1.17.1, author: John Blackbourn, Auto-updates enabled
- DynamicConditions: version: 1.7.4, author: RTO GmbH, Auto-updates disabled (INACTIVE)
Server Details
- server_architecture: Linux 6.8.0-1019-aws x86_64
- httpd_software: LiteSpeed
- php_version: 8.1.30 64bit
- php_sapi: litespeed
- max_input_variables: 1000
- time_limit: 30
- memory_limit: 128M
- admin_memory_limit: 256M
- max_input_time: 60
- upload_max_filesize: 2M
- php_post_max_size: 8M
- curl_version: 7.81.0 OpenSSL/3.0.2
- suhosin: false
- imagick_availability: true
- pretty_permalinks: true
- htaccess_extra_rules: true
- current: 2024-12-12T16:18:46+00:00
- utc-time: Thursday, 12-Dec-24 16:18:46 UTC
- server-time: 2024-12-12T16:18:41+00:00
Database
- extension: mysqli
- server_version: 10.11.10-MariaDB-ubu2204
- client_version: mysqlnd 8.1.30
- max_allowed_packet: 67108864
- max_connections: 4096
Constants
- WP_HOME: undefined
- WP_SITEURL: undefined
- WP_CONTENT_DIR: /home/runcloud/webapps/pets-and-pastimes/wp-content
- WP_PLUGIN_DIR: /home/runcloud/webapps/pets-and-pastimes/wp-content/plugins
- WP_MEMORY_LIMIT: 64M
- WP_MAX_MEMORY_LIMIT: 256M
- WP_DEBUG: false
- WP_DEBUG_DISPLAY: true
- WP_DEBUG_LOG: false
- SCRIPT_DEBUG: false
- WP_CACHE: true
- CONCATENATE_SCRIPTS: undefined
- COMPRESS_SCRIPTS: undefined
- COMPRESS_CSS: undefined
- WP_ENVIRONMENT_TYPE: undefined
- WP_DEVELOPMENT_MODE: undefined
- DB_CHARSET: utf8
- DB_COLLATE: undefined
Filesystem
- wordpress: writable
- wp-content: writable
- uploads: writable
- plugins: writable
- themes: writable
- fonts: not writable
ACF
- version: 6.3.10.2
- plugin_type: Free
- ui_field_groups: 1
- php_field_groups: 0
- json_field_groups: 0
- rest_field_groups: 0
- post_types_enabled: true
- ui_post_types: 26
- json_post_types: 0
- ui_taxonomies: 23
- json_taxonomies: 0
- rest_api_format: light
- admin_ui_enabled: true
- field_type-modal_enabled: true
- field_settings_tabs_enabled: false
- shortcode_enabled: true
- registered_acf_forms: 0
- json_save_paths: 1
- json_load_paths: 1
Pods
- pods-version: 3.2.8.1
- pods-first-version: 3.2.8.1
- pods-last-version: 3.2.8.1
- pods-server-software: LiteSpeed
- pods-user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
- pods-session-save-path: undefined
- pods-session-save-path-exists: No
- pods-session-save-path-writable: No
- pods-session-max-lifetime: 1440
- pods-opcode-cache-apc: No
- pods-opcode-cache-memcached: No
- pods-opcode-cache-opcache: Yes
- pods-opcode-cache-redis: No
- pods-object-cache-apc: No
- pods-object-cache-apcu: Yes
- pods-object-cache-memcache: No
- pods-object-cache-memcached: Yes
- pods-object-cache-redis: Yes
- pods-memory-current-usage: 46.915M / 64M
- pods-memory-current-usage-real: 52.000M
- pods-network-wide: Yes
- pods-install-location: /wp-content/plugins/pods/
- pods-developer: No
- pods-tableless-mode: No
- pods-relationship-table-enabled: Yes
- pods-relationship-table-status: 0
- pods-light-mode: No
- pods-strict: No
- pods-allow-deprecated: Yes
- pods-api-cache: Yes
- pods-shortcode-allow-evaluate-tags: No
- pods-can-use-sessions: No
- pods-settings-types_only: Enable [types_only=0]
- pods-settings-watch_changed_fields: Disable [watch_changed_fields=0]
- pods-settings-metadata_integration: Enable [metadata_integration=1]
- pods-settings-metadata_override_get: Disable [metadata_override_get=0]
- pods-settings-register_meta_integration: Disable [register_meta_integration=0]
- pods-settings-media_modal_fields: Enable [media_modal_fields=0]
- pods-settings-session_auto_start: Disable [session_auto_start=0]
- pods-settings-dynamic_features_allow: Enable [dynamic_features_allow=1]
- pods-settings-dynamic_features_enabled: Display and Form [dynamic_features_enabled=display,form]
- pods-settings-show_access_restricted_messages: Disable [show_access_restricted_messages=0]
- pods-settings-show_access_admin_notices: Enable [show_access_admin_notices=1]
- pods-settings-dynamic_features_allow_sql_clauses: Disable [dynamic_features_allow_sql_clauses=0]
- pods-settings-display_callbacks: Customized [display_callbacks=customized]
- pods-settings-display_callbacks_allowed: esc_attr,esc_html
Hi vovomatt,
Thank you for providing details about your site setup—it was very helpful! Unfortunately, I still wasn’t able to replicate the issue on my end, even after closely mirroring your configuration. The most likely culprit is still some kind of conflict with another plugin, theme, or customization on your site. If we can pinpoint the cause, we should be able to find a solution.
It’s also strange that you’re not getting any logs at all. I recommend trying a plugin like Debug Log Manager to help capture logs. Once you’ve installed and activated it, visit the debug log and ensure Error Logging is enabled (top left corner).
To test if the logging is working correctly, perform some general actions on your site. If the log captures any entries, you’ll know it’s functioning as expected. From there, try activating and deactivating the Monek Checkout plugin to see if any errors or warnings are recorded.
When you created a copy of your site, you mentioned disabling plugins one by one. Did you test with only WooCommerce and Monek Checkout enabled at the same time, ensuring all other plugins were deactivated? This step could help rule out plugin conflicts more definitively.Apologies for the slow response. After some time investigating I was able to replicate the issue on a test multi site and quickly found the solution following this. It seems the plugin does not work when WooCommerce is network activated.
Solution
- Ensure WooCommerce is not network activated
- Activate WooCommerce on each site one at a time (Do not network activate)
- Activate Monek Checkout on each site one at a time (Do not network activate)
- Monek Checkout should now appear as a WooCommerce payment option within the settings
-
This reply was modified 2 months, 1 week ago by
vovomatt.
Thankyou for sharing the solution, I added a new section covering multi-site installation to the plugin read me to help other users in the future who may face a similar issue. You can look out for this in the next release.
- You must be logged in to reply to this topic.