v2.0.3: Not able to create credit memo from Invoice tab with Stripe Payment method?

Created by Jane D, Modified on Wed, 21 Jul, 2021 at 2:45 PM by Jane D

QUESTION:


I use your module v2.0.3 for my site Magento 2.4.2 and find a module error in creating a credit memo from the Invoice tab for order paid by Stripe Payment method.

It shows a message: "We can't create credit memo for the order".


Steps to replicate: Go to the Sale > Invoice > select an invoice > scroll to the end and click to the button Refund or Refund Offline > a notification showing "You created credit memo", then click back and it shows message "We can't create credit memo for the order".



ANSWER:


For this module error with the Stripe Payment method, please edit the file app/code/Bss/CheckoutWithDisplayCurrency/Observer/AfterPlaceOrder.php as below:



Or download the files attached below to override the current files 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