• Resolved anahitipoint

    (@anahitipoint)


    Am getting the following error

    Internal Server Error

    I see this when clicking on Place Order button.

    What can be the reason?

    In console i see the following

    POST http://xxxxxxxxxxxxx/checkout/?wc-ajax=checkout 500 (Internal Server Error)

    Thanks in advance.

    https://ww.wp.xz.cn/plugins/woocommerce/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor Mike Jolley

    (@mikejolley)

    We know you’re doing customisation right now so please debug your own problems before posting here – https://ww.wp.xz.cn/support/topic/how-to-debug-issues-after-updates?replies=1

    Thread Starter anahitipoint

    (@anahitipoint)

    I haven’t changed anything yet in checkout page and when i turned WP Debug i saw this

    SyntaxError: Unexpected token < in JSON at position 0
    
    checkout.min.js?ver=2.5.5:1 Unable to fix malformed JSON

    I was testing how the default form works so i could see if all is working after customisation so please help to figure out.

    Thanks in advance.

    Plugin Contributor Mike Jolley

    (@mikejolley)

    Which means something is outputting content during checkout. See server php error log.

    Thread Starter anahitipoint

    (@anahitipoint)

    hey i resolved the issue.

    I had some code in my functions.php which was conflicting the main woocommerce code.

    What code was it that fixed it?

    I have the same issue whenever I choose the Direct Transfer Gateway. Also when I checkout using PayPal standard it doesnt process and I get an error from paypal, which is related to woocommerce. I called paypal and they said everything was good on their end and my account.

    Thread Starter anahitipoint

    (@anahitipoint)

    Hi namialos,

    Check your functions.php. It seems that you also have some code which is in conflict with Woocommerce.

    Hope it helps.

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

The topic ‘Internal Server Error when submitting checkout form’ is closed to new replies.