Solved Visiting a bare /payment_callback.php?_xfProvider=stripe causes an internal server error

This topic has been solved
X

Xon

Guest
Touching the payment provider callback URL via GET causes an internal server error instead of the silently doing nothing.

Code:

Code:
An exception occurred: [ErrorException] [E_WARNING] Undefined array key "object" in src/XF/Payment/Stripe.php on line 689

XF::handlePhpError() in src/XF/Payment/Stripe.php at line 689
XF\Payment\Stripe->setupCallback() in payment_callback.php at line 37

array(4) {
  ["url"] => string(40) "/payment_callback.php?_xfProvider=stripe"
  ["referrer"] => bool(false)
  ["_GET"] => array(1) {...

Read more

Continue reading...