Questions tagged [creditmemo]
The creditmemo tag has no usage guidance.
174
questions
0
votes
1
answer
14
views
Magento 2.4.2 Order Status stuck on processing
When an order comes in an invoice is created automatically and gets send out. I can also find that invoice when i click on the order. If I ship the order then, the shipment email goes out to the ...
0
votes
0
answers
16
views
Add custom creditmemo attribute to sales_creditmemo_grid table
I have added a custom attribute custom_status to the sales_creditmemo and the sales_creditmemo_grid tables via a InstallData script in a custom module, and added the custom field to the creditmemo ...
0
votes
0
answers
12
views
What's the logic behind Bundle product's "Dynamic" vs. "Fixed" price?
I recently found out that I was having issues with refunding the qty of some Bundle products, and so I fell into the rabbit hole of trying to figure out why this was happening.
After testing in a ...
0
votes
0
answers
23
views
Use custom Order item value in create credit memo template
I am trying to use an custom value from the order item table in the create credit memo template:
vendor/magento/module-sales/view/adminhtml/templates/order/creditmemo/create/items/renderer/default....
0
votes
0
answers
12
views
How to refund few amount to store credit and remaining amount to credit card
Using credit cart i have place order now i want to create credit-memo for that order and want to refund for that order.
I want X amount to refund in store credit and remaining (Y) amount to credit ...
0
votes
0
answers
9
views
After refund the order needs to remain unclosed magento 2
Sometimes we refund some amount to customers for promotional offers or if we delay shipment, as compensation.
if we have more than one item then it is ok but if we have a single item in order After ...
0
votes
1
answer
24
views
where can I find refunds in cash and refunds in store credit in the database?
I'm looking to compare refunds that have been paid in cash vs by store credit in the database, but I cannot find any info myself.
0
votes
0
answers
12
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
1
answer
125
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 ...
1
vote
3
answers
706
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
0
answers
33
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
1
answer
411
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
1
answer
78
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
0
answers
8
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
0
answers
36
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
0
answers
23
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
0
answers
25
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
2
answers
685
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
1
answer
221
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
1
answer
186
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
2
answers
658
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
1
answer
102
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
2
answers
394
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
1
answer
161
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
0
answers
28
views
Magento 2 : Create credit memo by Order
Is their any way we can create partial credit memo using order object & item ?
0
votes
0
answers
26
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 ...
2
votes
0
answers
40
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
2
answers
364
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
0
answers
18
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
0
answers
56
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
1
answer
108
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
1
answer
421
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
1
answer
327
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
1
answer
226
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
1
answer
380
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
0
answers
94
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
1
answer
76
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
1
answer
35
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
1
answer
495
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
0
answers
426
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
1
answer
1k
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
1
answer
149
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
0
answers
187
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
1
answer
605
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
0
answers
495
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
1
answer
2k
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
1
answer
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
1
answer
783
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
1
answer
356
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
0
answers
191
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 ...