Questions tagged [creditmemo]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
5 views

Add Items To Credit Memo Email Template

I am looking to override the default Magento Sales New Credit Memo - Customer email template but I'm looking to have the email show the details for the item which has been refunded, as currently, the ...
0
votes
1answer
32 views

Create Credit memo using API in Magento 2

I am using the console command to delete an order item so I need also to create a credit memo based on the delete item price and refund the payment to the customer online using API. I used the ...
0
votes
3answers
399 views

Unable to create credit note, "Please enter positive number in this field." validation error for adjustment fields

Preconditions M2.4.3 Order with online or offline payment, and invoice Steps to reproduce Navigate to invoice, create the credit note Refund Shipping, Adjustment refund, Adjustment fee all 0 ...
0
votes
0answers
26 views

Change default input text in Credit Memo - Refund total

I am new for Magento and I have to handle the website after old guys out. So, I think I can't make a refund because of template put $ in text box and return false for Validation in 'view/adminhtml/...
0
votes
1answer
116 views

Change salable quantity and stock status of a simple product after a refund

I need to change the status of the stock to "in_stock" and return the simple product to salable quantity 1 when a refund is made in the case that the last simple product (color = black) of a ...
0
votes
1answer
21 views

Put qty back to stock on creditmemo magneto 2 programmatically

I am creating the credit memo from the front-end for the order. Saleable qty are returning back to stock, But Qty Per source is not returning back to stock. I have added this code to my controller. ...
0
votes
0answers
7 views

credit memo total line got a bad record

I have an order O1, with multiples products. THe products P1 has been refunded from the order. The totals are fine if we are just looking at the refund amount and the order. But, here comes the issue, ...
1
vote
0answers
27 views

Magento 2: Credit Memo refund amount in transactional email

So, I have a custom email setup for credit memo and I am using {{var creditmemo.grand_total}} variable to display refunded amount in my transactional email. Everything is fine except I want to show ...
0
votes
0answers
16 views

Magento 2 how custom fee refundable

Hi I am using extra fee third party module it working fine. Now I want able to add refund custom fee how can we able to add can an one explain <?php namespace Pawan\CustomTip\Model\Creditmemo\...
0
votes
0answers
21 views

how to make Extra Fee refundable for credit memo in Magento 2

Hi team I am using extra fee module it is working adding extra fee to order and invoices. I want refund extra fee when create credit memo how can implement extra fee editable in credit memo can any ...
1
vote
2answers
468 views

Magento 2 : Error "Unable to create credit memo for order"

I am getting this error while online refunding credit memo using a script. "Unable to create credit memo for order" error appear, this is due to this https://github.com/pepe1518/magento2/...
0
votes
1answer
136 views

Magento 2 : Error while creating credit memo for shipment using a custom script [closed]

Error - If the invoice was created offline, try creating an offline credit memo I am getting above error when refunding shipping amount "online". Can anybody please explain me why i am ...
1
vote
1answer
71 views

How to refund only part of an order programmatically

I am looking for a way to programmatically refund part of an order within a custom module. I have been following this blog post (https://www.rakeshjesadiya.com/create-creditmemo-for-order-item-in-...
1
vote
2answers
459 views

Magento 2 : Send custom credit memo email

Here is the scenario - I have credit memo id's, I need to check in those id's if credit memo is created from same order (if credit memo created for same order, then i need to merge those credit memo ...
1
vote
1answer
80 views

Magento 2 : change text "Refund Offline to Refund Store credit"

is their any way i can change this text of button ? https://www.awesomescreenshot.com/image/7867140?key=86b39c1af672331d41d7d7da1ae189af its credit memo button
1
vote
2answers
239 views

Magento 2 error : Registry key "current_creditmemo" already exists

I am getting this error by programmatically creating credit memo. any thoughts why this error is appearing ?
0
votes
1answer
82 views

Magento 2 : How to refund as per payment method using credit memo?

Is their any way to refund online to payment method within credit memo ? Please share your thoughts on this.
0
votes
0answers
19 views

Magento 2 : Create credit memo by Order

Is their any way we can create partial credit memo using order object & item ?
0
votes
0answers
17 views

Magento 2 : Credit memo error

I am getting these errors by creating error memo programatically Creditmemo Document Validation Error(s): A creditmemo can not be created when an order has a status of closed. The quantity to ...
0
votes
0answers
18 views

Magento 2: How to programatically create credit memo for order item & refund amount to store credit?

Is their any way we can create credit memo programmatically for a product and also refund as store credit in customer account ? Any thoughts ? Thankyou
0
votes
0answers
18 views

Magento 2 : From where is the order data gets set for credit memo, before issuing credit memo?

I am looking for a file from where is order is set for credit memo balance factory. Any thoughts from where its been set ? Thankyou
0
votes
0answers
122 views

Magento 2 : ERROR: Call to a member function getOrder() on null

I am not sure what is the issue, but i get this error ERROR: Call to a member function getOrder() on null in production site but not in local (i am using same version Magento ver. 2.4.1) I have ...
2
votes
0answers
39 views

How to determine refund type while issuing credit memo ? (Magento 2)

i am implementing an functionality where i need to determine refund type while issuing credit memo so based on that i can send different email template to customers. I have checked in Magento\Sales\...
0
votes
2answers
205 views

How to override items.phtml in module ? (Magento 2)

I am trying to override module-sales/view/frontend/templates/email/creditmemo/items.phtml file but no changes appearing. Is their any way i can override it in my module ? Thankyou
1
vote
0answers
15 views

How to get returned items in custom store credit email?

I have created a custom store credit email template, that will be used to sent as email for credit memo. I am not much sure how do i add the returned items in it. I have used {{layout handle="...
0
votes
0answers
88 views

Credit memo : Adjustment negative

I want to define a specific value for adjustment fee, for instance "10". So each refund will be decremented of this value. For example: A customer create an order (100), then create a return....
0
votes
0answers
48 views

How to create extra PDF credit memo?

I need to create a custom module to add an extra PDF to credit memo. The idea is to have and extra button near "Print" button, called "Print custom PDF" in the credit memo admin ...
0
votes
1answer
77 views

How to edit Order after invoice generated in magento2?

I know magento is not giving functionality to edit order after invoice is generated and payment is captured. Also cancel current order and create new order is option available. But I am finding actual ...
-1
votes
1answer
300 views

Credit Memo - doesn't recalculate tax Magento 2.3.4

Issue :- Credit Memo - doesn't recalculate tax Credit Memo - doesn't recalculate tax :- After add Adjustment Fee Tax not Calculate:- After adding Adjustment Fee tax should be 3.71$
1
vote
1answer
251 views

Layout handle not working in creditmemo admin email template

I'm trying to setup a creditmemo email template in M2 Admin, but the layout handle for displaying the creditmemo items isn't getting the order and creditmemo params. {{layout handle="...
0
votes
1answer
176 views

Magento 2 Why Credit memo reund tax from shipping cost?

When create a Credit memo, I don't want to credit the Shipping cost, So in the field Refund Shipping, I just write 0. but system still refund the tax part of the shipping cost. For example, if the ...
0
votes
1answer
314 views

Custom Creditmemo Plugin not getting called in magento 2

I have created extension attributes which i would like to use in my custom plugin.I want to call this plugin when after credit memo item is saved which happens when credit memo is saved(refund) But my ...
0
votes
0answers
79 views

How to insert data in custom coloumn in sales_creditmemo_item table from \Sales\Controller\Adminhtml\Order\Creditmemo\Save.php? magento 2

Basically I manually created custom column in my database named as item_number Now I want to insert data into this column from app\code\company\Sales\Controller\Adminhtml\Order\Creditmemo\Save.php and ...
0
votes
1answer
62 views

Magento2.3.3 - Where can I see the Store Credit amount of an user?

I'm using Magento2.3 Open Source. Here in the doc, you can see references to Store Credit in the Open Source version: If the purchase was paid with store credit, mark the Refund to Store Credit ...
0
votes
1answer
31 views

get creditmemo Pdf with template

I manage to obtain the creditmemos in pdf format via this code (for a webservice) $result = array(); //..... //.... Mage::app()->setCurrentStore($store_id); // my store id $CreditMemo = Mage::...
2
votes
1answer
434 views

magento 2: error braintree on refund - Notice: Trying to get property of non-object

I have this error on Magento 2.3.3 when I try to refund (credit memo) an order with braintree. Notice: Trying to get property of non-object in vendor/magento/module-braintree/Gateway/Validator/...
1
vote
0answers
341 views

Magento 2.2.2 order refund REST API Before Plugin get item order to refund

Vendor\Module\Plugin\Order\Plugin.php: namespace Vendor\Module\Plugin\Order; class Refund { /** * Create refund for invoice * * @param int $invoiceId * @param \Magento\Sales\...
1
vote
1answer
999 views

Magento 2 credit memo API observer/plugin

I'm interested to know if an observer or plugin will be trigger if a credit memo is created via API rest example: POST /V1/creditmemo/refund OR POST /V1/invoice/{invoiceId}/refund ref:https://devdocs....
1
vote
1answer
115 views

Magento 2 Credit memo array get only one item

public function execute() { $yourDate = date('2019-11-17'); $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $collection = $objectManager->get('Magento\Sales\...
3
votes
0answers
162 views

Admin side when Create Credit memo give error like No such entity with cartId = xxx in magento 2

when I am creating a new credit memo error generate like No such entity with cartId = xxx .so why this error generate anyone has a solution then give me. also, remove generated and var/*. Thank You
2
votes
1answer
489 views

Magento2 Credit memo error: "We found an invalid quantity to refund item"

When I tried to create credit memo of even simple product, it gives me errror message "We found an invalid quantity to refund item "product_name".". I am not managing stock in my website. Please help.
1
vote
0answers
463 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
1k 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
1answer
24 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
1answer
721 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
330 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
179 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
463 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
63 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
517 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 ...