The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [creditmemo]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
15 views

Credit Memo Missing in Invoice Magento 2.2.7

I'm using Magento community version 2.2.7 for a multi-store website and for a completed credit card order with a paid invoice when I open the invoice to do an online refund the credit memo button is ...
1
vote
1answer
30 views

Magento 2 - Create partial Credit Memo programmatically

I can create Credit Memo for invoice as given in this link. Can anyone please help me to create Credit Memo with partial products and not returning all the products in invoice.
0
votes
0answers
9 views

Magento2 Credit Memo displaying $0.00 totals and subtotals in email

I just started creating credit memos for orders returned. Customer gets refunded the proper amount and the print PDF receipt shows the proper totals. However, in the email sent to the customer, the ...
0
votes
0answers
20 views

Pop-up when clicking on Credit Memo on order

I'm working on a payment service provider for Magento 2. Whenever I use a different payment service provider for Magento 2 and click on Credit Memo on a order it gives me a pop-up saying: This will ...
0
votes
1answer
16 views

M1.x Is Magento updated_at changed on Credit Memo / Refund when using Mage::getModel('sales/order')->getCollection()?

Is Magento updated_at changed on Credit Memo / Refund when using Mage::getModel('sales/order')->getCollection()? We use Mage::getModel('sales/order')->getCollection() to find orders that have ...
0
votes
0answers
6 views

Magento 1.x - How can I trigger a Credit Memo email to the customer for Online Refund *only*

I know how to set a trigger in settings to send emails to customers when a credit memo is created. Also there is a button to append comments yes or no. My question is: how do I trigger an email to ...
0
votes
0answers
31 views

Magento 1.9 : Add column to credit memo show in grid in backend

Not a magento developer. Was wondering if there was a way to add another column to the Credit Memo section on the admin panel? I would like to get the column to display the orders by order status. ...
0
votes
0answers
34 views

How to show Update Totals button on credit memo page in Magento 2

In credit memo page update total button is not showing after installation of the extension. How to add the update total button in that extension code. Please find the layout and template file in that ...
0
votes
0answers
20 views

Magento 1 programmatically creating a credit memo has incorrect behavior

The question of how to create a credit memo in Magento 1 has been asked several times and answered in a few different ways. With each one, I'm yielded slightly different results but ultimately each ...
0
votes
0answers
13 views

How to clone ccsave on Magento?

I need to clone this module to use it multiple times. The information will go exactly to the same columns of the tables but the information will change and for this reason, I need to clone the module ...
0
votes
0answers
40 views

Upgrading from Magento 2.2.6 to 2.3.1 broke credit memo partial refund functionality

In credit memo, there is a field "Adjustment Refund" on the bottom. Before upgrading to 2.3.1 If I entered a value in this field, there was an "Update Totals" Button which would update total. But ...
0
votes
0answers
23 views

How can i add checkbox under email copy of credit memo need to show (Refund to store credit) in credit memo page in magento 2?

In my custom module, I need to add checkbox under email copy of credit memo with a value field like(Refund to store credit) shown in the picture. How can I achieve this?
0
votes
1answer
75 views

How to get Creditmemo ID from sales_order_creditmemo_refund?

If I observe sales_order_creditmemo_refund event, there’s no entity_id or increment_id data in the passed object. I presume those are added before the sales_order_creditmemo_safe_after event. However,...
0
votes
1answer
112 views

Credit Memo Subtotal Mismatch magento 2.2.8

I'm Trying To change Subtotal For The item In Credit Memo Email Product Price:- 4.99 I am creating a credit memo for 10 product but Subtotal is a mismatch The grand total is correct. how can I ...
0
votes
0answers
34 views

Credit Memo - 'Email Copy of Credit Memo' how to set default ON

How to set the 'Email Copy of Credit Memo' checkbox to a default value of checked? (So to negate the requirement to check the box every time) Is there anyway to override the single input line within ...
0
votes
1answer
38 views

Magento 2: How to disable Adjustment Fee field ONLY

I want to disable only the adjustment field from the refund section I already created a custom template called adjustments.phtml which basically it haves all the html <tr> <td class="...
0
votes
1answer
39 views

Please confirm returns logic

I'm very new on Magento 2 framework. Can anyone help me from this problem? I Don't know how it actually product returns work. Is there any standard Magento logic for returns or can you advise on ...
0
votes
1answer
159 views

Create credit memo for my payment method

I'm making a new payment method for Magento 1.9. for now I can make an order and have the invoice correctly. I wane to add the possibility to make credit memos using my payment method, but i can't ...
0
votes
1answer
327 views

Update Text in credit memo email template

app\design\frontend\Theme\name\Magento_Sales\templates\email\creditmemo\items.phtml Below script showing total related details in refund email template. <tfoot class="order-totals"> <?= $...
1
vote
0answers
35 views

Canceling credit memo gives error

I am canceling credit memo using below code: foreach ($collection as $creditmemo) { if($creditmemo->getState() != 3){ $order = $creditmemo->getOrder(); $creditmemo-&...
0
votes
0answers
62 views

Issue with subtotal when calcuate tax for credit memo adjustment refund

I am using Magento1.9.2.4, And want tax for adjustment refund as well that given in credit memo module. I followed this link's one of the solutions to achieve this: Is it possible to refund tax on a ...
5
votes
1answer
129 views

magento2 add credit memo for invoice with items

I am trying to add partial credit memo programatically but it is consuming whole quantity in first credit memo, How can I pass specific items to credit memo? public function createCreditMemo ($...
0
votes
2answers
545 views

Magento 2 - Change order status when Credit memo created

Below code to create credit memo programmatically public __construct( \Magento\Sales\Model\Order $order, \Magento\Sales\Model\Order\CreditmemoFactory $creditmemoFactory, \Magento\Sales\...
0
votes
3answers
380 views

Magento 2 from which database table data comes to credit memo grid.

I need to add custom diiscount to credit memo grid, I added to invoice grid as data populated from sales_invoice table but unable to find table to credit memo.
2
votes
0answers
72 views

partially refund not working proper

i have try to refund invoice in following code $invoice = $this->_invoiceService ->prepareInvoice($order_refund,$itemsArray); $invoice ->setRequestedCaptureCase ...
0
votes
2answers
140 views

Magento 2 - Default Refund Shipping charge to be 0 on Credit Memo

I don't want to refund the shipping charge on issuing a refund. How to i set it to 0 by default.
1
vote
1answer
263 views

Delete all order,invoice,credit memo, and shipment in magento 2

How to delete all magento 2 order, invoice, shipment, and credit memo, and reset the increment_id too using php code?
2
votes
0answers
254 views

How to create mass credit memos magento 2?

Total noob in magento here. What I want is to select a bunch of orders, and create credit memos for them if their status is completed, and after the creditmemo is created, I want to set their ...
2
votes
0answers
218 views

Magento 2 credit memo does not return Item to stock

My requirement was qty decrease by invoice generation instead order & it's also working fine So, for that I have did some configuration on magento back end, (I have attached screenshot for that). ...
0
votes
1answer
64 views

Add editable text input to creditmemo totals

How to change the -€5.00 simple text to a text input field (editable) ? This is how I add the totals: <?php namespace My\Discount\Block\Adminhtml\Sales\Order; class Totals extends \Magento\...
0
votes
1answer
435 views

Change order state from processing to closed

How can I change order state from processing to closed in Magento 1.9? Normal Magento workflow says that we can get status as closed after creating the credit memo. In my application, I can create ...
0
votes
1answer
254 views

Manage Order “Credit Memo” Error in Magento 2.2.1

I use Magento 2.2.1 I get this error after a customer places an order and i click on "Credit Memo" at Sales-> Orders-> view(or click on an order) -> Credit Memo 1 exception(s): Exception #0 (...
1
vote
2answers
2k views

magento 2 Programmatically create a credit memo by script [duplicate]

Given an order that has been invoiced (by cash on delivery for testing) and is in state "processing", how can I create a credit memo? in code that is outside of Magento routing EDIT: I have found ...
0
votes
1answer
421 views

Magento 2 Credit Memos : Template override doesn't work after clicking “Update Qty's” button

I am creating a custom module to simplify the Credit Memo creation for admin users. One of the features is hiding the "Return to Stock" column. I have overwritten 2 files for this: vendor/magento/...
0
votes
1answer
21 views

Does giving someone credit in the Admin panel issue the credit through Paypal?

Magento 1.9.1 Paypal Payments Pro (Includes Express Checkout) If I give somebody a credit on the back-end (in the Admin panel) - does that go trough on Paypal automatically?
2
votes
0answers
50 views

How Magento 2.2.2 creditmemo create and save functionality work [closed]

While working on custom creditmemo functionalities, I created this flow diagram to show a high level view, how Magento 2.2.2 performs creditmemo create/save operation from admin area.
1
vote
0answers
227 views

How to do multiple partial online refunds?

I am trying to perform online partial refund on Magento 2.2.0, but once I press on creditmemo button in invoice page, and first partial refund is performed, you cannot perform another partial refunds ...
1
vote
0answers
87 views

How to unchecked Return to Stock checkbox of new credit memo in magento 1.9?

I am working on Magento 1.9.2 The problem I am facing is when we create new credit memo there is the list of ordered items in the list where you can tick on the product to make it return to stock or ...
0
votes
1answer
57 views

Magento 1.9 : Class 'Mage_Creditmemoexport_Helper_Data' not found

I am creating a module for exporting Creditmemo data in xml but I am getting following error. I have checked everything but I am unable to find the bug please help me. Config.xml <?xml version="1....
0
votes
2answers
928 views

Delete/undo wrong credit memo

I need to remove/undo a wrong credit memo. Can anyone confirm that the following code is correct/save to achieve this? UPDATE `sales_flat_order` SET `base_discount_refunded`=null, `...
3
votes
0answers
238 views

Add Custom Attribute to Credit Memo and Show it at Grid

In credit memo grid there are some column originally defined I want to add new column, by adding custom attribute with datetime type to credit memo, is there a way to add this custom attribute to ...
3
votes
1answer
598 views

Magento 2.2.0 partial Credit Memo/Refund doesn't work properly

We have to try partial credit memo for Magento 2.2.0 shop admin for below step: 1) Proceed order with default payment and Grand Total are €37.00 2) Create the Invoice. 3) Try to Credit memo with ...
0
votes
1answer
148 views

Get refunded items (only simple products: qty and price) programmtically

I have wrote a script to try to get the refunded items qty and price foreach($credit_memos as $credit_memo) { $items = $credit_memo->getAllItems(); foreach ($items as $item) { ...
1
vote
1answer
415 views

Magento 2.1: Delete credit memo

Is there a way to delete just a credit memo? I have seen some code snippets & extensions that delete whole orders with all linked invoices, shipments & credit memos, but I just want to delete ...
1
vote
1answer
284 views

Check if Invoice can be refunded online programmatically

Is it possible to check programmatically if an given invoice can be refunded online via a payment gateway like Paypal/Braintree?
2
votes
2answers
878 views

How to override a block without name?

I am trying to override following file module-bundle/view/adminhtml/layout/sales_order_creditmemo_new.xml <?xml version="1.0"?> <!-- /** * Copyright © 2016 Magento. All rights reserved. ...
0
votes
0answers
115 views

Magento 2 not able to get creditmemo collection

I am trying to get credit memo collection with following script but am unable to get the collection class Creditmemosync extends \Magento\Framework\App\Action\Action { protected $helper; protected $...
0
votes
1answer
1k views

Magento 2 : Retrieve Credit Memo

I'm new to Magento2 API, I'm trying to retrieve credit memo based on order ID, but it seems to fail to retrieve. Any ideas how to get the credit memo data? $credit_memo = $orderCollection->...
4
votes
0answers
442 views

Magento 1.9 : Add form field to Admin Credit Memos

I need to add custom dropdowns to the Credit Memo create form. I read that you should be able to add a simple field without having to rewrite core code. The following line fails in the Observer: $...
0
votes
1answer
50 views

How to update Customer Order in Magento 1.9.3.1

Customer purchased Product X. We shipped Product Y. Now I want remove Product X and add Product Y in the Sales Order or Sales Invoice.