Skip to content
This repository has been archived by the owner on Feb 23, 2022. It is now read-only.

[BUG] WooCommerce Admin Plugin blocks IPN calls to BTCPay for Woo #28

Closed
pavlenex opened this issue Jun 13, 2019 · 24 comments
Closed

[BUG] WooCommerce Admin Plugin blocks IPN calls to BTCPay for Woo #28

pavlenex opened this issue Jun 13, 2019 · 24 comments

Comments

@pavlenex
Copy link
Contributor

pavlenex commented Jun 13, 2019

Recently, WooCommerce started asking people to optionally install WooCommerce Admin plugin. When this plugin is active it blocks IPN calls to BTCPay for Woo, so order statuses are not updated and as a result, BTCPay invoice on the server side gives Unexpected return code: 500.

Screen Shot 2019-06-13 at 07 32 40

While this is not related to #23 entirely, people on that issue were able to reproduce this bug and so did I.

2019-06-13T05:34:23+00:00 CRITICAL Uncaught Exception: The BTCPay payment plugin was called to process an IPN message but could not retrieve the order details for order_id 435. Cannot continue! in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php:983
Stack trace:
#0 /var/www/html/wp-includes/class-wp-hook.php(286): WC_Gateway_BtcPay->ipn_callback('')
#1 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
#2 /var/www/html/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#3 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-api.php(113): do_action('woocommerce_api...')
#4 /var/www/html/wp-includes/class-wp-hook.php(286): WC_API->handle_api_requests(Object(WP))
#5 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#6 /var/www/html/wp-includes/plugin.php(531): WP_Hook->do_action(Array)
#7 /var/www/html/wp-includes/class-wp.php(387): do_action_ref_array('parse_request', Array)
#8 /var/www/html/wp-includes/class-wp.php(737): WP->par in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php on line 983

Invoice Events


6/13/2019 7:33:56 AM | Creation of invoice starting
-- | --
6/13/2019 7:33:56 AM | BTC_USD: The rating rule is coinaverage(BTC_USD)
6/13/2019 7:33:56 AM | BTC_USD: The evaluated rating rule is 8123.54955852739
6/13/2019 7:33:56 AM | BTC (On-Chain): Payment method details creation took 89 milliseconds
6/13/2019 7:33:56 AM | Saving invoice took 26 milliseconds
6/13/2019 7:33:56 AM | Invoice Xy3ffGSfuCQdgyM9BzSPU4 new event: invoice_created (1001)
6/13/2019 7:33:58 AM | Error while sending IPN (1001 invoice_created): Unexpected return code: 500
6/13/2019 7:34:21 AM | Invoice Xy3ffGSfuCQdgyM9BzSPU4 new event: invoice_receivedPayment (1002)
6/13/2019 7:34:21 AM | Invoice status is paid
6/13/2019 7:34:21 AM | Invoice Xy3ffGSfuCQdgyM9BzSPU4 new event: invoice_paidInFull (1003)
6/13/2019 7:34:22 AM | Error while sending IPN (1002 invoice_receivedPayment): Unexpected return code: 500
6/13/2019 7:34:23 AM | Error while sending IPN (1003 invoice_paidInFull): Unexpected return code: 500
6/13/2019 7:34:24 AM | Error while sending IPN (1003 invoice_paidInFull): Unexpected return code: 500
6/13/2019 7:43:59 AM | Error while sending IPN (1001 invoice_created): Unexpected return code: 500
6/13/2019 7:44:24 AM | Error while sending IPN (1002 invoice_receivedPayment): Unexpected return code: 500
6/13/2019 7:44:24 AM | Error while sending IPN (1003 invoice_paidInFull): Unexpected return code: 500
6/13/2019 7:44:25 AM | Error while sending IPN (1003 invoice_paidInFull): Unexpected return code: 500

So the conflict blocks the IPN calls from BTCPay to WooCommerce and the order status in Woo does not change when the WooCommerce Admin plugin is active.

@NicolasDorier
Copy link
Member

@pavlenex do you have more logs?

@NicolasDorier
Copy link
Member

What is the order id saved in btcpay?

@pavlenex
Copy link
Contributor Author

pavlenex commented Jun 13, 2019

@NicolasDorier The logs that I have from BTCPay plugin. They're the same

2019-06-13T05:33:58+00:00 CRITICAL Uncaught Exception: The BTCPay payment plugin was called to process an IPN message but could not retrieve the order details for order_id 435. Cannot continue! in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php:983
Stack trace:
#0 /var/www/html/wp-includes/class-wp-hook.php(286): WC_Gateway_BtcPay->ipn_callback('')
#1 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
#2 /var/www/html/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#3 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-api.php(113): do_action('woocommerce_api...')
#4 /var/www/html/wp-includes/class-wp-hook.php(286): WC_API->handle_api_requests(Object(WP))
#5 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#6 /var/www/html/wp-includes/plugin.php(531): WP_Hook->do_action(Array)
#7 /var/www/html/wp-includes/class-wp.php(387): do_action_ref_array('parse_request', Array)
#8 /var/www/html/wp-includes/class-wp.php(737): WP->par in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php on line 983

2019-06-13T05:34:22+00:00 CRITICAL Uncaught Exception: The BTCPay payment plugin was called to process an IPN message but could not retrieve the order details for order_id 435. Cannot continue! in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php:983
Stack trace:
#0 /var/www/html/wp-includes/class-wp-hook.php(286): WC_Gateway_BtcPay->ipn_callback('')
#1 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
#2 /var/www/html/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#3 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-api.php(113): do_action('woocommerce_api...')
#4 /var/www/html/wp-includes/class-wp-hook.php(286): WC_API->handle_api_requests(Object(WP))
#5 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#6 /var/www/html/wp-includes/plugin.php(531): WP_Hook->do_action(Array)
#7 /var/www/html/wp-includes/class-wp.php(387): do_action_ref_array('parse_request', Array)
#8 /var/www/html/wp-includes/class-wp.php(737): WP->par in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php on line 983

2019-06-13T05:34:23+00:00 CRITICAL Uncaught Exception: The BTCPay payment plugin was called to process an IPN message but could not retrieve the order details for order_id 435. Cannot continue! in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php:983
Stack trace:
#0 /var/www/html/wp-includes/class-wp-hook.php(286): WC_Gateway_BtcPay->ipn_callback('')
#1 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
#2 /var/www/html/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#3 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-api.php(113): do_action('woocommerce_api...')
#4 /var/www/html/wp-includes/class-wp-hook.php(286): WC_API->handle_api_requests(Object(WP))
#5 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#6 /var/www/html/wp-includes/plugin.php(531): WP_Hook->do_action(Array)
#7 /var/www/html/wp-includes/class-wp.php(387): do_action_ref_array('parse_request', Array)
#8 /var/www/html/wp-includes/class-wp.php(737): WP->par in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php on line 983

2019-06-13T05:34:24+00:00 CRITICAL Uncaught Exception: The BTCPay payment plugin was called to process an IPN message but could not retrieve the order details for order_id 435. Cannot continue! in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php:983
Stack trace:
#0 /var/www/html/wp-includes/class-wp-hook.php(286): WC_Gateway_BtcPay->ipn_callback('')
#1 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
#2 /var/www/html/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#3 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-api.php(113): do_action('woocommerce_api...')
#4 /var/www/html/wp-includes/class-wp-hook.php(286): WC_API->handle_api_requests(Object(WP))
#5 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#6 /var/www/html/wp-includes/plugin.php(531): WP_Hook->do_action(Array)
#7 /var/www/html/wp-includes/class-wp.php(387): do_action_ref_array('parse_request', Array)
#8 /var/www/html/wp-includes/class-wp.php(737): WP->par in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php on line 983

2019-06-13T05:43:59+00:00 CRITICAL Uncaught Exception: The BTCPay payment plugin was called to process an IPN message but could not retrieve the order details for order_id 435. Cannot continue! in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php:983
Stack trace:
#0 /var/www/html/wp-includes/class-wp-hook.php(286): WC_Gateway_BtcPay->ipn_callback('')
#1 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
#2 /var/www/html/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#3 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-api.php(113): do_action('woocommerce_api...')
#4 /var/www/html/wp-includes/class-wp-hook.php(286): WC_API->handle_api_requests(Object(WP))
#5 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#6 /var/www/html/wp-includes/plugin.php(531): WP_Hook->do_action(Array)
#7 /var/www/html/wp-includes/class-wp.php(387): do_action_ref_array('parse_request', Array)
#8 /var/www/html/wp-includes/class-wp.php(737): WP->par in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php on line 983

2019-06-13T05:44:23+00:00 CRITICAL Uncaught Exception: The BTCPay payment plugin was called to process an IPN message but could not retrieve the order details for order_id 435. Cannot continue! in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php:983
Stack trace:
#0 /var/www/html/wp-includes/class-wp-hook.php(286): WC_Gateway_BtcPay->ipn_callback('')
#1 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
#2 /var/www/html/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#3 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-api.php(113): do_action('woocommerce_api...')
#4 /var/www/html/wp-includes/class-wp-hook.php(286): WC_API->handle_api_requests(Object(WP))
#5 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#6 /var/www/html/wp-includes/plugin.php(531): WP_Hook->do_action(Array)
#7 /var/www/html/wp-includes/class-wp.php(387): do_action_ref_array('parse_request', Array)
#8 /var/www/html/wp-includes/class-wp.php(737): WP->par in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php on line 983

2019-06-13T05:44:24+00:00 CRITICAL Uncaught Exception: The BTCPay payment plugin was called to process an IPN message but could not retrieve the order details for order_id 435. Cannot continue! in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php:983
Stack trace:
#0 /var/www/html/wp-includes/class-wp-hook.php(286): WC_Gateway_BtcPay->ipn_callback('')
#1 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
#2 /var/www/html/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#3 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-api.php(113): do_action('woocommerce_api...')
#4 /var/www/html/wp-includes/class-wp-hook.php(286): WC_API->handle_api_requests(Object(WP))
#5 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#6 /var/www/html/wp-includes/plugin.php(531): WP_Hook->do_action(Array)
#7 /var/www/html/wp-includes/class-wp.php(387): do_action_ref_array('parse_request', Array)
#8 /var/www/html/wp-includes/class-wp.php(737): WP->par in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php on line 983

2019-06-13T05:44:25+00:00 CRITICAL Uncaught Exception: The BTCPay payment plugin was called to process an IPN message but could not retrieve the order details for order_id 435. Cannot continue! in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php:983
Stack trace:
#0 /var/www/html/wp-includes/class-wp-hook.php(286): WC_Gateway_BtcPay->ipn_callback('')
#1 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
#2 /var/www/html/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#3 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-api.php(113): do_action('woocommerce_api...')
#4 /var/www/html/wp-includes/class-wp-hook.php(286): WC_API->handle_api_requests(Object(WP))
#5 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#6 /var/www/html/wp-includes/plugin.php(531): WP_Hook->do_action(Array)
#7 /var/www/html/wp-includes/class-wp.php(387): do_action_ref_array('parse_request', Array)
#8 /var/www/html/wp-includes/class-wp.php(737): WP->par in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php on line 983

2019-06-13T05:54:00+00:00 CRITICAL Uncaught Exception: The BTCPay payment plugin was called to process an IPN message but could not retrieve the order details for order_id 435. Cannot continue! in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php:983
Stack trace:
#0 /var/www/html/wp-includes/class-wp-hook.php(286): WC_Gateway_BtcPay->ipn_callback('')
#1 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
#2 /var/www/html/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#3 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-api.php(113): do_action('woocommerce_api...')
#4 /var/www/html/wp-includes/class-wp-hook.php(286): WC_API->handle_api_requests(Object(WP))
#5 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#6 /var/www/html/wp-includes/plugin.php(531): WP_Hook->do_action(Array)
#7 /var/www/html/wp-includes/class-wp.php(387): do_action_ref_array('parse_request', Array)
#8 /var/www/html/wp-includes/class-wp.php(737): WP->par in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php on line 983

2019-06-13T05:54:24+00:00 CRITICAL Uncaught Exception: The BTCPay payment plugin was called to process an IPN message but could not retrieve the order details for order_id 435. Cannot continue! in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php:983
Stack trace:
#0 /var/www/html/wp-includes/class-wp-hook.php(286): WC_Gateway_BtcPay->ipn_callback('')
#1 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
#2 /var/www/html/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#3 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-api.php(113): do_action('woocommerce_api...')
#4 /var/www/html/wp-includes/class-wp-hook.php(286): WC_API->handle_api_requests(Object(WP))
#5 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#6 /var/www/html/wp-includes/plugin.php(531): WP_Hook->do_action(Array)
#7 /var/www/html/wp-includes/class-wp.php(387): do_action_ref_array('parse_request', Array)
#8 /var/www/html/wp-includes/class-wp.php(737): WP->par in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php on line 983

2019-06-13T05:54:25+00:00 CRITICAL Uncaught Exception: The BTCPay payment plugin was called to process an IPN message but could not retrieve the order details for order_id 435. Cannot continue! in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php:983
Stack trace:
#0 /var/www/html/wp-includes/class-wp-hook.php(286): WC_Gateway_BtcPay->ipn_callback('')
#1 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
#2 /var/www/html/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#3 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-api.php(113): do_action('woocommerce_api...')
#4 /var/www/html/wp-includes/class-wp-hook.php(286): WC_API->handle_api_requests(Object(WP))
#5 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#6 /var/www/html/wp-includes/plugin.php(531): WP_Hook->do_action(Array)
#7 /var/www/html/wp-includes/class-wp.php(387): do_action_ref_array('parse_request', Array)
#8 /var/www/html/wp-includes/class-wp.php(737): WP->par in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php on line 983

2019-06-13T05:54:26+00:00 CRITICAL Uncaught Exception: The BTCPay payment plugin was called to process an IPN message but could not retrieve the order details for order_id 435. Cannot continue! in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php:983
Stack trace:
#0 /var/www/html/wp-includes/class-wp-hook.php(286): WC_Gateway_BtcPay->ipn_callback('')
#1 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
#2 /var/www/html/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#3 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-api.php(113): do_action('woocommerce_api...')
#4 /var/www/html/wp-includes/class-wp-hook.php(286): WC_API->handle_api_requests(Object(WP))
#5 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#6 /var/www/html/wp-includes/plugin.php(531): WP_Hook->do_action(Array)
#7 /var/www/html/wp-includes/class-wp.php(387): do_action_ref_array('parse_request', Array)
#8 /var/www/html/wp-includes/class-wp.php(737): WP->par in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php on line 983

2019-06-13T06:04:02+00:00 CRITICAL Uncaught Exception: The BTCPay payment plugin was called to process an IPN message but could not retrieve the order details for order_id 435. Cannot continue! in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php:983
Stack trace:
#0 /var/www/html/wp-includes/class-wp-hook.php(286): WC_Gateway_BtcPay->ipn_callback('')
#1 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
#2 /var/www/html/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#3 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-api.php(113): do_action('woocommerce_api...')
#4 /var/www/html/wp-includes/class-wp-hook.php(286): WC_API->handle_api_requests(Object(WP))
#5 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#6 /var/www/html/wp-includes/plugin.php(531): WP_Hook->do_action(Array)
#7 /var/www/html/wp-includes/class-wp.php(387): do_action_ref_array('parse_request', Array)
#8 /var/www/html/wp-includes/class-wp.php(737): WP->par in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php on line 983

2019-06-13T06:04:25+00:00 CRITICAL Uncaught Exception: The BTCPay payment plugin was called to process an IPN message but could not retrieve the order details for order_id 435. Cannot continue! in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php:983
Stack trace:
#0 /var/www/html/wp-includes/class-wp-hook.php(286): WC_Gateway_BtcPay->ipn_callback('')
#1 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
#2 /var/www/html/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#3 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-api.php(113): do_action('woocommerce_api...')
#4 /var/www/html/wp-includes/class-wp-hook.php(286): WC_API->handle_api_requests(Object(WP))
#5 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#6 /var/www/html/wp-includes/plugin.php(531): WP_Hook->do_action(Array)
#7 /var/www/html/wp-includes/class-wp.php(387): do_action_ref_array('parse_request', Array)
#8 /var/www/html/wp-includes/class-wp.php(737): WP->par in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php on line 983

