Subi888
Member
Hey guys, for quite some time i am unable to solve this stripe XF bug that pops up every time i try to purchase an account upgrade as a user.
Here is the error:
#1 src/XF/Pub/Controller/Purchase.php(60): XF\Payment\Stripe->processPayment(Object(XF\Pub\Controller\Purchase), Object(XF\Entity\PurchaseRequest), Object(XF\Entity\PaymentProfile), Object(XF\Purchasable\Purchase))
#2 src/XF/Mvc/Dispatcher.php(352): XF\Pub\Controller\Purchase->actionProcess(Object(XF\Mvc\ParameterBag))
#3 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XFurchase', 'Process', Object(XF\Mvc\RouteMatch), Object(XF\Pub\Controller\Purchase), NULL)
#4 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Pub\Controller\Purchase), NULL)
#5 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#6 src/XF/App.php(2345): XF\Mvc\Dispatcher->run()
#7 src/XF.php(512): XF\App->run()
#8 index.php(20): XF::runApp('XF\\Pub\\App')
#9 {main}
["url"] => string(79) "/upload/index.php?purchase/process&request_key=XFoN1EW5w6Efp53o4OXIMW2tP7JMAJEf"
["referrer"]
["_GET"] => array(2) {
["purchase/process"] => string(0) ""
["request_key"] => string(32) "XFoN1EW5w6Efp53o4OXIMW2tP7JMAJEf"
}
["_POST"] => array(5) {
["payment_method_id"] => string(27) "pm_1Jn54YEdWaAI8WcOlcNdtCyT"
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(34) "/upload/index.php?account/upgrades"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}
Does anybody know what the hell is going on ?
Thanks
Here is the error:
Stack trace
#0 src/XF/Payment/Stripe.php(397): XF::handlePhpError(8, '[E_NOTICE] Tryi...', '/home/eicrichar...', 397, Array)#1 src/XF/Pub/Controller/Purchase.php(60): XF\Payment\Stripe->processPayment(Object(XF\Pub\Controller\Purchase), Object(XF\Entity\PurchaseRequest), Object(XF\Entity\PaymentProfile), Object(XF\Purchasable\Purchase))
#2 src/XF/Mvc/Dispatcher.php(352): XF\Pub\Controller\Purchase->actionProcess(Object(XF\Mvc\ParameterBag))
#3 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XFurchase', 'Process', Object(XF\Mvc\RouteMatch), Object(XF\Pub\Controller\Purchase), NULL)
#4 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Pub\Controller\Purchase), NULL)
#5 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#6 src/XF/App.php(2345): XF\Mvc\Dispatcher->run()
#7 src/XF.php(512): XF\App->run()
#8 index.php(20): XF::runApp('XF\\Pub\\App')
#9 {main}
Request state
array(4) {["url"] => string(79) "/upload/index.php?purchase/process&request_key=XFoN1EW5w6Efp53o4OXIMW2tP7JMAJEf"
["referrer"]
["_GET"] => array(2) {
["purchase/process"] => string(0) ""
["request_key"] => string(32) "XFoN1EW5w6Efp53o4OXIMW2tP7JMAJEf"
}
["_POST"] => array(5) {
["payment_method_id"] => string(27) "pm_1Jn54YEdWaAI8WcOlcNdtCyT"
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(34) "/upload/index.php?account/upgrades"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}
Does anybody know what the hell is going on ?
Thanks
Last edited by a moderator: