Fixed Undefined index: legacy

Snog

Well-known member
Affected version
2.0 Beta 6
I don't know if this is a bug or not, so feel free to move this thread if it's not.

I'm testing IPNs from the PayPal sandbox and I keep getting this server error:

Code:
[LIST]
[*]ErrorException: [E_NOTICE] Undefined index: legacy
[*]src/XF/Payment/PayPal.php:230
[*]Generated by: Unknown account
[*]Oct 12, 2017 at 3:23 PM
[/LIST]
Stack trace
#0 src/XF/Payment/PayPal.php(230): XF::handlePhpError(8, '[E_NOTICE] Unde...', '/var/www/client...', 230, Array)
#1 payment_callback.php(46): XF\Payment\PayPal->validatePaymentProfile(Object(XF\Payment\CallbackState))
#2 {main}
 
Top Bottom