2019-06-13T06:04:26+00:00 CRITICAL Uncaught Exception: The BTCPay payment plugin was called to process an IPN message but could not retrieve the order details for order_id 435. Cannot continue! in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php:983
Stack trace:
#0 /var/www/html/wp-includes/class-wp-hook.php(286): WC_Gateway_BtcPay->ipn_callback('')
#1 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
#2 /var/www/html/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#3 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-api.php(113): do_action('woocommerce_api...')
#4 /var/www/html/wp-includes/class-wp-hook.php(286): WC_API->handle_api_requests(Object(WP))
#5 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#6 /var/www/html/wp-includes/plugin.php(531): WP_Hook->do_action(Array)
#7 /var/www/html/wp-includes/class-wp.php(387): do_action_ref_array('parse_request', Array)
#8 /var/www/html/wp-includes/class-wp.php(737): WP->par in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php on line 983

2019-06-13T06:04:27+00:00 CRITICAL Uncaught Exception: The BTCPay payment plugin was called to process an IPN message but could not retrieve the order details for order_id 435. Cannot continue! in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php:983
Stack trace:
#0 /var/www/html/wp-includes/class-wp-hook.php(286): WC_Gateway_BtcPay->ipn_callback('')
#1 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
#2 /var/www/html/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#3 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-api.php(113): do_action('woocommerce_api...')
#4 /var/www/html/wp-includes/class-wp-hook.php(286): WC_API->handle_api_requests(Object(WP))
#5 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#6 /var/www/html/wp-includes/plugin.php(531): WP_Hook->do_action(Array)
#7 /var/www/html/wp-includes/class-wp.php(387): do_action_ref_array('parse_request', Array)
#8 /var/www/html/wp-includes/class-wp.php(737): WP->par in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php on line 983

2019-06-13T06:14:03+00:00 CRITICAL Uncaught Exception: The BTCPay payment plugin was called to process an IPN message but could not retrieve the order details for order_id 435. Cannot continue! in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php:983
Stack trace:
#0 /var/www/html/wp-includes/class-wp-hook.php(286): WC_Gateway_BtcPay->ipn_callback('')
#1 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
#2 /var/www/html/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#3 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-api.php(113): do_action('woocommerce_api...')
#4 /var/www/html/wp-includes/class-wp-hook.php(286): WC_API->handle_api_requests(Object(WP))
#5 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#6 /var/www/html/wp-includes/plugin.php(531): WP_Hook->do_action(Array)
#7 /var/www/html/wp-includes/class-wp.php(387): do_action_ref_array('parse_request', Array)
#8 /var/www/html/wp-includes/class-wp.php(737): WP->par in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php on line 983

2019-06-13T06:14:26+00:00 CRITICAL Uncaught Exception: The BTCPay payment plugin was called to process an IPN message but could not retrieve the order details for order_id 435. Cannot continue! in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php:983
Stack trace:
#0 /var/www/html/wp-includes/class-wp-hook.php(286): WC_Gateway_BtcPay->ipn_callback('')
#1 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
#2 /var/www/html/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#3 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-api.php(113): do_action('woocommerce_api...')
#4 /var/www/html/wp-includes/class-wp-hook.php(286): WC_API->handle_api_requests(Object(WP))
#5 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#6 /var/www/html/wp-includes/plugin.php(531): WP_Hook->do_action(Array)
#7 /var/www/html/wp-includes/class-wp.php(387): do_action_ref_array('parse_request', Array)
#8 /var/www/html/wp-includes/class-wp.php(737): WP->par in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php on line 983

2019-06-13T06:14:27+00:00 CRITICAL Uncaught Exception: The BTCPay payment plugin was called to process an IPN message but could not retrieve the order details for order_id 435. Cannot continue! in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php:983
Stack trace:
#0 /var/www/html/wp-includes/class-wp-hook.php(286): WC_Gateway_BtcPay->ipn_callback('')
#1 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
#2 /var/www/html/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#3 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-api.php(113): do_action('woocommerce_api...')
#4 /var/www/html/wp-includes/class-wp-hook.php(286): WC_API->handle_api_requests(Object(WP))
#5 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#6 /var/www/html/wp-includes/plugin.php(531): WP_Hook->do_action(Array)
#7 /var/www/html/wp-includes/class-wp.php(387): do_action_ref_array('parse_request', Array)
#8 /var/www/html/wp-includes/class-wp.php(737): WP->par in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php on line 983

2019-06-13T06:14:28+00:00 CRITICAL Uncaught Exception: The BTCPay payment plugin was called to process an IPN message but could not retrieve the order details for order_id 435. Cannot continue! in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php:983
Stack trace:
#0 /var/www/html/wp-includes/class-wp-hook.php(286): WC_Gateway_BtcPay->ipn_callback('')
#1 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
#2 /var/www/html/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#3 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-api.php(113): do_action('woocommerce_api...')
#4 /var/www/html/wp-includes/class-wp-hook.php(286): WC_API->handle_api_requests(Object(WP))
#5 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#6 /var/www/html/wp-includes/plugin.php(531): WP_Hook->do_action(Array)
#7 /var/www/html/wp-includes/class-wp.php(387): do_action_ref_array('parse_request', Array)
#8 /var/www/html/wp-includes/class-wp.php(737): WP->par in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php on line 983

2019-06-13T06:24:05+00:00 CRITICAL Uncaught Exception: The BTCPay payment plugin was called to process an IPN message but could not retrieve the order details for order_id 435. Cannot continue! in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php:983
Stack trace:
#0 /var/www/html/wp-includes/class-wp-hook.php(286): WC_Gateway_BtcPay->ipn_callback('')
#1 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
#2 /var/www/html/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#3 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-api.php(113): do_action('woocommerce_api...')
#4 /var/www/html/wp-includes/class-wp-hook.php(286): WC_API->handle_api_requests(Object(WP))
#5 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#6 /var/www/html/wp-includes/plugin.php(531): WP_Hook->do_action(Array)
#7 /var/www/html/wp-includes/class-wp.php(387): do_action_ref_array('parse_request', Array)
#8 /var/www/html/wp-includes/class-wp.php(737): WP->par in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php on line 983

2019-06-13T06:24:27+00:00 CRITICAL Uncaught Exception: The BTCPay payment plugin was called to process an IPN message but could not retrieve the order details for order_id 435. Cannot continue! in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php:983
Stack trace:
#0 /var/www/html/wp-includes/class-wp-hook.php(286): WC_Gateway_BtcPay->ipn_callback('')
#1 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
#2 /var/www/html/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#3 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-api.php(113): do_action('woocommerce_api...')
#4 /var/www/html/wp-includes/class-wp-hook.php(286): WC_API->handle_api_requests(Object(WP))
#5 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#6 /var/www/html/wp-includes/plugin.php(531): WP_Hook->do_action(Array)
#7 /var/www/html/wp-includes/class-wp.php(387): do_action_ref_array('parse_request', Array)
#8 /var/www/html/wp-includes/class-wp.php(737): WP->par in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php on line 983

2019-06-13T06:24:28+00:00 CRITICAL Uncaught Exception: The BTCPay payment plugin was called to process an IPN message but could not retrieve the order details for order_id 435. Cannot continue! in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php:983
Stack trace:
#0 /var/www/html/wp-includes/class-wp-hook.php(286): WC_Gateway_BtcPay->ipn_callback('')
#1 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
#2 /var/www/html/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#3 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-api.php(113): do_action('woocommerce_api...')
#4 /var/www/html/wp-includes/class-wp-hook.php(286): WC_API->handle_api_requests(Object(WP))
#5 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#6 /var/www/html/wp-includes/plugin.php(531): WP_Hook->do_action(Array)
#7 /var/www/html/wp-includes/class-wp.php(387): do_action_ref_array('parse_request', Array)
#8 /var/www/html/wp-includes/class-wp.php(737): WP->par in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php on line 983

2019-06-13T06:24:28+00:00 CRITICAL Uncaught Exception: The BTCPay payment plugin was called to process an IPN message but could not retrieve the order details for order_id 435. Cannot continue! in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php:983
Stack trace:
#0 /var/www/html/wp-includes/class-wp-hook.php(286): WC_Gateway_BtcPay->ipn_callback('')
#1 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
#2 /var/www/html/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#3 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-api.php(113): do_action('woocommerce_api...')
#4 /var/www/html/wp-includes/class-wp-hook.php(286): WC_API->handle_api_requests(Object(WP))
#5 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#6 /var/www/html/wp-includes/plugin.php(531): WP_Hook->do_action(Array)
#7 /var/www/html/wp-includes/class-wp.php(387): do_action_ref_array('parse_request', Array)
#8 /var/www/html/wp-includes/class-wp.php(737): WP->par in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php on line 

