Replies: 4 comments 2 replies
-
Ok found that the error is with the SSL, looking into that now |
Beta Was this translation helpful? Give feedback.
-
My guess is that the WordPress error isn't related to your issue - just something trying to figure out what exploits you have (pretty normal). The error for that will likely be found in your site's log file (storage/logs). It's weird it's only happening on Chrome and not Firefox though. |
Beta Was this translation helpful? Give feedback.
-
OK there were two issues, one with the ssl cert which i fixed and was unrelated to simple commerce. The second issue i found in the log files (thanks for the tip! i forgot about that one) and it may be a minor bug. With the simple commerce template, if you turn off the dummy gateway in config/simple-commerce and use only the stripe payment sandbox, checkout throws an error of "Gateway is a required field". However, the simple commerce starter kit checkout/gateways/_stripe.antlers.html file doesn't have a gateway field defined. Once i added it everything worked perfectly. Do you want me to file a bug report for that? |
Beta Was this translation helpful? Give feedback.
-
Are you still having issues here? |
Beta Was this translation helpful? Give feedback.
-
I have a commerce site setup and I tested it in firefox and no problem. In Chrome if i use the dummy gateway also no problem. but if i use stripe, wit with a real credit card the server returns with a 500 error. On my local server if i'm using the sandbox stripe account it works fine. just in production with a live credit card do i get the 500 error. Can't seem to figure out what's going on here. any idea where to start?
nginx error log is (removed ip address and website urls):
The error log is "Primary script is unknown"
2023/03/01 00:02:44 [error] 274356#274356: *771551 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: xxx.xxx.xxx.xx, server: website.com, request: "GET //xmlrpc.php?rsd HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php8.1-fpm.sock:", host: "website.com"
2023/03/01 01:15:44 [error] 598146#598146: *1465 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: xxx.xxx.x.xx, server: website.com, request: "POST /wp-cron.php?doing_wp_cron=1677633343.8520510196685791015625 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php8.1-fpm.sock:", host: "website.com", referrer: "https://website.com/wp-cron.php?doing_wp_cron=1677633343.8520510196685791015625"
2023/03/01 07:17:29 [error] 598146#598146: *14668 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: xxx.xxx.xxx.xx, server: website.com, request: "GET /wordpress/wp-admin/setup-config.php?step=1 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php8.1-fpm.sock:", host: "website.com"
No idea why in the end there it's trying to get a wordpress folder either. No wordpress sites have ever been installed on this server.
Beta Was this translation helpful? Give feedback.
All reactions