Error: Call to undefined method GuzzleHttp\Psr7\Response::xml()
src/addons/TC/PaygateYandexMoney/Payment/YandexMoney.php:253
Что надо поправить?
xf - 2.1.4
src/addons/TC/PaygateYandexMoney/Payment/YandexMoney.php:253
Code:
Stack trace
#0 src/addons/TC/PaygateYandexMoney/Payment/YandexMoney.php(53): TC\PaygateYandexMoney\Payment\YandexMoney->getPrice(Object(XF\Entity\PaymentProfile), '10.00', 'USD')
#1 src/XF/Pub/Controller/Purchase.php(30): TC\PaygateYandexMoney\Payment\YandexMoney->initiatePayment(Object(XF\Pub\Controller\Purchase), Object(XF\Entity\PurchaseRequest), Object(XF\Purchasable\Purchase))
#2 src/XF/Mvc/Dispatcher.php(321): XF\Pub\Controller\Purchase->actionIndex(Object(XF\Mvc\ParameterBag))
#3 src/XF/Mvc/Dispatcher.php(244): XF\Mvc\Dispatcher->dispatchClass('XF:Purchase', 'Index', Object(XF\Mvc\RouteMatch), Object(XF\Pub\Controller\Purchase), NULL)
#4 src/XF/Mvc/Dispatcher.php(100): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Pub\Controller\Purchase), NULL)
#5 src/XF/Mvc/Dispatcher.php(50): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#6 src/XF/App.php(2178): XF\Mvc\Dispatcher->run()
#7 src/XF.php(390): XF\App->run()
#8 index.php(20): XF::runApp('XF\\Pub\\App')
#9 {main}
Code:
Request state
array(4) {
["url"] => string(33) "/purchase/resource/?resource_id=8"
["referrer"] => string(44) "https://site.info/resources/deepsound.8/"
["_GET"] => array(1) {
["resource_id"] => string(1) "8"
}
["_POST"] => array(5) {
["payment_profile_id"] => string(1) "3"
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(23) "/resources/deepsound.8/"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}
Что надо поправить?
xf - 2.1.4