Then a bit more

06-13-2019 @ 05:33:57 -     [Info] $this->api_token_label    = WooCommerce - BTCPay Server Official Store
06-13-2019 @ 05:33:57 -     [Info] $this->api_url        = https://btcpay.kukks.org
06-13-2019 @ 05:33:57 -     [Info] Entered class level btcpay_decrypt...
06-13-2019 @ 05:33:57 -     [Warning] In btcpay_decrypt: data appears to have already been decrypted. Strict base64 check failed.
06-13-2019 @ 05:33:57 -     [Info] Leaving class level btcpay_decrypt...
06-13-2019 @ 05:33:57 -     [Info] Private Key decrypted successfully.
06-13-2019 @ 05:33:57 -     [Info] Entered class level btcpay_decrypt...
06-13-2019 @ 05:33:57 -     [Warning] In btcpay_decrypt: data appears to have already been decrypted. Strict base64 check failed.
06-13-2019 @ 05:33:57 -     [Info] Leaving class level btcpay_decrypt...
06-13-2019 @ 05:33:57 -     [Info] Public Key decrypted successfully.
06-13-2019 @ 05:33:57 -     [Info] Entered class level btcpay_decrypt...
06-13-2019 @ 05:33:57 -     [Warning] In btcpay_decrypt: data appears to have already been decrypted. Strict base64 check failed.
06-13-2019 @ 05:33:57 -     [Info] Leaving class level btcpay_decrypt...
06-13-2019 @ 05:33:57 -     [Info] API Token decrypted successfully.
06-13-2019 @ 05:33:57 -     [Info] Transaction speed is now set to: default
06-13-2019 @ 05:33:57 -     [Info] Plugin is valid for use.
06-13-2019 @ 05:33:57 -     [Info] The plugin is ok to use.
06-13-2019 @ 05:33:57 -     [Info] Entered ipn_callback()...
06-13-2019 @ 05:33:57 -     [Info] The post data sent to IPN handler is present...
06-13-2019 @ 05:33:57 -     [Info] Event IPN received...
06-13-2019 @ 05:33:57 -     [Info] The post data was decoded into JSON...
06-13-2019 @ 05:33:57 -     [Info] Invoice ID present in JSON payload...
06-13-2019 @ 05:33:57 -     [Info] Invoice URL present in JSON payload...
06-13-2019 @ 05:33:57 -     [Info] Created new Client object in IPN handler...
06-13-2019 @ 05:33:57 - 0
06-13-2019 @ 05:33:57 -     [Info] Created new CurlAdapter object in IPN handler...
06-13-2019 @ 05:33:57 -     [Info] Key and token empty checks passed.  Parameters in client set accordingly...
06-13-2019 @ 05:33:58 -     [Info] The IPN check appears to be valid.
06-13-2019 @ 05:33:58 -     [Info] Order ID is: 435
06-13-2019 @ 05:33:58 -     [Error] The BTCPay payment plugin was called to process an IPN message but could not retrieve the order details for order_id: "435". If you use an alternative order numbering system, please see class-wc-gateway-btcpay.php to apply a search filter.
06-13-2019 @ 05:34:22 - BTCPay Woocommerce payment plugin object constructor called. Plugin is v3.0.6 and server is PHP v7.2

It gives non-existing error

06-13-2019 @ 05:54:00 -     [Error] The BTCPay payment plugin was called to process an IPN message but could not retrieve the order details for order_id: "435". If you use an alternative order numbering system, please see class-wc-gateway-btcpay.php to apply a search filter.
06-13-2019 @ 05:54:24 - BTCPay Woocommerce payment plugin object constructor called. Plugin is v3.0.6 and server is PHP v7.2

Because our order ID is not alternative numbereing at all, it's default WooCommerce numbering.

The order id is okay (435)
Screen Shot 2019-06-13 at 11 38 45

With debug enabled

