• Resolved nikdow

    (@nikdow)


    We have two payment plugins configured:
    woocommerce-gateway-eway and
    woocommerce-paypal-payments

    Both became broken a few days ago.

    There is no button to pay. In the case of eWay with “secure fields” option, the field labels display but there is no html <input> element to enter payment details.

    I’ve tested by removing all plugins (except WC and payment plugins), and using the storefront theme. Problem persists.

    This store has multiple sales every day, it all stopped a week ago. Might have been an automatic plugin update but no other changes AFAIK. We don’t run any server-side caching.

    With eWay secure fields, there were jquery errors because of the missing <input> tags. No JS errors for eWay hosted payment page, no JS errors for Paypal.
    I have WC debug mode on but nothing relevant in the WC logs.
    2024-03-18T00:00:40+00:00 Warning /home/lamp/wordpress/wp-content/www.spelfabet.com.au/uploads/spelfabet-fpdi/17782/Phonics-with-Feeling-Initial-Code-30-copies-friknw.pdf could not be served using the X-Accel-Redirect/X-Sendfile method. A Force Download will be used instead. 2024-03-18T00:01:36+00:00 Warning /home/lamp/wordpress/wp-content/www.spelfabet.com.au/uploads/spelfabet-fpdi/17782/230325_PwF_Info_sheets-8u34fr.pdf could not be served using the X-Accel-Redirect/X-Sendfile method. A Force Download will be used instead.
    Above errors are related to php-fpm which breaks WC’s use of apache_get_modules.

    ` WordPress Environment</p> <p class=””>WordPress address (URL): https://www.spelfabet.com.au<br>Site address (URL): https://www.spelfabet.com.au<br>WC Version: 8.6.1<br>REST API Version: ✔ 8.6.1<br>WC Blocks Version: ✔ 11.8.0-dev<br>Action Scheduler Version: ✔ 3.7.1<br>Log Directory Writable: ✔<br>WP Version: 6.4.3<br>WP Multisite: –<br>WP Memory Limit: 256 MB<br>WP Debug Mode: –<br>WP Cron: ✔<br>Language: en_US<br>External object cache: – Server Environment</p> <p class=””>Server Info: Apache/2.4.58 (Ubuntu)<br>PHP Version: 8.2.13<br>PHP Post Max Size: 50 MB<br>PHP Time Limit: 240<br>PHP Max Input Vars: 1000<br>cURL Version: 7.81.0<br>OpenSSL/3.0.2</p> <p class=””>SUHOSIN Installed: –<br>MySQL Version: 8.0.36-0ubuntu0.22.04.1<br>Max Upload Size: 50 MB<br>Default Timezone is UTC: ✔<br>fsockopen/cURL: ✔<br>SoapClient: ✔<br>DOMDocument: ✔<br>GZip: ✔<br>Multibyte String: ✔<br>Remote Post: ✔<br>Remote Get: ✔ Database</p> <p class=””>WC Database Version: 8.6.1<br>WC Database Prefix: wp_<br>Total Database Size: 1279.72MB<br>Database Data Size: 823.43MB<br>Database Index Size: 456.29MB<br>wp_woocommerce_sessions: Data: 2.02MB + Index: 0.05MB + Engine InnoDB<br>wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_woocommerce_downloadable_product_permissions: Data: 36.58MB + Index: 74.47MB + Engine InnoDB<br>wp_woocommerce_order_items: Data: 17.55MB + Index: 5.52MB + Engine InnoDB<br>wp_woocommerce_order_itemmeta: Data: 109.66MB + Index: 100.25MB + Engine InnoDB<br>wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_woocommerce_payment_tokenmeta: Data: 0.06MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_actionscheduler_actions: Data: 0.16MB + Index: 0.16MB + Engine InnoDB<br>wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_actionscheduler_logs: Data: 0.16MB + Index: 0.16MB + Engine InnoDB<br>wp_blc_filters: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_blc_instances: Data: 1.20MB + Index: 0.22MB + Engine MyISAM<br>wp_blc_links: Data: 10.36MB + Index: 1.02MB + Engine MyISAM<br>wp_blc_synch: Data: 0.04MB + Index: 0.04MB + Engine MyISAM<br>wp_commentmeta: Data: 10.19MB + Index: 0.92MB + Engine MyISAM<br>wp_comments: Data: 20.98MB + Index: 5.84MB + Engine MyISAM<br>wp_eum_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_jetpack_waf_blocklog: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_mclean_refs: Data: 0.31MB + Index: 0.00MB + Engine InnoDB<br>wp_mclean_scan: Data: 0.11MB + Index: 0.02MB + Engine InnoDB<br>wp_newsletter: Data: 9.52MB + Index: 3.03MB + Engine InnoDB<br>wp_newsletter_automated: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_newsletter_automated_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_newsletter_emails: Data: 2.52MB + Index: 0.00MB + Engine InnoDB<br>wp_newsletter_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_newsletter_sent: Data: 66.61MB + Index: 57.11MB + Engine InnoDB<br>wp_newsletter_stats: Data: 86.61MB + Index: 50.11MB + Engine InnoDB<br>wp_newsletter_user_logs: Data: 5.52MB + Index: 0.00MB + Engine InnoDB<br>wp_newsletter_user_meta: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_options: Data: 18.50MB + Index: 8.03MB + Engine InnoDB<br>wp_postmeta: Data: 125.86MB + Index: 73.04MB + Engine MyISAM<br>wp_posts: Data: 207.85MB + Index: 7.30MB + Engine MyISAM<br>wp_subscribe_reloaded_subscribers: Data: 0.14MB + Index: 0.08MB + Engine InnoDB<br>wp_term_relationships: Data: 0.08MB + Index: 0.17MB + Engine MyISAM<br>wp_term_taxonomy: Data: 0.01MB + Index: 0.01MB + Engine MyISAM<br>wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_terms: Data: 0.01MB + Index: 0.03MB + Engine MyISAM<br>wp_usermeta: Data: 53.94MB + Index: 33.26MB + Engine MyISAM<br>wp_users: Data: 3.46MB + Index: 3.84MB + Engine MyISAM<br>wp_wc_admin_note_actions: Data: 0.09MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_admin_notes: Data: 0.11MB + Index: 0.00MB + Engine InnoDB<br>wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wc_customer_lookup: Data: 2.52MB + Index: 1.91MB + Engine InnoDB<br>wp_wc_download_log: Data: 12.52MB + Index: 11.03MB + Engine InnoDB<br>wp_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_wc_order_coupon_lookup: Data: 0.06MB + Index: 0.09MB + Engine InnoDB<br>wp_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_order_product_lookup: Data: 11.52MB + Index: 13.06MB + Engine InnoDB<br>wp_wc_order_stats: Data: 3.52MB + Index: 3.52MB + Engine InnoDB<br>wp_wc_order_tax_lookup: Data: 1.52MB + Index: 0.86MB + Engine InnoDB<br>wp_wc_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB<br>wp_wc_orders_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_product_meta_lookup: Data: 0.06MB + Index: 0.09MB + Engine InnoDB<br>wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wooexim_export_archive: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wpfm_backup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wpmailsmtp_debug_events: Data: 0.08MB + Index: 0.00MB + Engine InnoDB<br>wp_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wpmm_subscribers: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_yoast_indexable: Data: 0.06MB + Index: 0.05MB + Engine InnoDB<br>wp_yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_yoast_seo_links: Data: 0.30MB + Index: 0.16MB + Engine InnoDB<br>wp_yoast_seo_meta: Data: 0.36MB + Index: 0.00MB + Engine InnoDB Post Type Counts</p> <p class=””>amn_exact-metrics: 1<br>attachment: 2250<br>custom_css: 3<br>feedback: 728<br>jb_store_css: 15<br>jetpack_migration: 6<br>jp_img_sitemap: 6<br>jp_sitemap: 6<br>jp_sitemap_master: 6<br>jp_vid_sitemap: 6<br>mc4wp-form: 1<br>nav_menu_item: 19<br>oembed_cache: 2<br>page: 890<br>post: 418<br>product: 142<br>revision: 21162<br>safecss: 1<br>schema_hfw: 129<br>schema_levels: 79<br>schema_pgc: 156<br>schema_structure: 19<br>shop_coupon: 13<br>shop_order: 52034<br>shop_order_refund: 120<br>tablepress_table: 9<br>word_pgc: 11094<br>word_structure: 3072<br>wp_block: 3<br>wp_global_styles: 2 Security</p> <p class=””>Secure connection (HTTPS): ✔<br>Hide errors from visitors: ✔ Active Plugins (29)</p> <p class=””>Akismet Anti-spam: Spam Protection: by Automattic – Anti-spam Team – 5.3.1<br>Broken Link Checker: by WPMU DEV – 2.2.4<br>CDN Enabler: by KeyCDN – 2.0.8<br>Spelfabet Customizations: by CBDWeb – 1.0<br>Disable WP REST API: by Jeff Starr – 2.6.2<br>Enforce Two Factor: by CBDWeb – .2<br>GA Google Analytics: by Jeff Starr – 20231101<br>Indicate External Links: by cubecolour – 1.1.0<br>Jetpack: by Automattic – 13.2.1<br>Max Mega Menu: by megamenu.com – 3.3.1<br>Newsletter – Amazon SES: by The Newsletter Team – 1.4.7<br>Newsletter – Archive: by The Newsletter Team – 4.1.2<br>Newsletter – Automated Newsletters: by The Newsletter Team – 4.6.5<br>Newsletter – Subscribe on Comments: by The Newsletter Team – 1.1.4<br>Newsletter – Facebook: by The Newsletter Team – 4.1.0<br>Newsletter – Reports and Retargeting: by The Newsletter Team – 4.5.6<br>Newsletter – WooCommerce: by The Newsletter Team – 1.9.2<br>Password Strength for WooCommerce: by WP Zone – 1.0.3<br>RSS Icon Widget: by Pixel Jar – 5.2<br>Simple Share Buttons Adder: by Simple Share Buttons – 8.4.12<br>Spelfabet FPDI: by Mainul Hassan Main – 1.0.2<br>Spelfabet Decody: by Nik Dow<br>CBDWeb – 0.9</p> <p class=””>TablePress: by Tobias Bäthge – 2.2.5<br>Two Factor: by Plugin Contributors – 0.8.2<br>Advanced Order Export For WooCommerce: by AlgolPlus – 3.4.5<br>WooCommerce Eway Payment Gateway: by Eway – 3.7.2<br>WooCommerce Shipment Tracking: by WooCommerce – 2.4.5<br>WooCommerce: by Automattic – 8.6.1<br>WP Mail SMTP: by WP Mail SMTP – 4.0.1 Inactive Plugins (7)</p> <p class=””>CAPTCHA 4WP (Premium): by Melapress – 7.4.1<br>Coming soon and Maintenance mode WpDevArt: by wpdevart – 3.7.3<br>Demo: by – 1.0.0<br>Newsletter: by Stefano Lissa & The Newsletter Team – 8.2.3<br>Subscribe to Comments Reloaded: by WPKube – 240119<br>View Admin As: by Jory Hogeveen – 1.8.8<br>WooCommerce PayPal Payments: by WooCommerce – 2.5.4 Settings</p> <p class=””>API Enabled: –<br>Force SSL: –<br>Currency: AUD ($AUD)<br>Currency Position: left<br>Thousand Separator: ,<br>Decimal Separator: .<br>Number of Decimals: 2<br>Taxonomies: Product Types: external (external)<br>grouped (grouped)<br>simple (simple)<br>variable (variable)</p> <p class=””>Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)<br>exclude-from-search (exclude-from-search)<br>featured (featured)<br>outofstock (outofstock)<br>rated-1 (rated-1)<br>rated-2 (rated-2)<br>rated-3 (rated-3)<br>rated-4 (rated-4)<br>rated-5 (rated-5)</p> <p class=””>Connected to Woo.com: ✔<br>Enforce Approved Product Download Directories: –<br>HPOS feature screen enabled: –<br>HPOS feature enabled: –<br>Order datastore: WC_Order_Data_Store_CPT<br>HPOS data sync enabled: – WC Pages</p> <p class=””>Shop base: #13754 – /materials/<br>Cart: #13755 – /cart/<br>Checkout: #13756 – /checkout/<br>My account: #13757 – /my-account/<br>Terms and conditions: ❌ Page not set Theme</p> <p class=””>Name: Spelfabet 2024<br>Version: 1.0.3<br>Author URL: http://www.cbdweb.net/<br>Child Theme: ❌ – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme<br>WooCommerce Support: ❌ Not declared Templates</p> <p class=””>Overrides: spelfabet-2024/single-product.php version – is out of date. The core version is 1.6.4<br>Outdated Templates: ❌</p> <pre class=”wp-block-code”><code> Learn how to update</code></pre> <p class=””>Admin</p> <p class=””>Enabled Features: activity-panels<br>analytics<br>product-block-editor<br>coupons<br>core-profiler<br>customer-effort-score-tracks<br>import-products-task<br>experimental-fashion-sample-products<br>shipping-smart-defaults<br>shipping-setting-tour<br>homescreen<br>marketing<br>mobile-app-banner<br>navigation<br>onboarding<br>onboarding-tasks<br>product-variation-management<br>product-virtual-downloadable<br>product-external-affiliate<br>product-grouped<br>product-linked<br>remote-inbox-notifications<br>remote-free-extensions<br>payment-gateway-suggestions<br>shipping-label-banner<br>subscriptions<br>store-alerts<br>transient-notices<br>woo-mobile-welcome<br>wc-pay-promotion<br>wc-pay-welcome-page</p> <p class=””>Disabled Features: customize-store<br>minified-js<br>new-product-management-experience<br>product-pre-publish-modal<br>settings<br>async-product-editor-category-field</p> <p class=””>Daily Cron: ✔ Next scheduled: 2024-03-18 10:01:40 +11:00<br>Options: ✔<br>Notes: 202<br>Onboarding: completed Action Scheduler</p> <p class=””>Complete: 374<br>Oldest: 2024-02-16 22:38:31 +1100<br>Newest: 2024-03-18 16:49:47 +1100</p> <p class=””>Failed: 14<br>Oldest: 2023-02-15 18:17:31 +1100<br>Newest: 2024-03-14 15:12:23 +1100</p> <p class=””>Pending: 4<br>Oldest: 2024-03-19 12:34:30 +1100<br>Newest: 2024-03-21 11:47:04 +1100 Status report information</p> <p class=””>Generated at: 2024-03-18 21:01:22 +11:00<br>`

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter nikdow

    (@nikdow)

    Additional information:
    Theme is a very simple theme written by us, in use on this site for the last year or so.
    Our hosting is non-standard in that apache has no write permission to any directories containing PHP files. Our software updates are done by a python cron job which updates from wordpress SVN repositories.

    Hey there, @nikdow! Thanks for contacting us. I’m happy to help you.

    Thanks for all the information!

    You mentioned you already ran a conflict test, but just to confirm, when you did it, did you try having only Woo + PayPal and then Woo + Eway or did you have Woo + PayPal + Eway?

    I see your Eway plugin is updated, but PayPal isn’t, can you please update PayPal and check if the issue persists with it?

    I see Eway was updated 2 months ago, so it is unlikely this was caused by an update on it. But have you tried rolling back to a previous version and checking if the issue persists?

    You can find older versions to download here.

    If you prefer, you can also use a plugin such as WP Rollback to help you with this process. You can find the plugin here.

    Looking forward to your reply.

    Have a wonderful day!

    Thread Starter nikdow

    (@nikdow)

    Thanks for suggestions. I ran the conflict test by disabling all plugins (even Jetpack) except for:
    WooCommerce
    woocommerce-gateway-eway

    plugins update every 12 hours via a cron job that runs via a user that is not apache.

    Paypal was turned on for testing and is disabled again now as it showed the same symptoms, nothing happens. Normally Paypal loads up an iframe. No JS errors.

    I tried loading up the previous version of eWay plugin but no change is visible. Screen shot of missing payment fields is at
    https://www.cbdweb.net/wp-content/www.cbdweb.net/uploads/2024/03/wceway.png

    I’ve now restored to the current version of eWay plugin.

    This is hard to debug because there is nothing in any log that gives a clue. eWay have responded but haven’t got any clues.

    Thread Starter nikdow

    (@nikdow)

    This is the only site we have that runs the woocommerce-gateway-eway plugin. Other WP sites on the same server run the woocommerce-paypal-payments plugin which is working OK on other sites but not on spelfabet.com.au.

    We run a modified version of WP Network sites, which means all the websites are using the same PHP code directories for core and plugins.

    So it’s something specific to this site. It’s not Paypal/eWay specific. The site runs a very simple theme that we wrote. The theme hasn’t been updated in the last year or so.

    I’ve reinstalled WC from scratch with:
    svn co https://plugins.svn.wordpress.org/woocommerce/tags/8.7.0/ woocommerce just in case an update was incomplete, no change.

    Thread Starter nikdow

    (@nikdow)

    Found the problem. Some years ago, while we were still using Paypal, it was necessary to suppress the WC order button. The Paypal plugin had code to do this but was not always successful. So we put this in the theme:

    add_filter( ‘woocommerce_order_button_html’, ‘replace_order_button_html’, 10, 2 );
    function replace_order_button_html( $order_button ) {
    return ;
    }

    Since then we switched to the eway payment gateway, so this filter would have been redundant since then.

    A WC update must have changed the behaviour of this filter, causing our problem. Removing the filter fixed the problem.

    Hi there @nikdow,

    I understand that WooCommerce updates can sometimes change how certain filters or functions behave, which might have triggered the issue you experienced.

    In that case, We’d love to take a closer look at the issue, could you please contact us at Woo.com > My Account > Support. You may need to create an account before you can access that page.

    Please include a link to this forum thread, so that we can keep track of what’s already been done.

    We will be able to help you further there.

    Thread Starter nikdow

    (@nikdow)

    The problem was fixed by removing the code shown above. Seems both Paypal and eWay payment plugins now go through that filter, which wasn’t the case previously.

    The root cause of the issue was the flakey PayPal plugin. When it failed to suppress the WC payment button, people would click on it and get stuck.

    Hi @nikdow,

    Glad to hear it – thanks for letting us know!

    If you have any further questions, I recommend creating a new thread.

    Have a good one!

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

The topic ‘payment plugins broken’ is closed to new replies.