Stripe Checkout returns Error: Internal Server Error

WPPizza – A Restaurant Plugin for WordPress Support Add-Ons Gateways Stripe Stripe Checkout returns Error: Internal Server Error

Viewing 20 posts - 1 through 20 (of 38 total)
  • Author
    Posts
  • #25789
    webpres
    Participant

      Installed newest version of wp-pizza and stripe gateway. Website used to have Woocommerce & Stripe before I switched to WPPizza.

      Unfortunately I have only access to WordPress.

      Error in Console:

      StripeCheckout.open: Unrecognized option ‘receipt_email’.
      You can learn about the available configuration options in the Checkout docs:
      https://stripe.com/docs/checkout
      checkUsage @ checkout.js?ver=1.6:2

      https://…./wp-admin/admin-ajax.php Failed to load resource: the server responded with a status of 500 (Internal Server Error)

      I have disabled caching and enabled SSL.

      Please assistme, my customer is not happy at all.

      #25804
      Olly
      Admin & Mod

        you need to find out what the 500 error is and where it comes from (could be absolutely from anywhere)
        enable debug and check your debug.log

        https://www.wp-pizza.com/topic/how-to-enable-debug-in-wordpress/

        (the Unrecognized option ‘receipt_email’.is inconsequential )

        #25813
        webpres
        Participant
          This reply has been marked as private.
          #25814
          Olly
          Admin & Mod

            you have to have access to the server / server logs. a 500 error is a server error
            somebody has to enable debug or access to the server logs

            this cannot be solved without knowing what the exact error is you get server side

            #25815
            webpres
            Participant

              I am cloning the website to my webhost to try and debug there.

              Problem is my client has only given me WordPress access, to get FTP Access he would have to contact his old, out-of-business webdesigner.

              #25816
              webpres
              Participant

                Can’t clone due to SSL,I forgot.

                There is no way around convincing my client that I need FTP to fix it, I guess.

                Could’ve been that you knew the error and what might cause it.

                #25820
                Olly
                Admin & Mod

                  >Could’ve been that you knew the error and what might cause it.
                  no, as nobody else has a stripe error and it might well be caused by something else somewhere else (another plugin, theme, custom coding, php setup ….)

                  PS: if you use duplicator, you should be able to clone without ssl (if there’s a plugin that forces ssl , just delete it)
                  https://en-gb.wordpress.org/plugins/duplicator/

                  #25822
                  Olly
                  Admin & Mod

                    PS stripe does not need SSL in test mode

                    #25829
                    webpres
                    Participant

                      Thanks for the info, I managed to get access to FTP, and turned on WP_DEBUG

                      The error log file logs nothing besides:
                      [24-Feb-2017 14:13:58 UTC] PHP Notice: Constant WP_MEMORY_LIMIT already defined in /XXXXXXX/public_html/wp-config.php on line 103
                      [24-Feb-2017 14:14:11 UTC] PHP Notice: Constant WP_MEMORY_LIMIT already defined in /XXXXXXX/public_html/wp-config.php on line 103

                      The payment (in test mode) gets made (green Check appears) then the page gets reloaded and ends in an error (Message-Box: Internal Server Error)

                      The debug console says:
                      Failed to load resource: the server responded with a status of 500 (Internal Server Error)

                      Where do I go from here?

                      Thanks!

                      #25830
                      Olly
                      Admin & Mod
                        This reply has been marked as private.
                        #25834
                        Olly
                        Admin & Mod
                          This reply has been marked as private.
                          #25835
                          webpres
                          Participant

                            I did another test-Order, nothing gets logged except for:

                            [24-Feb-2017 15:07:17 UTC] PHP Notice: Constant WP_MEMORY_LIMIT already defined in /home/bellissi/public_html/wp-config.php on line 105
                            [24-Feb-2017 15:07:31 UTC] PHP Notice: Constant WP_MEMORY_LIMIT already defined in /home/bellissi/public_html/wp-config.php on line 105

                            You can’t access https://bellissimosg.ch/wp-content/debug.log but I can open it via FTP. There are only the WP_MEMORY_LIMIT warnings in there.

                            I would like to avoid changing theme since this is a live website.

                            The stripe-gateway does not create log files in the /log/ folder.

                            Any idea what to do next, do I have to switch theme and try that?

                            #25836
                            Olly
                            Admin & Mod
                              This reply has been marked as private.
                              #25837
                              Olly
                              Admin & Mod
                                This reply has been marked as private.
                                #25838
                                webpres
                                Participant
                                  This reply has been marked as private.
                                  #25839
                                  Olly
                                  Admin & Mod
                                    This reply has been marked as private.
                                    #25840
                                    webpres
                                    Participant
                                      This reply has been marked as private.
                                      #25841
                                      Olly
                                      Admin & Mod
                                        This reply has been marked as private.
                                        #25842
                                        webpres
                                        Participant
                                          This reply has been marked as private.
                                          #25845
                                          Olly
                                          Admin & Mod

                                            your first problem is certainly here

                                            you/someone has added
                                            define('WP_MEMORY_LIMIT', '256M');
                                            to the bottom of the wp-config.php

                                            it simply does not belong there and it will have no other effect except throwing errors
                                            any customisation of the wp-config belongs ABOVE

                                            /* That's all, stop editing! Happy blogging. */

                                            so – perhaps you are simply running out of memory when executing an order.
                                            i’ll do a test here regardless (with the proper wp-config.php) and let you know

                                          Viewing 20 posts - 1 through 20 (of 38 total)
                                          • The topic ‘Stripe Checkout returns Error: Internal Server Error’ is closed to new replies.