Notice: product_type was called incorrectly. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/plugins/woocommerce/templates/archive-product.php'), wc_get_template_part, load_template, require('/plugins/woocommerce/templates/content-product.php'), do_action('woocommerce_after_shop_loop_item'), WP_Hook->do_action, WP_Hook->apply_filters, woocommerce_template_loop_add_to_cart, wc_get_template, include('/plugins/woocommerce/templates/loop/add-to-cart.php'), WC_Product_Variable->add_to_cart_text, apply_filters('woocommerce_product_add_to_cart_text'), WP_Hook->apply_filters, custom_woocommerce_product_add_to_cart_text, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see Debugging in WordPress for more information. (This message was added in version 3.0.) in /var/www/html/wp-includes/functions.php on line 4773
[13-Jun-2019 09:59:22 UTC] PHP Notice:  product_type was called <strong>incorrectly</strong>. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/plugins/woocommerce/templates/archive-product.php'), wc_get_template_part, load_template, require('/plugins/woocommerce/templates/content-product.php'), do_action('woocommerce_after_shop_loop_item'), WP_Hook->do_action, WP_Hook->apply_filters, woocommerce_template_loop_add_to_cart, wc_get_template, include('/plugins/woocommerce/templates/loop/add-to-cart.php'), WC_Product_Simple->add_to_cart_text, apply_filters('woocommerce_product_add_to_cart_text'), WP_Hook->apply_filters, custom_woocommerce_product_add_to_cart_text, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see <a href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.0.) in /var/www/html/wp-includes/functions.php on line 4773
[13-Jun-2019 09:59:22 UTC] PHP Notice:  product_type was called <strong>incorrectly</strong>. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/plugins/woocommerce/templates/archive-product.php'), wc_get_template_part, load_template, require('/plugins/woocommerce/templates/content-product.php'), do_action('woocommerce_after_shop_loop_item'), WP_Hook->do_action, WP_Hook->apply_filters, woocommerce_template_loop_add_to_cart, wc_get_template, include('/plugins/woocommerce/templates/loop/add-to-cart.php'), WC_Product_Simple->add_to_cart_text, apply_filters('woocommerce_product_add_to_cart_text'), WP_Hook->apply_filters, custom_woocommerce_product_add_to_cart_text, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see <a href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.0.) in /var/www/html/wp-includes/functions.php on line 4773
[13-Jun-2019 09:59:22 UTC] PHP Notice:  product_type was called <strong>incorrectly</strong>. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/plugins/woocommerce/templates/archive-product.php'), wc_get_template_part, load_template, require('/plugins/woocommerce/templates/content-product.php'), do_action('woocommerce_after_shop_loop_item'), WP_Hook->do_action, WP_Hook->apply_filters, woocommerce_template_loop_add_to_cart, wc_get_template, include('/plugins/woocommerce/templates/loop/add-to-cart.php'), WC_Product_Variable->add_to_cart_text, apply_filters('woocommerce_product_add_to_cart_text'), WP_Hook->apply_filters, custom_woocommerce_product_add_to_cart_text, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see <a href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.0.) in /var/www/html/wp-includes/functions.php on line 4773
[13-Jun-2019 09:59:22 UTC] PHP Notice:  product_type was called <strong>incorrectly</strong>. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/plugins/woocommerce/templates/archive-product.php'), wc_get_template_part, load_template, require('/plugins/woocommerce/templates/content-product.php'), do_action('woocommerce_after_shop_loop_item'), WP_Hook->do_action, WP_Hook->apply_filters, woocommerce_template_loop_add_to_cart, wc_get_template, include('/plugins/woocommerce/templates/loop/add-to-cart.php'), WC_Product_Variable->add_to_cart_text, apply_filters('woocommerce_product_add_to_cart_text'), WP_Hook->apply_filters, custom_woocommerce_product_add_to_cart_text, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see <a href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.0.) in /var/www/html/wp-includes/functions.php on line 4773
[13-Jun-2019 09:59:22 UTC] PHP Notice:  product_type was called <strong>incorrectly</strong>. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/plugins/woocommerce/templates/archive-product.php'), wc_get_template_part, load_template, require('/plugins/woocommerce/templates/content-product.php'), do_action('woocommerce_after_shop_loop_item'), WP_Hook->do_action, WP_Hook->apply_filters, woocommerce_template_loop_add_to_cart, wc_get_template, include('/plugins/woocommerce/templates/loop/add-to-cart.php'), WC_Product_Variable->add_to_cart_text, apply_filters('woocommerce_product_add_to_cart_text'), WP_Hook->apply_filters, custom_woocommerce_product_add_to_cart_text, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see <a href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.0.) in /var/www/html/wp-includes/functions.php on line 4773
[13-Jun-2019 10:00:03 UTC] PHP Notice:  product_type was called <strong>incorrectly</strong>. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/plugins/woocommerce/templates/single-product.php'), wc_get_template_part, load_template, require('/plugins/woocommerce/templates/content-single-product.php'), do_action('woocommerce_after_single_product_summary'), WP_Hook->do_action, WP_Hook->apply_filters, woocommerce_output_related_products, woocommerce_related_products, wc_get_template, include('/plugins/woocommerce/templates/single-product/related.php'), wc_get_template_part, load_template, require('/plugins/woocommerce/templates/content-product.php'), do_action('woocommerce_after_shop_loop_item'), WP_Hook->do_action, WP_Hook->apply_filters, woocommerce_template_loop_add_to_cart, wc_get_template, include('/plugins/woocommerce/templates/loop/add-to-cart.php'), WC_Product_Simple->add_to_cart_text, apply_filters('woocommerce_product_add_to_cart_text'), WP in /var/www/html/wp-includes/functions.php on line 4773
[13-Jun-2019 10:00:03 UTC] PHP Notice:  product_type was called <strong>incorrectly</strong>. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/plugins/woocommerce/templates/single-product.php'), wc_get_template_part, load_template, require('/plugins/woocommerce/templates/content-single-product.php'), do_action('woocommerce_after_single_product_summary'), WP_Hook->do_action, WP_Hook->apply_filters, woocommerce_output_related_products, woocommerce_related_products, wc_get_template, include('/plugins/woocommerce/templates/single-product/related.php'), wc_get_template_part, load_template, require('/plugins/woocommerce/templates/content-product.php'), do_action('woocommerce_after_shop_loop_item'), WP_Hook->do_action, WP_Hook->apply_filters, woocommerce_template_loop_add_to_cart, wc_get_template, include('/plugins/woocommerce/templates/loop/add-to-cart.php'), WC_Product_Variable->add_to_cart_text, apply_filters('woocommerce_product_add_to_cart_text'),  in /var/www/html/wp-includes/functions.php on line 4773
[13-Jun-2019 10:00:03 UTC] PHP Notice:  product_type was called <strong>incorrectly</strong>. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/plugins/woocommerce/templates/single-product.php'), get_footer, locate_template, load_template, require_once('/themes/storefront/footer.php'), do_action('storefront_after_footer'), WP_Hook->do_action, WP_Hook->apply_filters, storefront_sticky_single_add_to_cart, WC_Product_Variable->add_to_cart_text, apply_filters('woocommerce_product_add_to_cart_text'), WP_Hook->apply_filters, custom_woocommerce_product_add_to_cart_text, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see <a href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.0.) in /var/www/html/wp-includes/functions.php on line 4773
[13-Jun-2019 10:00:16 UTC] PHP Notice:  product_type was called <strong>incorrectly</strong>. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/plugins/woocommerce/templates/archive-product.php'), wc_get_template_part, load_template, require('/plugins/woocommerce/templates/content-product.php'), do_action('woocommerce_after_shop_loop_item'), WP_Hook->do_action, WP_Hook->apply_filters, woocommerce_template_loop_add_to_cart, wc_get_template, include('/plugins/woocommerce/templates/loop/add-to-cart.php'), WC_Product_Simple->add_to_cart_text, apply_filters('woocommerce_product_add_to_cart_text'), WP_Hook->apply_filters, custom_woocommerce_product_add_to_cart_text, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see <a href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.0.) in /var/www/html/wp-includes/functions.php on line 4773
[13-Jun-2019 10:00:16 UTC] PHP Notice:  product_type was called <strong>incorrectly</strong>. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/plugins/woocommerce/templates/archive-product.php'), wc_get_template_part, load_template, require('/plugins/woocommerce/templates/content-product.php'), do_action('woocommerce_after_shop_loop_item'), WP_Hook->do_action, WP_Hook->apply_filters, woocommerce_template_loop_add_to_cart, wc_get_template, include('/plugins/woocommerce/templates/loop/add-to-cart.php'), WC_Product_Simple->add_to_cart_text, apply_filters('woocommerce_product_add_to_cart_text'), WP_Hook->apply_filters, custom_woocommerce_product_add_to_cart_text, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see <a href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.0.) in /var/www/html/wp-includes/functions.php on line 4773
[13-Jun-2019 10:00:16 UTC] PHP Notice:  product_type was called <strong>incorrectly</strong>. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/plugins/woocommerce/templates/archive-product.php'), wc_get_template_part, load_template, require('/plugins/woocommerce/templates/content-product.php'), do_action('woocommerce_after_shop_loop_item'), WP_Hook->do_action, WP_Hook->apply_filters, woocommerce_template_loop_add_to_cart, wc_get_template, include('/plugins/woocommerce/templates/loop/add-to-cart.php'), WC_Product_Variable->add_to_cart_text, apply_filters('woocommerce_product_add_to_cart_text'), WP_Hook->apply_filters, custom_woocommerce_product_add_to_cart_text, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see <a href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.0.) in /var/www/html/wp-includes/functions.php on line 4773
[13-Jun-2019 10:00:16 UTC] PHP Notice:  product_type was called <strong>incorrectly</strong>. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/plugins/woocommerce/templates/archive-product.php'), wc_get_template_part, load_template, require('/plugins/woocommerce/templates/content-product.php'), do_action('woocommerce_after_shop_loop_item'), WP_Hook->do_action, WP_Hook->apply_filters, woocommerce_template_loop_add_to_cart, wc_get_template, include('/plugins/woocommerce/templates/loop/add-to-cart.php'), WC_Product_Variable->add_to_cart_text, apply_filters('woocommerce_product_add_to_cart_text'), WP_Hook->apply_filters, custom_woocommerce_product_add_to_cart_text, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see <a href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.0.) in /var/www/html/wp-includes/functions.php on line 4773
[13-Jun-2019 10:00:16 UTC] PHP Notice:  product_type was called <strong>incorrectly</strong>. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/plugins/woocommerce/templates/archive-product.php'), wc_get_template_part, load_template, require('/plugins/woocommerce/templates/content-product.php'), do_action('woocommerce_after_shop_loop_item'), WP_Hook->do_action, WP_Hook->apply_filters, woocommerce_template_loop_add_to_cart, wc_get_template, include('/plugins/woocommerce/templates/loop/add-to-cart.php'), WC_Product_Variable->add_to_cart_text, apply_filters('woocommerce_product_add_to_cart_text'), WP_Hook->apply_filters, custom_woocommerce_product_add_to_cart_text, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see <a href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.0.) in /var/www/html/wp-includes/functions.php on line 4773
[13-Jun-2019 10:00:26 UTC] PHP Warning:  A non-numeric value encountered in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php on line 681
[13-Jun-2019 10:00:26 UTC] PHP Warning:  A non-numeric value encountered in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php on line 681
[13-Jun-2019 10:00:27 UTC] PHP Notice:  Undefined index: taxIncluded in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/lib/Bitpay/Client/Client.php on line 123
[13-Jun-2019 10:00:27 UTC] PHP Warning:  A non-numeric value encountered in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php on line 909
[13-Jun-2019 10:00:27 UTC] PHP Warning:  A non-numeric value encountered in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php on line 909
[13-Jun-2019 10:00:28 UTC] PHP Notice:  Undefined index: taxIncluded in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/lib/Bitpay/Client/Client.php on line 123
[13-Jun-2019 10:00:28 UTC] PHP Fatal error:  Uncaught Exception: The BTCPay payment plugin was called to process an IPN message but could not retrieve the order details for order_id 445. Cannot continue! in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php:983
Stack trace:
#0 /var/www/html/wp-includes/class-wp-hook.php(286): WC_Gateway_BtcPay->ipn_callback('')
#1 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
#2 /var/www/html/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#3 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-api.php(113): do_action('woocommerce_api...')
#4 /var/www/html/wp-includes/class-wp-hook.php(286): WC_API->handle_api_requests(Object(WP))
#5 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#6 /var/www/html/wp-includes/plugin.php(531): WP_Hook->do_action(Array)
#7 /var/www/html/wp-includes/class-wp.php(387): do_action_ref_array('parse_request', Array)
#8 /var/www/html/wp-includes/class-wp.php(737): WP->par in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php on line 983
[13-Jun-2019 10:00:39 UTC] PHP Warning:  A non-numeric value encountered in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php on line 909
[13-Jun-2019 10:00:39 UTC] PHP Warning:  A non-numeric value encountered in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php on line 909
[13-Jun-2019 10:00:39 UTC] PHP Notice:  Undefined index: taxIncluded in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/lib/Bitpay/Client/Client.php on line 123
[13-Jun-2019 10:00:39 UTC] PHP Fatal error:  Uncaught Exception: The BTCPay payment plugin was called to process an IPN message but could not retrieve the order details for order_id 445. Cannot continue! in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php:983
Stack trace:
#0 /var/www/html/wp-includes/class-wp-hook.php(286): WC_Gateway_BtcPay->ipn_callback('')
#1 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
#2 /var/www/html/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#3 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-api.php(113): do_action('woocommerce_api...')
#4 /var/www/html/wp-includes/class-wp-hook.php(286): WC_API->handle_api_requests(Object(WP))
#5 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#6 /var/www/html/wp-includes/plugin.php(531): WP_Hook->do_action(Array)
#7 /var/www/html/wp-includes/class-wp.php(387): do_action_ref_array('parse_request', Array)
#8 /var/www/html/wp-includes/class-wp.php(737): WP->par in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php on line 983
[13-Jun-2019 10:00:40 UTC] PHP Warning:  A non-numeric value encountered in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php on line 909
[13-Jun-2019 10:00:40 UTC] PHP Warning:  A non-numeric value encountered in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php on line 909
[13-Jun-2019 10:00:40 UTC] PHP Notice:  Undefined index: taxIncluded in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/lib/Bitpay/Client/Client.php on line 123
[13-Jun-2019 10:00:40 UTC] PHP Fatal error:  Uncaught Exception: The BTCPay payment plugin was called to process an IPN message but could not retrieve the order details for order_id 445. Cannot continue! in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php:983
Stack trace:
#0 /var/www/html/wp-includes/class-wp-hook.php(286): WC_Gateway_BtcPay->ipn_callback('')
#1 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
#2 /var/www/html/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#3 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-api.php(113): do_action('woocommerce_api...')
#4 /var/www/html/wp-includes/class-wp-hook.php(286): WC_API->handle_api_requests(Object(WP))
#5 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#6 /var/www/html/wp-includes/plugin.php(531): WP_Hook->do_action(Array)
#7 /var/www/html/wp-includes/class-wp.php(387): do_action_ref_array('parse_request', Array)
#8 /var/www/html/wp-includes/class-wp.php(737): WP->par in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php on line 983
[13-Jun-2019 10:00:46 UTC] PHP Warning:  A non-numeric value encountered in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php on line 909
[13-Jun-2019 10:00:46 UTC] PHP Warning:  A non-numeric value encountered in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php on line 909
[13-Jun-2019 10:00:47 UTC] PHP Notice:  Undefined index: taxIncluded in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/lib/Bitpay/Client/Client.php on line 123
[13-Jun-2019 10:00:47 UTC] PHP Fatal error:  Uncaught Exception: The BTCPay payment plugin was called to process an IPN message but could not retrieve the order details for order_id 445. Cannot continue! in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php:983
Stack trace:
#0 /var/www/html/wp-includes/class-wp-hook.php(286): WC_Gateway_BtcPay->ipn_callback('')
#1 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
#2 /var/www/html/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#3 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-api.php(113): do_action('woocommerce_api...')
#4 /var/www/html/wp-includes/class-wp-hook.php(286): WC_API->handle_api_requests(Object(WP))
#5 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#6 /var/www/html/wp-includes/plugin.php(531): WP_Hook->do_action(Array)
#7 /var/www/html/wp-includes/class-wp.php(387): do_action_ref_array('parse_request', Array)
#8 /var/www/html/wp-includes/class-wp.php(737): WP->par in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php on line 983
[13-Jun-2019 10:00:47 UTC] PHP Warning:  A non-numeric value encountered in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php on line 909
[13-Jun-2019 10:00:47 UTC] PHP Warning:  A non-numeric value encountered in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php on line 909
[13-Jun-2019 10:00:47 UTC] PHP Notice:  Undefined index: taxIncluded in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/lib/Bitpay/Client/Client.php on line 123
[13-Jun-2019 10:00:47 UTC] PHP Fatal error:  Uncaught Exception: The BTCPay payment plugin was called to process an IPN message but could not retrieve the order details for order_id 445. Cannot continue! in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php:983
Stack trace:
#0 /var/www/html/wp-includes/class-wp-hook.php(286): WC_Gateway_BtcPay->ipn_callback('')
#1 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
#2 /var/www/html/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#3 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-api.php(113): do_action('woocommerce_api...')
#4 /var/www/html/wp-includes/class-wp-hook.php(286): WC_API->handle_api_requests(Object(WP))
#5 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#6 /var/www/html/wp-includes/plugin.php(531): WP_Hook->do_action(Array)
#7 /var/www/html/wp-includes/class-wp.php(387): do_action_ref_array('parse_request', Array)
#8 /var/www/html/wp-includes/class-wp.php(737): WP->par in /var/www/html/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php on line 983
[13-Jun-2019 10:01:36 UTC] PHP Notice:  product_type was called <strong>incorrectly</strong>. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/plugins/woocommerce/templates/archive-product.php'), wc_get_template_part, load_template, require('/plugins/woocommerce/templates/content-product.php'), do_action('woocommerce_after_shop_loop_item'), WP_Hook->do_action, WP_Hook->apply_filters, woocommerce_template_loop_add_to_cart, wc_get_template, include('/plugins/woocommerce/templates/loop/add-to-cart.php'), WC_Product_Simple->add_to_cart_text, apply_filters('woocommerce_product_add_to_cart_text'), WP_Hook->apply_filters, custom_woocommerce_product_add_to_cart_text, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see <a href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.0.) in /var/www/html/wp-includes/functions.php on line 4773
[13-Jun-2019 10:01:36 UTC] PHP Notice:  product_type was called <strong>incorrectly</strong>. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/plugins/woocommerce/templates/archive-product.php'), wc_get_template_part, load_template, require('/plugins/woocommerce/templates/content-product.php'), do_action('woocommerce_after_shop_loop_item'), WP_Hook->do_action, WP_Hook->apply_filters, woocommerce_template_loop_add_to_cart, wc_get_template, include('/plugins/woocommerce/templates/loop/add-to-cart.php'), WC_Product_Simple->add_to_cart_text, apply_filters('woocommerce_product_add_to_cart_text'), WP_Hook->apply_filters, custom_woocommerce_product_add_to_cart_text, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see <a href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.0.) in /var/www/html/wp-includes/functions.php on line 4773
[13-Jun-2019 10:01:36 UTC] PHP Notice:  product_type was called <strong>incorrectly</strong>. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/plugins/woocommerce/templates/archive-product.php'), wc_get_template_part, load_template, require('/plugins/woocommerce/templates/content-product.php'), do_action('woocommerce_after_shop_loop_item'), WP_Hook->do_action, WP_Hook->apply_filters, woocommerce_template_loop_add_to_cart, wc_get_template, include('/plugins/woocommerce/templates/loop/add-to-cart.php'), WC_Product_Variable->add_to_cart_text, apply_filters('woocommerce_product_add_to_cart_text'), WP_Hook->apply_filters, custom_woocommerce_product_add_to_cart_text, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see <a href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.0.) in /var/www/html/wp-includes/functions.php on line 4773
[13-Jun-2019 10:01:36 UTC] PHP Notice:  product_type was called <strong>incorrectly</strong>. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/plugins/woocommerce/templates/archive-product.php'), wc_get_template_part, load_template, require('/plugins/woocommerce/templates/content-product.php'), do_action('woocommerce_after_shop_loop_item'), WP_Hook->do_action, WP_Hook->apply_filters, woocommerce_template_loop_add_to_cart, wc_get_template, include('/plugins/woocommerce/templates/loop/add-to-cart.php'), WC_Product_Variable->add_to_cart_text, apply_filters('woocommerce_product_add_to_cart_text'), WP_Hook->apply_filters, custom_woocommerce_product_add_to_cart_text, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see <a href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.0.) in /var/www/html/wp-includes/functions.php on line 4773
[13-Jun-2019 10:01:36 UTC] PHP Notice:  product_type was called <strong>incorrectly</strong>. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/plugins/woocommerce/templates/archive-product.php'), wc_get_template_part, load_template, require('/plugins/woocommerce/templates/content-product.php'), do_action('woocommerce_after_shop_loop_item'), WP_Hook->do_action, WP_Hook->apply_filters, woocommerce_template_loop_add_to_cart, wc_get_template, include('/plugins/woocommerce/templates/loop/add-to-cart.php'), WC_Product_Variable->add_to_cart_text, apply_filters('woocommerce_product_add_to_cart_text'), WP_Hook->apply_filters, custom_woocommerce_product_add_to_cart_text, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see <a href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.0.) in /var/www/html/wp-includes/functions.php on line 4773
[13-Jun-2019 10:01:54 UTC] PHP Notice:  product_type was called <strong>incorrectly</strong>. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/plugins/woocommerce/templates/archive-product.php'), wc_get_template_part, load_template, require('/plugins/woocommerce/templates/content-product.php'), do_action('woocommerce_after_shop_loop_item'), WP_Hook->do_action, WP_Hook->apply_filters, woocommerce_template_loop_add_to_cart, wc_get_template, include('/plugins/woocommerce/templates/loop/add-to-cart.php'), WC_Product_Simple->add_to_cart_text, apply_filters('woocommerce_product_add_to_cart_text'), WP_Hook->apply_filters, custom_woocommerce_product_add_to_cart_text, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see <a href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.0.) in /var/www/html/wp-includes/functions.php on line 4773
[13-Jun-2019 10:01:54 UTC] PHP Notice:  product_type was called <strong>incorrectly</strong>. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/plugins/woocommerce/templates/archive-product.php'), wc_get_template_part, load_template, require('/plugins/woocommerce/templates/content-product.php'), do_action('woocommerce_after_shop_loop_item'), WP_Hook->do_action, WP_Hook->apply_filters, woocommerce_template_loop_add_to_cart, wc_get_template, include('/plugins/woocommerce/templates/loop/add-to-cart.php'), WC_Product_Simple->add_to_cart_text, apply_filters('woocommerce_product_add_to_cart_text'), WP_Hook->apply_filters, custom_woocommerce_product_add_to_cart_text, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see <a href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.0.) in /var/www/html/wp-includes/functions.php on line 4773
[13-Jun-2019 10:01:54 UTC] PHP Notice:  product_type was called <strong>incorrectly</strong>. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/plugins/woocommerce/templates/archive-product.php'), wc_get_template_part, load_template, require('/plugins/woocommerce/templates/content-product.php'), do_action('woocommerce_after_shop_loop_item'), WP_Hook->do_action, WP_Hook->apply_filters, woocommerce_template_loop_add_to_cart, wc_get_template, include('/plugins/woocommerce/templates/loop/add-to-cart.php'), WC_Product_Variable->add_to_cart_text, apply_filters('woocommerce_product_add_to_cart_text'), WP_Hook->apply_filters, custom_woocommerce_product_add_to_cart_text, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see <a href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.0.) in /var/www/html/wp-includes/functions.php on line 4773
[13-Jun-2019 10:01:54 UTC] PHP Notice:  product_type was called <strong>incorrectly</strong>. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/plugins/woocommerce/templates/archive-product.php'), wc_get_template_part, load_template, require('/plugins/woocommerce/templates/content-product.php'), do_action('woocommerce_after_shop_loop_item'), WP_Hook->do_action, WP_Hook->apply_filters, woocommerce_template_loop_add_to_cart, wc_get_template, include('/plugins/woocommerce/templates/loop/add-to-cart.php'), WC_Product_Variable->add_to_cart_text, apply_filters('woocommerce_product_add_to_cart_text'), WP_Hook->apply_filters, custom_woocommerce_product_add_to_cart_text, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see <a href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.0.) in /var/www/html/wp-includes/functions.php on line 4773
[13-Jun-2019 10:01:54 UTC] PHP Notice:  product_type was called <strong>incorrectly</strong>. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/plugins/woocommerce/templates/archive-product.php'), wc_get_template_part, load_template, require('/plugins/woocommerce/templates/content-product.php'), do_action('woocommerce_after_shop_loop_item'), WP_Hook->do_action, WP_Hook->apply_filters, woocommerce_template_loop_add_to_cart, wc_get_template, include('/plugins/woocommerce/templates/loop/add-to-cart.php'), WC_Product_Variable->add_to_cart_text, apply_filters('woocommerce_product_add_to_cart_text'), WP_Hook->apply_filters, custom_woocommerce_product_add_to_cart_text, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see <a href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.0.) in /var/www/html/wp-includes/functions.php on line 4773

