Intermitted order generation issues
https://www.tolivealie.com/store
v1.5.7
Only payment plugins
PHP Version 7.3.33 (Zend: 3.3.33)
Please move to payments section (or elsewhere) if needed. I'm having random issues, maybe every 20 orders, where I get Paypal payment but no order information at all. I can't seem to triangulate if they are closing their browser right when Paypal says complete or what exactly is happening here. The person may have existing orders when I look at the customer, may have a login count, but I have zero new order - no email, nothing in Orders, and the stock does not decrement.
This exact same thing is happening on a friends store. I tried his store and got no order through because he did not have SSL set up and my browser forces HTTPS but my site has a valid SSL certificate so that can't be the issue - but I'm mainly starting to troubleshoot my store to help him and obviously it's a big issue for me as well I have just been too busy to spend the time to figure this out.
This problem has been happening for a fairly long time, probably a few years, but is much more an issue now. My store was originally installed in 2009 on v1.3.8 and I have kept up with upgrades.
In looking, Paypal is not listed in Payment modules but I do see a Paypal IPN under customers. I do not see the order I got today that didn't come through but payment come through on this page. I guess the Paypal module changed where its located now from where I'm used to seeing it. Either that or one of my upgrades makes me not see it under payments.
Hopefully that is enough information to help me start to diagnose this. It is super strange to me that most orders come through fine, it's just certain ones don't.
1 Attachment(s)
Re: Intermitted order generation issues
Attachment 20041
FYI here is where I don't see the Paypal modules anymore
Re: Intermitted order generation issues
Quote:
Originally Posted by
wcbutler
You're seeing a 'partial whitepage', indicating that there's a PHP error in one of the payment modules. You can view the logs by (if you haven't already) enabling the "Display Logs" built-in plugin.
Re: Intermitted order generation issues
Also, once you get this fixed you will want to be sure you're using PayPal Express rather than PayPal Standard. The situation you are describing is one of the issues that can occur with PayPal Standard.
https://docs.zen-cart.com/user/payment/paypal_standard/
Re: Intermitted order generation issues
I'm on my phone and have been busy but I installed and enabled logs and it showed me a log to click on and I got a HTTP 500 reply.
Re: Intermitted order generation issues
Try to FTP to your site and pull down the logs to your computer. They're under the /logs folder.
Re: Intermitted order generation issues
[05-Jul-2022 20:45:50 UTC] Request URI: /store/index.php?main_page=checkout_shipping, IP address: xx.xx.xx.xx
#1 paypaldp->__construct() called at [/store/includes/classes/payment.php:78]
#2 payment->__construct() called at [/store/includes/modules/pages/checkout_shipping/header_php.php:225]
#3 require(/store/includes/modules/pages/checkout_shipping/header_php.php) called at [/store/index.php:35]
--> PHP Warning: Use of undefined constant MODULE_PAYMENT_PAYPALDP_MERCHANT_COUNTRY - assumed 'MODULE_PAYMENT_PAYPALDP_MERCHANT_COUNTRY' (this will throw an Error in a future version of PHP) in /store/includes/modules/payment/paypaldp.php on line 165.
[05-Jul-2022 20:45:50 UTC] Request URI: /store/index.php?main_page=checkout_shipping, IP address: xx.xx.xx.xx
#1 paypaldp->__construct() called at [/store/includes/classes/payment.php:78]
#2 payment->__construct() called at [/store/includes/modules/pages/checkout_shipping/header_php.php:225]
#3 require(/store/includes/modules/pages/checkout_shipping/header_php.php) called at [/store/index.php:35]
--> PHP Warning: Use of undefined constant MODULE_PAYMENT_PAYPALDP_MERCHANT_COUNTRY - assumed 'MODULE_PAYMENT_PAYPALDP_MERCHANT_COUNTRY' (this will throw an Error in a future version of PHP) in /store/includes/modules/payment/paypaldp.php on line 179.
[05-Jul-2022 14:12:48 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; rss_feed has a deprecated constructor in /store/includes/classes/rss_feed.php on line 14
[06-Jul-2022 13:45:10 UTC] Request URI: /store/index.php?main_page=rss_feed&feed=new_products, IP address: x.x.x.x
#1 require(/store/includes/modules/pages/rss_feed/header_php.php) called at [/store/index.php:35]
--> PHP Warning: A non-numeric value encountered in /store/includes/modules/pages/rss_feed/header_php.php on line 48.
Re: Intermitted order generation issues
Its mostly those three errors
Re: Intermitted order generation issues
Those are just warnings; there's another one out there.
But to fix the issue with MODULE_PAYMENT_PAYPALDP_MERCHANT_COUNTRY do a Remove and Re-Install of PayPal. Note your settings before doing this.
Re: Intermitted order generation issues
How do I remove this when I can't see these modules?
Re: Intermitted order generation issues
Confirming that all my Payment modules are messed up. Have no option to select, edit, install, etc any of the ones I see. Is there a way to reset this?
Re: Intermitted order generation issues
Temporarily remove the extra payment modules you have added from the folder
includes/modules/payment
Then see if things are back to normal.
Re: Intermitted order generation issues
Quote:
Originally Posted by
wcbutler
Confirming that all my Payment modules are messed up. Have no option to select, edit, install, etc any of the ones I see. Is there a way to reset this?
Do you have linkpoint_api.php in your /includes/modules/payment/ directory? If so, remove that file (it's obsolete anyway and was supposed to be deleted while doing your upgrades) and the admin should list all of your payment options.
Re: Intermitted order generation issues
Quote:
Originally Posted by
balihr
Do you have linkpoint_api.php in your /includes/modules/payment/ directory? If so, remove that file (it's obsolete anyway and was supposed to be deleted while doing your upgrades) and the admin should list all of your payment options.
I did have linkpoint. I moved that and some other modules into another directory and that opened back up my Paypal modules. I'll go ahead and delete that one.
Thank you both, am a few steps closer to having this fixed. This has been an issue for me for months so its very appreciated!
Re: Intermitted order generation issues
I moved all modules but linkpoint back in and that was the major problem there. Will disable Paypal Std and hopefully be good! Thank you for your help @swguy I owe you a coffee!