• Resolved corinesmith

    (@corinesmith)


    Upon checking out, we’re getting this error on the Checkout screen after submitting for payment:

    There was an error processing your order. Please check for any charges in your payment method and review your order history before placing the order again.

    I have Googled for solutions to this error and there seems to be no concrete solution. I have been troubleshooting for hours now and the only conclusion that I can come up with is there’s something going on with WooCommerce (maybe WooCommerce Square).

    Payments are going through successfully AND all of the emails are being received. I think we can rule out SMTP issues. I have also tried all and a combination of the following:

    • Deactivating all unnecessary plugins
    • Updating all plugins
    • Downgrading plugins
    • Switching themes
    • Updating the theme
    • Downgrading the theme
    • Updating WordPress core
    • Downgrading WordPress core
    • Downgrading to PHP 7.4

    The website is using:

    • Hello Elementor theme
    • Elementor Pro
    • Events Calendar Pro
    • Events Tickets Plus
    • WooCommerce & WooCommerce Square

    We are using the Events Calendar/Tickets Plus to sell tickets to events and WooCommerce Square is used to checkout/process the payment. You can recreate the error by going to an event with paid tickets, get tickets, and then check out. This is a staging site with the Square sandbox set up, so you can use Square’s sandbox payment methods to checkout. FYI, this error occurs on both sandbox and production.

    I also have a debug log going, and these are some of the errors that I’m seeing that have lead me to believe this is a WooCommerce/WooCommerce Square issue:

    [23-Sep-2024 18:03:54 UTC] PHP Deprecated: Creation of dynamic property Automattic\WooCommerce\Admin\Overrides\Order::$payment_total is deprecated in /nas/content/live/talentfirs1stg/wp-content/plugins/woocommerce-square/includes/Framework/PaymentGateway/Payment_Gateway.php on line 1629

    [23-Sep-2024 18:03:54 UTC] PHP Deprecated: Creation of dynamic property Automattic\WooCommerce\Admin\Overrides\Order::$payment is deprecated in /nas/content/live/talentfirs1stg/wp-content/plugins/woocommerce-square/includes/Framework/PaymentGateway/Payment_Gateway.php on line 1640

    [23-Sep-2024 18:03:54 UTC] PHP Deprecated: Creation of dynamic property Automattic\WooCommerce\Admin\Overrides\Order::$description is deprecated in /nas/content/live/talentfirs1stg/wp-content/plugins/woocommerce-square/includes/Framework/PaymentGateway/Payment_Gateway.php on line 1646

    [23-Sep-2024 18:03:54 UTC] PHP Deprecated: Creation of dynamic property Automattic\WooCommerce\Admin\Overrides\Order::$unique_transaction_ref is deprecated in /nas/content/live/talentfirs1stg/wp-content/plugins/woocommerce-square/includes/Gateway.php on line 1137

    [23-Sep-2024 18:03:54 UTC] PHP Deprecated: Creation of dynamic property Automattic\WooCommerce\Admin\Overrides\Order::$square_customer_id is deprecated in /nas/content/live/talentfirs1stg/wp-content/plugins/woocommerce-square/includes/Gateway.php on line 345

    [23-Sep-2024 18:03:54 UTC] PHP Deprecated: Creation of dynamic property Automattic\WooCommerce\Admin\Overrides\Order::$square_order_id is deprecated in /nas/content/live/talentfirs1stg/wp-content/plugins/woocommerce-square/includes/Gateway.php on line 346

    [23-Sep-2024 18:03:54 UTC] PHP Deprecated: Creation of dynamic property Automattic\WooCommerce\Admin\Overrides\Order::$square_version is deprecated in /nas/content/live/talentfirs1stg/wp-content/plugins/woocommerce-square/includes/Gateway.php on line 347

    Here is the latest report from WooCommerce status. Again, I’ve tried a plethora of settings, this is just where I left off and I can change things to whatever if you think it’ll make a difference.

    System Status Report

    ### WordPress Environment ###

    WordPress address (URL): [Redacted]
    Site address (URL): [Redacted]
    WC Version: 9.3.2
    Legacy REST API Package Version: The Legacy REST API plugin is not installed on this site.
    Action Scheduler Version: ? 3.8.1
    Log Directory Writable: ?
    WP Version: ? 6.6.1 - There is a newer version of WordPress available (6.6.2)
    WP Multisite: ?
    WP Memory Limit: 512 MB
    WP Debug Mode: ?
    WP Cron: ?
    Language: en_US
    External object cache: ?

    ### Server Environment ###

    Server Info: Apache
    PHP Version: 7.4.33.6
    PHP Post Max Size: 256 MB
    PHP Time Limit: 3600
    PHP Max Input Vars: 10000
    cURL Version: 7.81.0
    OpenSSL/3.0.2

    SUHOSIN Installed: –
    MySQL Version: 8.0.37-29
    Max Upload Size: 256 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?

    ### Database ###

    [REDACTED]

    ### Post Type Counts ###

    acf-field: 37
    acf-field-group: 16
    attachment: 1092
    ceo-council-material: 5
    custom_css: 1
    e-landing-page: 1
    elementor_library: 121
    elementor_snippet: 4
    mailpoet_page: 1
    nav_menu_item: 77
    page: 65
    playbook: 38
    post: 339
    product: 9
    publication: 19
    revision: 30
    search-filter-widget: 15
    shop_coupon: 17
    shop_order: 93
    staff-bio: 39
    testimonial: 10
    ticket-meta-fieldset: 4
    toolkit: 56
    tribe_events: 17
    tribe_organizer: 3
    tribe_rsvp_attendees: 269
    tribe_rsvp_tickets: 17
    tribe_venue: 12
    tribe_wooticket: 153
    wp_navigation: 1
    wp_template: 4

    ### Security ###

    Secure connection (HTTPS): ?
    Hide errors from visitors: ?

    ### Active Plugins (30) ###

    Gravity Forms: by Gravity Forms – 2.8.17
    Elementor Addon Elements: by WPVibes – 1.13.8
    Advanced Custom Fields: by WP Engine – 6.3.6
    Classic Editor: by WordPress Contributors – 1.6.4
    Classic Widgets: by WordPress Contributors – 0.3
    Code Snippets: by Code Snippets Pro – 3.6.5.1
    Custom Post Type UI: by WebDevStudios – 1.17.1
    Dynamic Visibility for Elementor: by Dynamic.ooo – 5.0.13
    Elementor: by Elementor.com – 3.24.4
    Essential Addons for Elementor: by WPDeveloper – 6.0.5
    Event Tickets Plus: by The Events Calendar – 6.0.3
    Event Tickets: by The Events Calendar – 5.13.3.1
    Font Awesome: by Font Awesome – 4.5.0
    MailPoet: by MailPoet – 5.2.1
    Search Exclude: by QuadLayers – 2.1.5
    Search & Filter - Elementor Extension: by Code Amp – 1.3.0
    Search & Filter Pro: by Code Amp – 2.5.17
    WooCommerce Square: by WooCommerce – 4.8.0
    WooCommerce: by Automattic – 9.3.2
    Classic Widgets: by WordPress Contributors – 0.3
    The Events Calendar: by The Events Calendar – 6.6.4.2
    Classic Editor: by WordPress Contributors – 1.6.4
    Elementor: by Elementor.com – 3.24.4
    Elementor Pro: by Elementor.com – 3.19.3
    Event Tickets: by The Events Calendar – 5.13.3.1
    The Events Calendar Pro: by The Events Calendar – 7.0.0
    WP Debugging: by Andy Fragen – 2.11.24
    Debug Bar: by wordpressdotorg – 1.1.6
    WP Rollback: by WP Rollback – 2.0.7
    WP Downgrade | Specific Core Version: by Reisetiger – 1.2.6

    ### Inactive Plugins (7) ###

    Google Analytics for WordPress by MonsterInsights: by MonsterInsights – 9.1.0
    PDF Invoices & Packing Slips for WooCommerce: by WP Overnight – 3.8.6
    podcast player: by vedathemes – 7.4.2
    Redirection: by John Godley – 5.5.0
    Smart Slider 3 Pro: by Nextend – 3.5.1.23
    WooPayments: by WooCommerce – 8.2.1
    Yoast SEO: by Team Yoast – 23.4

    ### Dropin Plugins () ###

    advanced-cache.php: advanced-cache.php
    object-cache.php: Memcached

    ### Must Use Plugins (5) ###

    Force Strong Passwords - WPE Edition: by Jason Cosper – 1.8.0
    WP Engine Cache Plugin: by WP Engine – 1.3.1
    WP Engine Seamless Login Plugin: by WP Engine – 1.6.1
    WP Engine Security Auditor: by wpengine – 1.1.1
    WP Engine System: by WP Engine – 5.0.1

    ### Settings ###

    Legacy 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)

    Connected to WooCommerce.com: –
    Enforce Approved Product Download Directories: ?
    HPOS feature enabled: –
    Order datastore: WC_Order_Data_Store_CPT
    HPOS data sync enabled: –

    ### Logging ###

    Enabled: ?
    Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2
    Retention period: 30 days
    Level threshold: –
    Log directory size: 43 KB

    ### WC Pages ###

    Shop base: ? Page not set
    Cart: #1809 - /cart/ - Contains the woocommerce/cart block
    Checkout: #1810 - /checkout/ - Contains the woocommerce/checkout block
    My account: ? Page not set
    Terms and conditions: ? Page not set

    ### Theme ###

    Name: Hello Elementor Child
    Version: 2.0.0
    Author URL: https://elementor.com/
    Child Theme: ?
    Parent Theme Name: Hello Elementor
    Parent Theme Version: 3.1.1
    Parent Theme Author URL: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
    WooCommerce Support: ?

    ### Templates ###

    Overrides: –

    ### MailPoet ###

    Sending Method: PHPMail
    Send all site's emails with: Default WordPress sending method
    Task Scheduler method: Action Scheduler
    Cron ping URL: https://talentfirs1stg.wpenginepowered.com?mailpoet_router&endpoint=cron_daemon&action=ping

    ### Square ###

    Environment: Production
    Tokenization Enabled: –
    Debug Mode: Off

    ### Admin ###

    Enabled Features: activity-panels
    analytics
    product-block-editor
    coupons
    core-profiler
    customize-store
    customer-effort-score-tracks
    import-products-task
    experimental-fashion-sample-products
    shipping-smart-defaults
    shipping-setting-tour
    homescreen
    marketing
    mobile-app-banner
    navigation
    onboarding
    onboarding-tasks
    pattern-toolkit-full-composability
    product-custom-fields
    remote-inbox-notifications
    remote-free-extensions
    payment-gateway-suggestions
    printful
    shipping-label-banner
    subscriptions
    store-alerts
    transient-notices
    woo-mobile-welcome
    wc-pay-promotion
    wc-pay-welcome-page
    launch-your-store

    Disabled Features: experimental-blocks
    minified-js
    product-pre-publish-modal
    settings
    async-product-editor-category-field
    product-editor-template-system
    blueprint
    reactify-classic-payments-settings

    Daily Cron: ? Next scheduled: 2024-09-23 20:39:25 -04:00
    Options: ?
    Notes: 92
    Onboarding: completed

    ### Action Scheduler ###

    Complete: 11,643
    Oldest: 2024-08-23 20:01:01 -0400
    Newest: 2024-09-23 14:48:59 -0400

    Pending: 2
    Oldest: 2024-09-23 14:50:59 -0400
    Newest: 2024-09-24 09:35:42 -0400


    ### Status report information ###

    Generated at: 2024-09-23 14:49:11 -04:00

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

Viewing 1 replies (of 1 total)
  • Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @corinesmith

    I appreciate your detailed explanation of the issue you’re encountering, as well as the steps you’ve taken to troubleshoot.

    Payments are going through successfully AND all of the emails are being received. I think we can rule out SMTP issues.

    To ensure we are on the same page, can you tell me if the customer got the mail notification or if the admin only received it? To see if the SMTP issue is still there, could you kindly install and configure the WP Mail SMTP and see if there’s any change?

    If this makes no difference, you can run a conflict test to help you identify the cause of the issue.

    • Temporarily switch your theme to Storefront or Twenty Twenty-Four
    • Disable all plugins except for WooCommerce And Square or the payment method plugin.
    • Repeat the action that is causing the problem

    If you do not see the same problem after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated. To determine which plugin is causing the problem, reactivate your other plugins one by one, testing after each, until you find the one causing conflict. You can find a more detailed explanation on how to do a conflict test here.

    Also, the log you’ve shared indicates a deprecated message, which doesn’t seem related to the issue you’re experiencing.

    I hope this helps! Please let us know how it goes or if you need further assistance.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.