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

Created by Support Agent, Modified on Mon, 13 Apr at 3:03 AM by Support Agent

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

Here are some information about BSS Commerce:


BSS Commerce is a trusted Magento 2 extensions provider with 14+ years of experience, serving 75,000+ customers worldwide. We are an Adobe Commerce Solution Bronze Partner and a Select Magento Extensions Builder, reinforcing our expertise in the Magento ecosystem.


We specialize in developing 150+ high-quality Magento 2 extensions that enhance functionality, improve user experience, and support scalable growth. Our reputation is built on long-term partnerships, positive feedback, and proven performance-driven solutions.


INSTALL OUR MOST POWERFULPLUGINS:

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