What's new
Xen Factory

Register today to become a member! Once signed in, you'll be able to start purchasing our products, ask questions, request support and suggest new ideas!

  • We are aware that a no permission error was shown when you tried to purchase in the last 2 days, this is now fixed.

Bug Resolved Server Error When Purchasing

andy_mk3

Member
I am getting a server error when purchasing a product, right after accepting the t&c's.

Xenforo 2.1 RC2.
XFA Core 1.5.6
RMMP 4.1.4

Code:
Error: Class 'angelleye\PayPal\PPConfiguration' not found src/addons/XFA/Core/Service/PayPal/AbstractExpressCheckout.php:36
Generated by: Andy_Mk3 Jan 27, 2019 at 5:37 PM
Stack trace
#0 src/addons/XFA/Core/Service/PayPal/SetExpressCheckout.php(29): XFA\Core\Service\PayPal\AbstractExpressCheckout->__construct(Object(XF\Pub\App), '0')
#1 src/XF/Container.php(274): XFA\Core\Service\PayPal\SetExpressCheckout->__construct(Object(XF\Pub\App), '0')
#2 src/XF/App.php(1563): XF\Container->createObject('XFA\\Core\\Servic...', Array)
#3 src/XF/Container.php(228): XF\App->XF\{closure}('XFA\\Core\\Servic...', Array, Object(XF\Container))
#4 src/XF/App.php(2769): XF\Container->create('service', 'XFA\\Core:PayPal...', Array)
#5 [internal function]: XF\App->service('XFA\\Core:PayPal...', '0')
#6 src/XF/Mvc/Controller.php(738): call_user_func_array(Array, Array)
#7 src/addons/XFA/RMMarketplace/Pub/Controller/Purchase.php(182): XF\Mvc\Controller->service('XFA\\Core:PayPal...', '0')
#8 src/XF/Mvc/Dispatcher.php(321): XFA\RMMarketplace\Pub\Controller\Purchase->actionPurchase(Object(XF\Mvc\ParameterBag))
#9 src/XF/Mvc/Dispatcher.php(248): XF\Mvc\Dispatcher->dispatchClass('XFA\\RMMarketpla...', 'Purchase', Object(XF\Mvc\RouteMatch), Object(XFA\RMMarketplace\Pub\Controller\Purchase), NULL)
#10 src/XF/Mvc/Dispatcher.php(100): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XFA\RMMarketplace\Pub\Controller\Purchase), NULL)
#11 src/XF/Mvc/Dispatcher.php(50): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#12 src/XF/App.php(2177): XF\Mvc\Dispatcher->run()
#13 src/XF.php(390): XF\App->run()
#14 index.php(20): XF::runApp('XF\\Pub\\App')
#15 {main}
Request state
array(4) {
  ["url"] => string(50) "/forum/resources/97/market-place-purchase/purchase"
  ["referrer"] => string(66) "https://www.mk3oc.com/forum/resources/mk3oc-2019-desk-calendar.97/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(2) {
    ["xfa_agree"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
  }
}

I have PPConfiguration.php set up correctly in /internal_data/. I can't find an angelleye directory?
 

Clement

Freaky Coder
Staff member
Hum odd.

You do have a
namespace angelleye\PayPal;

at the top of the PPConfiguration.php file ?
 

andy_mk3

Member
I did not no, I think I must have had XF1 Config file in there by mistake. I make a new PPConf file and all is working.

Thank you.
 
Top