@NicolasDorier
Copy link
Member

@pavlenex I mean, beside the exception, you should have information logs. Here you are only pasting the exception, not the log happening before it crashes.

@pavlenex
Copy link
Contributor Author

After going back and forth with @NicolasDorier it's definetelly an issue with the Woo Admin plugin, as soon as it's disabled order statuses and IPN calls get bumped and work correctly.

@jooray
Copy link
Contributor

jooray commented Jul 22, 2019

I think this fixes the issue: #30

@pavlenex
Copy link
Contributor Author

@jooray I've tested newly released 3.0.8 with WooCommerce Admin 0.15.0 and 3.6.5, however not only does it not work with Woo Admin (orders stuck in pending payment state) but even if you disable the WooCommerce admin, orders won't get processed, I think this may be due to #30

@jooray
Copy link
Contributor

jooray commented Jul 23, 2019

Sorry, you are right, something's off still, I was trying without logging in.

When I am logged in, it does not work even without WooCommerce Admin. I have this in my log:

Receiving IPN for an order which has no expected invoice ID, ignoring the IPN

@pavlenex
Copy link
Contributor Author

  1. Installed latest BTCPay for Woo 3.0.8
  2. Installed Woo Admin 0.15.0
  3. Made a test payment via the Lightning
  4. Invoice paid in btcpay, in WooCommerce marked as pending payment
  5. Disabled Woo Admin, tried again, the same situation order paid, marked as pending payment in woo

