Skip to content
This repository has been archived by the owner on Feb 8, 2019. It is now read-only.

when a guest user hits on checkout button in the second time for purchasing the product then it's through an error #4

Open
anilahy opened this issue Mar 28, 2018 · 4 comments

Comments

@anilahy
Copy link

anilahy commented Mar 28, 2018

@pkarw
there is an issue when adding product as a guest user and completing the checkout form magento2
it works for the first time but repeating the same thing with gust user it gives a fatal error

@pkarw
Copy link
Contributor

pkarw commented Mar 28, 2018

Thanks for the report. Please provide us with the fatal error you're getting in this case

@anilahy
Copy link
Author

anilahy commented Mar 28, 2018

fatal error :
Fatal error: Uncaught TypeError: Return value of Divante\CartSync\Service\Sync::synchronizeGuestCart() must implement interface Divante\CartSync\Service\SyncInterface, boolean returned in /var/www/html/magento24/app/code/Divante/CartSync/Service/Sync.php:146 Stack trace: #0 /var/www/html/magento24/app/code/Divante/CartSync/Controller/Cart/Sync.php(105): Divante\CartSync\Service\Sync->synchronizeGuestCart('dface673e17a45e...') #1 /var/www/html/magento24/generated/code/Divante/CartSync/Controller/Cart/Sync/Interceptor.php(24): Divante\CartSync\Controller\Cart\Sync->execute() #2 /var/www/html/magento24/vendor/magento/framework/App/Action/Action.php(107): Divante\CartSync\Controller\Cart\Sync\Interceptor->execute() #3 /var/www/html/magento24/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\Action\Action->dispatch(Object(Magento\Framework\App\Request\Http)) #4 /var/www/html/magento24/vendor/magento/framework/Interception/Interceptor.php(138): Divante\CartSync\Controller\Cart\Sync\Interceptor->

@pkarw
Copy link
Contributor

pkarw commented Mar 28, 2018

@pkarw
Copy link
Contributor

pkarw commented Mar 29, 2018

I've added a feature request #7 that will solve the issue

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants