• Resolved Mahesh Sriram

    (@mahesh010)


    I used woo commerce pdf invoice plugin(V:2.3.3) ,I selected Completed order for “Attach to Email” field on invoice setting .
    And on client site checkout page click the Order-Button, the Site dimms a little bit to white.
    Thereafter nothing happens.

    Looking for it shows an Error with admin-ajax.php?action=woocommerce-checkout. This throws an 500 Internal Server Error.

    i am using stripe method for payment gateway.

    Any advice would be greatly appreciated…

    https://www.ads-software.com/plugins/woocommerce-pdf-invoices/

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Bas Elbers

    (@baaaaas)

    Do you use additional plugins for payments or checkout? I think that it’s not a problem with this plugin. Will need more information.

    Thread Starter Mahesh Sriram

    (@mahesh010)

    Hi Bas,

    Its works fine in development server, but not working at the production server. In the production server, some functions related to MPDF is not working for generating Invoice as PDF.
    Kindly check the development URL: https://hitsdesign.in/mscgi/
    and production server URL: https://masteringcgi.com.au/

    Regards

    Mahesh

    Plugin Author Bas Elbers

    (@baaaaas)

    Please turn on wordpress (WP_DEBUG) and mpdf debugging and let me know wich errors you see.

    $mpdf->debug = true;
    $mpdf->showImageErrors = true;

    Add these to function called generate in file abstract-bewpi-document.php.

    Thread Starter Mahesh Sriram

    (@mahesh010)

    I have added the lines as you suggested and getting this error:

    500 Internal Server Error
    on this URL: https://masteringcgi.com.au/wp-admin/admin-ajax.php?action=woocommerce_checkout

    Plugin Author Bas Elbers

    (@baaaaas)

    Can you send me your server log?

    Plugin Author Bas Elbers

    (@baaaaas)

    Did you find a solution? Please let me know.

    Hi,
    sorry for posting in an old thread but I’m having the same issue of Mashesh Sriram.

    On checkout the screen dimms a little to white and I get stuck with an error 500 on
    wp-admin/admin-ajax.php?action=woocommerce_checkout (in console).

    It seems to be a recurring issue…

    Does anyone know a solution?

    Thank you in advance,
    Matteo.

    Guess what?
    I fixed it just ten minutes after posting the issue.
    Classic.

    The problem for me was that the template I was using for the PDF had SOMETHING that didn’t work… but I still don’t know what.
    I don’t have much spare time to dive into it, but I just restored the default template and now it works.

    Hope it helps,

    Matteo.

    Plugin Author Bas Elbers

    (@baaaaas)

    Great to hear that everything works fine again.
    You can send me your custom template and I will try to find the time. ??

    Sorry for this random comment, but as a strong user (and I hope also contributor) of open source systems, the above comment of the Author has gained my utmost respect. Good job!

    Plugin Author Bas Elbers

    (@baaaaas)

    @armannas Thanks!
    Strong believer of open source. ??
    https://wcpdfinvoices.com/about

    You can support me by giving me a 5-star rating. That would be awesome as well. ??
    I’m sorry if you allready posted one.

    Daniel Gadd

    (@atomicdanielgadd)

    Hope it is OK jump in here. I just installed Stripe Simple Pay Pro. I configured it and set up account. Everything is in order it seems. When i enter amount on website and hit button. Its throws a 500 Error

    Cant figure out why. Been looking and checking etc for ages now. Thanks anyone here who might give us some tips fixing

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Checkout page shows throws an 500 Internal Server Error.’ is closed to new replies.