Invoice event logs in BTCPay

Date | Message
-- | --
7/23/2019 10:10:39 AM | Creation of invoice starting
7/23/2019 10:10:39 AM | BTC_USD: The rating rule is coinaverage(BTC_USD)
7/23/2019 10:10:39 AM | BTC_USD: The evaluated rating rule is 10040.6507085913
7/23/2019 10:10:39 AM | BTC (On-Chain): Payment method details creation took 97 milliseconds
7/23/2019 10:10:39 AM | BTC (On-Chain): The amount of the invoice is too low to be paid on chain
7/23/2019 10:10:39 AM | BTC (Off-Chain): Payment method details creation took 215 milliseconds
7/23/2019 10:10:39 AM | Saving invoice took 19 milliseconds
7/23/2019 10:10:39 AM | Invoice LEQjR7TETKTLqWhorFyxkV new event: invoice_created (1001)
7/23/2019 10:10:39 AM | IPN (1001 invoice_created) sent for invoice LEQjR7TETKTLqWhorFyxkV
7/23/2019 10:10:57 AM | Invoice LEQjR7TETKTLqWhorFyxkV new event: invoice_receivedPayment (1002)
7/23/2019 10:10:57 AM | Invoice status is complete
7/23/2019 10:10:57 AM | Invoice LEQjR7TETKTLqWhorFyxkV new event: invoice_paidInFull (1003)
7/23/2019 10:10:57 AM | Invoice LEQjR7TETKTLqWhorFyxkV new event: invoice_confirmed (1005)
7/23/2019 10:10:57 AM | Invoice LEQjR7TETKTLqWhorFyxkV new event: invoice_completed (1006)
7/23/2019 10:10:57 AM | Invoice LEQjR7TETKTLqWhorFyxkV is not monitored anymore.
7/23/2019 10:10:57 AM | IPN (1002 invoice_receivedPayment) sent for invoice LEQjR7TETKTLqWhorFyxkV
7/23/2019 10:10:57 AM | IPN (1003 invoice_paidInFull) sent for invoice LEQjR7TETKTLqWhorFyxkV
7/23/2019 10:10:57 AM | IPN (1003 invoice_paidInFull) sent for invoice LEQjR7TETKTLqWhorFyxkV
7/23/2019 10:10:57 AM | IPN (1005 invoice_confirmed) sent for invoice LEQjR7TETKTLqWhorFyxkV
7/23/2019 10:10:58 AM | IPN (1005 invoice_confirmed) sent for invoice LEQjR7TETKTLqWhorFyxkV
7/23/2019 10:10:58 AM | IPN (1006 invoice_completed) sent for invoice LEQjR7TETKTLqWhorFyxkV
7/23/2019 10:10:58 AM | IPN (1006 invoice_completed) sent for invoice LEQjR7TETKTLqWhorFyxkV

