v1.0.6: How to fix the error apply gift card code on M2.2.4?

Created by Jane D, Modified on Tue, 11 May, 2021 at 10:54 AM by Jane D

QUESTION:


I purchased the module and installed its version 1.0.6 on my site Magento 2.2.4. 

After applying the gift code to the checkout page, the page got stuck on loading and the payment summary not update.


Do you have a fix available?


ANSWER:


The issue happened since the class Magento\Quote\Model\MaskedQuoteIdToQuoteIdInterface does not exist on M2.2.x.


To fix this error, please edit file app/code/Bss/GiftCard/Model/GiftCard.php as below:



Or download the file attached and override the current file on your site.


 If you need any further assistance, please feel free to contact us. We'd be happy to support!  

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article