Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter nagayama

    (@megdai)

    Hello,

    Thank you for your response.

    As requested, please find the error log below. This error occurs during the checkout process when using Stripe as the payment gateway in WooCommerce.

    — ERROR LOG —

    2026-01-27T06:11:27+00:00 Fatal Error: Uncaught ValueError: Path cannot be empty
    File: /wp-content/plugins/woocommerce-delivery-notes/includes/front/vendor/phenx/php-font-lib/src/FontLib/BinaryStream.php:69

    Backtrace highlights:

    • fopen(”, ‘rb+’)
    • FontLib\BinaryStream->open(false, ‘rb+’)
    • Dompdf\Cpdf->processFont()
    • Dompdf\Dompdf->output()
    • create_pdf()
    • WCDN_Theme->attach_pdf_to_emails()
    • WC_Order->payment_complete()
    • WC_Payment_Gateway_Stripe->process_payment()

    The error seems to occur during order completion, specifically when generating or attaching a PDF (invoice) via the WooCommerce Delivery Notes plugin.

    Could you please confirm:

    1. Is this fatal error likely interfering with Stripe’s payment confirmation process?
    2. Is there a recommended fix or configuration change to prevent this issue?

    We have confirmed that disabling the WooCommerce Delivery Notes plugin allows payments to go through successfully.

    Any guidance on how to properly resolve this would be greatly appreciated.

    Thank you very much for your support.

    Best regards,

    • This reply was modified 3 months, 2 weeks ago by nagayama.
    Thread Starter nagayama

    (@megdai)

    Hi there,

    I wanted to let you know that I applied the patch for class-wcdn-settings.php,
    and it fixed the issue perfectly.

    Thanks a lot for your prompt help. Much appreciated!

    Best regards,

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