• Resolved jason999111

    (@jason999111)


    WordPress Version: 6.4.2

    MCC Version: Version 2.129

    Easy Digital Downloads Pro: Version 3.2.5?

    The provided debug.log indicates an unexpected issue. Although the website is utilizing Easy Digital Downloads and does not have the WooCommerce plugin installed, the MyCryptoCheckout (MCC) plugin is generating the following error:

    [08-Dec-2023 09:27:12 UTC] PHP Fatal error: Uncaught Error: Call to undefined function mycryptocheckout\ecommerce\woocommerce\wc_get_order() in /home/u803005700/domains/domain.com/public_html/wp-content/plugins/mycryptocheckout/src/ecommerce/woocommerce/WooCommerce.php:232
    
    Stack trace:
    
    #0 /home/u803005700/domains/domain.com/public_html/wp-content/plugins/mycryptocheckout/src/ecommerce/woocommerce/WooCommerce.php(211): mycryptocheckout\ecommerce\woocommerce\WooCommerce::payment_from_order()
    
    #1 /home/u803005700/domains/domain.com/public_html/wp-includes/class-wp-hook.php(324): mycryptocheckout\ecommerce\woocommerce\WooCommerce->mycryptocheckout_generate_payment_from_order()
    
    #2 /home/u803005700/domains/domain.com/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters()
    
    #3 /home/u803005700/domains/domain.com/public_html/wp-content/plugins/mycryptocheckout/vendor/mycryptocheckout/api/src/v2/wordpress/Payments.php(156): apply_filters()
    
    #4 /home/u803005700/domains/domain.com/public_html/wp-content/plugins/mycryptocheckout/src/api_trait.php(69): mycryptocheckout\api\v2\wordpress\Payments->send()
    
    #5 /home/u803005700/domains/domain.com/public_html/wp-includes/class-wp-hook.php(324): mycryptocheckout\MyCryptoCheckout->mycryptocheckout_send_payment()
    
    #6 /home/u803005700/domains/domain.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    
    #7 /home/u803005700/domains/domain.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    
    #8 /home/u803005700/domains/domain.com/public_html/wp-content/plugins/mycryptocheckout/src/ecommerce/easy_digital_downloads/Easy_Digital_Downloads.php(220): do_action()
    
    #9 /home/u803005700/domains/domain.com/public_html/wp-includes/class-wp-hook.php(324): mycryptocheckout\ecommerce\easy_digital_downloads\Easy_Digital_Downloads->edd_gateway_mycryptocheckout()
    
    #10 /home/u803005700/domains/domain.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    
    #11 /home/u803005700/domains/domain.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    
    #12 /home/u803005700/domains/domain.com/public_html/wp-content/plugins/easy-digital-downloads-pro/includes/gateways/functions.php(404): do_action()
    
    #13 /home/u803005700/domains/domain.com/public_html/wp-content/plugins/easy-digital-downloads-pro/includes/process-purchase.php(193): edd_send_to_gateway()
    
    #14 /home/u803005700/domains/domain.com/public_html/wp-includes/class-wp-hook.php(324): edd_process_purchase_form()
    
    #15 /home/u803005700/domains/domain.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    
    #16 /home/u803005700/domains/domain.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    
    #17 /home/u803005700/domains/domain.com/public_html/wp-content/plugins/easy-digital-downloads-pro/includes/actions.php(56): do_action()
    
    #18 /home/u803005700/domains/domain.com/public_html/wp-includes/class-wp-hook.php(324): edd_post_actions()
    
    #19 /home/u803005700/domains/domain.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    
    #20 /home/u803005700/domains/domain.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    
    #21 /home/u803005700/domains/domain.com/public_html/wp-settings.php(643): do_action()
    
    #22 /home/u803005700/domains/domain.com/public_html/wp-config.php(90): require_once('/home/u80300579...')
    
    #23 /home/u803005700/domains/domain.com/public_html/wp-load.php(50): require_once('/home/u80300579...')
    
    #24 /home/u803005700/domains/domain.com/public_html/wp-blog-header.php(13): require_once('/home/u80300579...')
    
    #25 /home/u803005700/domains/domain.com/public_html/index.php(17): require('/home/u80300579...')
    
    #26 {main}
    
    thrown in /home/u803005700/domains/domain.com/public_html/wp-content/plugins/mycryptocheckout/src/ecommerce/woocommerce/WooCommerce.php on line 232
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author edward_plainview

    (@edward_plainview)

    Thread Starter jason999111

    (@jason999111)

    Thanks for your prompt response.

    This is the error in the debug.log now.

    [09-Dec-2023 08:31:48 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function mycryptocheckout\ecommerce\woocommerce\wc_get_order() in /home/u803000000/domains/domain.com/public_html/wp-content/plugins/mycryptocheckout/src/ecommerce/woocommerce/WooCommerce.php:222
    Stack trace:
    #0 /home/u803000000/domains/domain.com/public_html/wp-includes/class-wp-hook.php(324): mycryptocheckout\ecommerce\woocommerce\WooCommerce->mycryptocheckout_set_order_payment_id()
    #1 /home/u803000000/domains/domain.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #2 /home/u803000000/domains/domain.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    #3 /home/u803000000/domains/domain.com/public_html/wp-content/plugins/mycryptocheckout/vendor/mycryptocheckout/api/src/v2/wordpress/Payments.php(158): do_action()
    #4 /home/u803000000/domains/domain.com/public_html/wp-content/plugins/mycryptocheckout/src/api_trait.php(69): mycryptocheckout\api\v2\wordpress\Payments->send()
    #5 /home/u803000000/domains/domain.com/public_html/wp-includes/class-wp-hook.php(324): mycryptocheckout\MyCryptoCheckout->mycryptocheckout_send_payment()
    #6 /home/u803000000/domains/domain.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #7 /home/u803000000/domains/domain.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    #8 /home/u803000000/domains/domain.com/public_html/wp-content/plugins/mycryptocheckout/src/ecommerce/easy_digital_downloads/Easy_Digital_Downloads.php(220): do_action()
    #9 /home/u803000000/domains/domain.com/public_html/wp-includes/class-wp-hook.php(324): mycryptocheckout\ecommerce\easy_digital_downloads\Easy_Digital_Downloads->edd_gateway_mycryptocheckout()
    #10 /home/u803000000/domains/domain.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #11 /home/u803000000/domains/domain.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    #12 /home/u803000000/domains/domain.com/public_html/wp-content/plugins/easy-digital-downloads-pro/includes/gateways/functions.php(404): do_action()
    #13 /home/u803000000/domains/domain.com/public_html/wp-content/plugins/easy-digital-downloads-pro/includes/process-purchase.php(193): edd_send_to_gateway()
    #14 /home/u803000000/domains/domain.com/public_html/wp-includes/class-wp-hook.php(324): edd_process_purchase_form()
    #15 /home/u803000000/domains/domain.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #16 /home/u803000000/domains/domain.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    #17 /home/u803000000/domains/domain.com/public_html/wp-content/plugins/easy-digital-downloads-pro/includes/actions.php(56): do_action()
    #18 /home/u803000000/domains/domain.com/public_html/wp-includes/class-wp-hook.php(324): edd_post_actions()
    #19 /home/u803000000/domains/domain.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #20 /home/u803000000/domains/domain.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    #21 /home/u803000000/domains/domain.com/public_html/wp-settings.php(643): do_action()
    #22 /home/u803000000/domains/domain.com/public_html/wp-config.php(90): require_once('/home/u803000000...')
    #23 /home/u803000000/domains/domain.com/public_html/wp-load.php(50): require_once('/home/u803000000...')
    #24 /home/u803000000/domains/domain.com/public_html/wp-blog-header.php(13): require_once('/home/u803000000...')
    #25 /home/u803000000/domains/domain.com/public_html/index.php(17): require('/home/u803000000...')
    #26 {main}
      thrown in /home/u803000000/domains/domain.com/public_html/wp-content/plugins/mycryptocheckout/src/ecommerce/woocommerce/WooCommerce.php on line 222
    
    • This reply was modified 11 months, 3 weeks ago by jason999111.
    Plugin Author edward_plainview

    (@edward_plainview)

    Thread Starter jason999111

    (@jason999111)

    Thanks! The previous error was fixed, the front-end looks normal, the visitors can place order and able to see the Awaiting For Payment page now.

    Plugin Author edward_plainview

    (@edward_plainview)

    The fix is now included in v2.131 of the plugin.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘MCC does not work with Easy Digital Downloads’ is closed to new replies.