Fixed PayPal rest server errors

AndyB

Well-known member
Affected version
2.3.0 Beta 2
I got the following server error logs:

1711756160513.webp

pic001.webp

Stack trace:

#0 src/XF/Payment/PayPalRest.php(408): XF::handlePhpError(2, '[E_WARNING] Att...', '***', 408)
#1 src/XF/Payment/PayPalRest.php(369): XF\Payment\PayPalRest->verifyWebhookSignature(Object(XF\Payment\CallbackState))
#2 payment_callback.php(36): XF\Payment\PayPalRest->validateCallback(Object(XF\Payment\CallbackState))
#3 {main}
 
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.3.0 Release Candidate 5).

Change log:
Prevent server error when accessing `payment_callback.php?_xfProvider=paypalrest` directly
There may be a delay before changes are rolled out to the XenForo Community.
 
Back
Top Bottom