WPPizza – A Restaurant Plugin for WordPress › Support › Add-Ons › Gateways › Stripe › Stripe Checkout returns Error: Internal Server Error
- AuthorPosts
- 23 February, 2017 at 7:35 pm #25789
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:2https://…./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.
23 February, 2017 at 7:37 pm #25804you 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.loghttps://www.wp-pizza.com/topic/how-to-enable-debug-in-wordpress/
(the Unrecognized option ‘receipt_email’.is inconsequential )
24 February, 2017 at 11:13 am #25813This reply has been marked as private.24 February, 2017 at 11:15 am #25814you 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 logsthis cannot be solved without knowing what the exact error is you get server side
24 February, 2017 at 11:40 am #25815I 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.
24 February, 2017 at 11:46 am #25816Can’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.
24 February, 2017 at 12:15 pm #25820>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/24 February, 2017 at 12:16 pm #25822PS stripe does not need SSL in test mode
24 February, 2017 at 2:45 pm #25829Thanks 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 103The 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!
24 February, 2017 at 2:54 pm #25830This reply has been marked as private.24 February, 2017 at 3:14 pm #25834This reply has been marked as private.24 February, 2017 at 3:17 pm #25835I 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 105You 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?
24 February, 2017 at 3:21 pm #25836This reply has been marked as private.24 February, 2017 at 3:23 pm #25837This reply has been marked as private.24 February, 2017 at 3:24 pm #25838This reply has been marked as private.24 February, 2017 at 3:26 pm #25839This reply has been marked as private.24 February, 2017 at 3:27 pm #25840This reply has been marked as private.24 February, 2017 at 3:34 pm #25841This reply has been marked as private.24 February, 2017 at 3:35 pm #25842This reply has been marked as private.24 February, 2017 at 4:11 pm #25845your first problem is certainly here
you/someone has added
define('WP_MEMORY_LIMIT', '256M');
to the bottom of the wp-config.phpit 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 - AuthorPosts
- The topic ‘Stripe Checkout returns Error: Internal Server Error’ is closed to new replies.