您好:
進行退款的訂單狀態:取消
訂單狀態改成取消時,會跳網站遭遇技術性問題,實際到Line Pay後台是有退款成功。
錯誤詳細資料
==================
檔案 xxx/wp-content/plugins/cw-linepay/includes/class-linepay-extend.php 的第 102 行發生錯誤 (錯誤類型: E_ERROR)。錯誤訊息: Uncaught Error: Call to a member function get_payment_method() on null in xxx/wp-content/plugins/cw-linepay/includes/class-linepay-extend.php:102
Stack trace:
#0 xxx/wp-content/plugins/cw-linepay/includes/class-linepay-extend.php(90): cloudwp\LINE\Pay\Extend::RestoreStock()
#1 xxx/wp-content/plugins/cw-linepay/includes/class-linepay-extend.php(76): cloudwp\LINE\Pay\Extend::CancelAuthorized()
#2 xxx/wp-includes/class-wp-hook.php(307): cloudwp\LINE\Pay\Extend::MaybeNeedRefund()
#3 xxx/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#4 xxx/wp-includes/plugin.php(476): WP_Hook->do_action()
#5 xxx/wp-content/plugins/woocommerce/includes/class-wc-order.php(374): do_action()
#6 xxx/wp-content/plugins/woocommerce/includes/class-wc-order.php(222): WC_Ord
請問一下,是否有其他網站遭遇類似問題要怎麼解決,謝謝。