Jump to content
thirty bees forum
  • 0

PayPal Login - error exception


Pedalman

Question

I already started a thead about TB1.3 and Shoply theme and critical issues I noticed. But this one seems to be related to TB1.3 exclusively (at least I hope so):

If PayPal module is installed and actived all is fine as long the PayPal login feature is not actiaved. If so, cart page crashes. Debug mode gives me this:

``` Notice: Undefined property: stdClass::$accesstoken in C:\xampp\htdocs\ps-backuplive-tb-shoply\modules\paypal\classes\PayPalLogin.php on line 226 Call Stack: 0.0004 142856 1. {main}() C:\xampp\htdocs\ps-backuplive-tb-shoply\index.php:0 0.1274 9271280 2. DispatcherCore->dispatch() C:\xampp\htdocs\ps-backuplive-tb-shoply\index.php:33 0.1581 10320392 3. ControllerCore->run() C:\xampp\htdocs\ps-backuplive-tb-shoply\classes\Dispatcher.php:743 0.2948 17085968 4. OrderControllerCore->initContent() C:\xampp\htdocs\ps-backuplive-tb-shoply\classes\controller\Controller.php:366 0.5970 28616432 5. ParentOrderControllerCore->assignSummaryInformations() C:\xampp\htdocs\ps-backuplive-tb-shoply\controllers\front\OrderController.php:317 0.6337 29363624 6. HookCore::exec() C:\xampp\htdocs\ps-backuplive-tb-shoply\controllers\front\ParentOrderController.php:431 0.6337 29363784 7. HookCore::execWithoutCache() C:\xampp\htdocs\ps-backuplive-tb-shoply\classes\Hook.php:280 0.6339 29366624 8. HookCore::coreCallHook() C:\xampp\htdocs\ps-backuplive-tb-shoply\classes\Hook.php:489 0.6339 29366816 9. PayPal->hookShoppingCartExtra() C:\xampp\htdocs\ps-backuplive-tb-shoply\classes\Hook.php:771 0.6436 29407416 10. PayPal->getTrackingCode() C:\xampp\htdocs\ps-backuplive-tb-shoply\modules\paypal\paypal.php:1194 0.6481 29612696 11. PayPalModule\PayPalLogin->getRefreshToken() C:\xampp\htdocs\ps-backuplive-tb-shoply\modules\paypal\paypal.php:1220 Notice: Undefined property: stdClass::$expiresin in C:\xampp\htdocs\ps-backuplive-tb-shoply\modules\paypal\classes\PayPalLogin.php on line 227 Call Stack: 0.0004 142856 1. {main}() C:\xampp\htdocs\ps-backuplive-tb-shoply\index.php:0 0.1274 9271280 2. DispatcherCore->dispatch() C:\xampp\htdocs\ps-backuplive-tb-shoply\index.php:33 0.1581 10320392 3. ControllerCore->run() C:\xampp\htdocs\ps-backuplive-tb-shoply\classes\Dispatcher.php:743 0.2948 17085968 4. OrderControllerCore->initContent() C:\xampp\htdocs\ps-backuplive-tb-shoply\classes\controller\Controller.php:366 0.5970 28616432 5. ParentOrderControllerCore->assignSummaryInformations() C:\xampp\htdocs\ps-backuplive-tb-shoply\controllers\front\OrderController.php:317 0.6337 29363624 6. HookCore::exec() C:\xampp\htdocs\ps-backuplive-tb-shoply\controllers\front\ParentOrderController.php:431 0.6337 29363784 7. HookCore::execWithoutCache() C:\xampp\htdocs\ps-backuplive-tb-shoply\classes\Hook.php:280 0.6339 29366624 8. HookCore::coreCallHook() C:\xampp\htdocs\ps-backuplive-tb-shoply\classes\Hook.php:489 0.6339 29366816 9. PayPal->hookShoppingCartExtra() C:\xampp\htdocs\ps-backuplive-tb-shoply\classes\Hook.php:771 0.6436 29407416 10. PayPal->getTrackingCode() C:\xampp\htdocs\ps-backuplive-tb-shoply\modules\paypal\paypal.php:1194 0.6481 29612696 11. PayPalModule\PayPalLogin->getRefreshToken() C:\xampp\htdocs\ps-backuplive-tb-shoply\modules\paypal\paypal.php:1220 [ThirtyBeesException]

Property PayPalModule\PayPalLoginUser->access_token is empty at line 1022 in file classes/ObjectModel.php

  1. }
  2. $message = $this->validateField($field, $this->$field);
  3. if ($message !== true) {
  4. if ($die) {
  5. throw new PrestaShopException($message);
  6. }
  7. return $errorReturn ? $message : false;
  8. }
  9.       }
    

    ObjectModelCore->validateFields - [line 321 - classes/ObjectModel.php] ObjectModelCore->getFields - [line 752 - classes/ObjectModel.php] ObjectModelCore->update - [line 540 - classes/ObjectModel.php] - [1 Arguments] ObjectModelCore->save - [line 228 - modules/paypal/classes/PayPalLogin.php] PayPalModule\PayPalLogin->getRefreshToken - [line 1220 - modules/paypal/paypal.php] PayPal->getTrackingCode - [line 1194 - modules/paypal/paypal.php] - [1 Arguments] PayPal->hookShoppingCartExtra - [line 771 - classes/Hook.php] - [1 Arguments] HookCore::coreCallHook - [line 489 - classes/Hook.php] - [3 Arguments] HookCore::execWithoutCache - [line 280 - classes/Hook.php] - [7 Arguments] HookCore::exec - [line 431 - controllers/front/ParentOrderController.php] - [2 Arguments] ParentOrderControllerCore->_assignSummaryInformations - [line 317 - controllers/front/OrderController.php] OrderControllerCore->initContent - [line 366 - classes/controller/Controller.php] ControllerCore->run - [line 743 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 33 - index.php]```

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

just installed a clean TB1.3 and installed its PayPal module, filled it with sandbox data and: all is fine !

Good new for you bad for me :(

On all occasions where I can test (locally with Xampp, live clone and live server) each time it crashes in the way as described. To be said that each installation is my old Prestashop V1.6.15 that I migrated to TB1.0, updated to TB1.3 and on which I run my 'Shoply' theme from IQUIT.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...