Logs for invoice #758 in Woo

07-23-2019 @ 08:10:39 -     [Info] Order details retrieved successfully...
07-23-2019 @ 08:10:39 -     [Info] Receiving IPN for an order which has no expected invoice ID, ignoring the IPN...

@jooray
Copy link
Contributor

jooray commented Jul 23, 2019

You are right, I was testing just with the commit. I think the culprit here is this:

6bad2bd

The latest version that I was testing was 3.0.6 that was in WordPress plugin directory, it switched to 3.0.8 and I think this code was not in 3.0.6 that was in the plugin directory.

@NicolasDorier
Copy link
Member

@jooray but how can this code be wrong?

@NicolasDorier
Copy link
Member

Also this code works locally. I have the feeling this error has nothing to with the issue.

@NicolasDorier
Copy link
Member

This error can happen during the invoice_created event, which is OK. But if somebody pays, it should not.

@NicolasDorier
Copy link
Member

no it does not work for me actually FUCK PHP. I revert my code.

@NicolasDorier
Copy link
Member

actually FUCK boolean logic.

@jooray
Copy link
Contributor

jooray commented Jul 23, 2019

I sent a pull request.

@jooray
Copy link
Contributor

jooray commented Jul 23, 2019

you don't need to revert it. But please make 3.0.9, because if someone's PHP automatically updated, they got introduced this bug, because 3.0.7 (with the bug) was not in the plugin directory.

@jooray
Copy link
Contributor

jooray commented Jul 23, 2019

@pavlenex good catch!

@NicolasDorier
Copy link
Member

I pushed 3.0.9

@NicolasDorier
Copy link
Member

Version 3.0.7 was around for long but I actually did not built it correctly and it was 3.0.6 under the hood, that's why the error did not show up before...

@pavlenex
Copy link
Contributor Author

Thanks for quickly fixing it guys, tested with 3.0.9 and it works even with Woo Admin, so I'll close this issue.

Thanks for your contributions @jooray feel free to drop by on our chat.btcpayserver.org on Mattermost to discuss future development and philosophy :P

@rvrv
Copy link

rvrv commented Nov 2, 2019

Hi. It looks like this issue is back.

WooCommerce Admin v 0.21.0
BTCPay for WooCommerce v 3.0.9
BTCPayServer v 1.0.3.135

When i activate WooCommerce Admin i got php error in logs during payment, also status of the order haven’t changed. Deactivate WooCommerce Admin and everything works.

PHP logs:

[02-Nov-2019 17:15:46 UTC] PHP Warning:  A non-numeric value encountered in /wordpress/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php on line 681
[02-Nov-2019 17:15:49 UTC] PHP Fatal error:  Uncaught Exception: The BTCPay payment plugin was called to process an IPN message but could not retrieve the order details for order_id 152. Cannot continue! in /wordpress/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php:983
Stack trace:
#0 /wordpress/wp-includes/class-wp-hook.php(286): WC_Gateway_BtcPay->ipn_callback('')
#1 /wordpress/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
#2 /wordpress/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#3 /wordpress/wp-content/plugins/woocommerce/includes/class-wc-api.php(148): do_action('woocommerce_api...')
#4 /wordpress/wp-includes/class-wp-hook.php(286): WC_API->handle_api_requests(Object(WP))
#5 /wordpress/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#6 /wordpress/wp-includes/plugin.php(531): WP_Hook->do_action(Ar in /wordpress/wp-content/plugins/btcpay-for-woocommerce/class-wc-gateway-btcpay.php on line 983```

@NicolasDorier
Copy link
Member

Can you try on 3.0.10?

@renguer0
Copy link

renguer0 commented Oct 8, 2021

Hi there, same problem here in last versions of WP, WooCommerce and BTCPay:

10-08-2021 @ 01:14:26 -     [Info] $this->api_token_label    = WooCommerce - btcarg
10-08-2021 @ 01:14:26 -     [Info] $this->api_url        = http://payments.oursite.com
10-08-2021 @ 01:14:26 -     [Info] Entered class level btcpay_decrypt...
10-08-2021 @ 01:14:26 -     [Warning] In btcpay_decrypt: data appears to have already been decrypted. Strict base64 check failed.
10-08-2021 @ 01:14:26 -     [Info] Leaving class level btcpay_decrypt...
10-08-2021 @ 01:14:26 -     [Info] Private Key decrypted successfully.
10-08-2021 @ 01:14:26 -     [Info] Entered class level btcpay_decrypt...
10-08-2021 @ 01:14:26 -     [Warning] In btcpay_decrypt: data appears to have already been decrypted. Strict base64 check failed.
10-08-2021 @ 01:14:26 -     [Info] Leaving class level btcpay_decrypt...
10-08-2021 @ 01:14:26 -     [Info] Public Key decrypted successfully.
10-08-2021 @ 01:14:26 -     [Info] Entered class level btcpay_decrypt...
10-08-2021 @ 01:14:26 -     [Warning] In btcpay_decrypt: data appears to have already been decrypted. Strict base64 check failed.
10-08-2021 @ 01:14:26 -     [Info] Leaving class level btcpay_decrypt...
10-08-2021 @ 01:14:26 -     [Info] API Token decrypted successfully.
10-08-2021 @ 01:14:26 -     [Info] Transaction speed is now set to: default
10-08-2021 @ 01:14:26 -     [Info] Plugin is valid for use.
10-08-2021 @ 01:14:26 -     [Info] The plugin is ok to use.
10-08-2021 @ 01:14:28 -     [Info] Entered process_payment() with order_id = 1006...
10-08-2021 @ 01:14:28 -     [Info] Generating payment form for order 1006 (Order number 1564739106). Notify URL: https://oursite.com/wc-api/WC_Gateway_BtcPay/
10-08-2021 @ 01:14:28 -     [Info] Changing order status to: wc-pending
10-08-2021 @ 01:14:28 -     [Info] Changed order status result
10-08-2021 @ 01:14:28 -     [Info] The variable thanks_link = https://oursite.comm/checkout/order-received/1006/?key=wc_order_zhhXox2OXWdwX...
10-08-2021 @ 01:14:28 -     [Info] The variable redirect_url = https://discord.gg/hxAPwCk?order-received=1006&key=wc_order_zhhXox2OXWdwX...
10-08-2021 @ 01:14:28 -     [Info] Notification URL is now set to: https://oursite.com/wc-api/WC_Gateway_BtcPay/...
10-08-2021 @ 01:14:28 -     [Info] The variable currency_code = USD...
10-08-2021 @ 01:14:28 -     [Info] Set url to http://payments.oursite.com
10-08-2021 @ 01:14:28 -     [Info] Key and token empty checks passed.  Parameters in client set accordingly...
10-08-2021 @ 01:14:28 -     [Info] Invoice object created successfully...
10-08-2021 @ 01:14:28 -     [Info] Item object created successfully...
10-08-2021 @ 01:14:28 -     [Info] Attempting to generate invoice for 1006 (Order number 1564739106) ...
10-08-2021 @ 01:14:28 -     [Info] Call to generate invoice was successful: <html>
<head><title>301 Moved Permanently</title></head>
<body>
<center><h1>301 Moved Permanently</h1></center>
<hr><center>nginx</center>
</body>
</html>

10-08-2021 @ 01:14:28 -     [Info] BTCPay invoice assigned 
10-08-2021 @ 01:14:28 -     [Info] Leaving process_payment()...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants