klaviyo / magento2-klaviyo

37 stars 51 forks source link

Update checkout rebuilding #107

Closed remstone7 closed 3 years ago

webdev2k21 commented 3 years ago

Hi,

On Magento 2.3.3 when we apply coupon code getting the error as below.

{"messages":{"error":[{"code":500,"message":"Fatal Error: 'Uncaught TypeError: Argument 2 passed to Klaviyo\Reclaim\Plugin\Api\CartSearchRepository::afterGetList() must be an instance of Magento\Quote\Model\CartSearchResults, instance of Magento\Framework\Api\SearchResults given, defined in \/var\/www\/html\/magento2\/app\/code\/Klaviyo\/Reclaim\/Plugin\/Api\/CartSearchRepository.php:49

remstone7 commented 3 years ago

Thanks @webdev2k21 we will look into this

klaviyojad commented 3 years ago

@webdev2k21 it appears to be a problem where your version does not have it like the 2.3 version magento has here: https://github.com/magento/magento2/blob/2.3/app/code/Magento/Quote/Model/CartSearchResults.php I know they must have updated it after the fact because I can see 2.3.3 does not have it https://github.com/magento/magento2/tree/2.3.3/app/code/Magento/Quote/Model

I wonder if there is way to be still on 2.3 and get the latest updates for module-quote ?