This error is a live error on every production site that has paypal:
2024-06-06T00:08:12+00:00 Critical Uncaught InvalidArgumentException: PayPal order ID not found in meta.
… is looking for order meta ID on orders that are not yours (facepalm) and then breaking without error catching (facepalm), causing tons of stuff downstream (shipstation etc) to break (triple facepalm!).
For us, this caused us to send 17,000+ fng emails to customers OVER AND OVER again because shipstation couldn’t get a proper confirmation of notification – and that’s just on ONE website that only makes a few orders a day. 17 thousand freakin emails! Practically got us blacklisted from our email provider.
You programmed this as if only PayPal can be the order processor and nothing else without thinking about whether or not this could break stuff, which is like, the main job of a good programmer.
PLEASE don’t hook every order – ever – stick to your own orders, please!
UPDATE 6/11/24: Paypal release 2.8.0 with the fix for this issue.
-
This reply was modified 5 months, 2 weeks ago by mystyleplatform. Reason: update