Magento Order gets closed when doing a partial refund with adjustment fee in it - magento

I have an issue in magento enterprise as follows
Place an order with 3 items in it
Redeem some money from the
customer's store credit when placing the order. For example if 200
is the total order amount, 50 should be paid from the customer's
store credit and 150 should be paid as normal payment.
Ship the order via backend
Create credit memo for any 1 item in the
order.
Add 1 in the adjustment fee field in the credit memo form
Save the credit memo.
The credit memo is created successfully, but the order status becomes closed. Due to this I am not able to raise another credit memo next time If I need to refund any or the remaining items in the order. This issue happens only if customer has redeemed his store creid in the order amount.
Could somebody please help me on this?

Related

Magento - unable to refund

When attempting a full refund in Magento 1.7.0.2 (there is no Adjustment Refund or Adjustment Fee being applied) but we are receiving the following message
This Refund would exceed the amount of the original transaction.
As a test, we have a staging site setup where we have replicated and refunded the order without any issues.
Below are the order totals in Magento
Subtotal £7.49
Discount £1.12 (15% off)
Tax £2.07
Shipping £4.95
Grand Total £11.32
Logging into the Payment Provider system, show the grand total as £11.31
Any ideas about what might be happening and what we can look into would be greatly appreciated?
Refunds can only be performed if the amount is equal to or less then the original purchased amount. If it does not meet this criteria you cannot issue that refund.

Linking Sales Ticket and Refund Ticket in Java POS

In Openbravo POS when I'm refunding a sales ticket (assume its id to be 3980) and when I refund this ticket it generates a new ID(assume it to be 48). So, I want the refund Id(48) to be printed on the sales ticket whenever I do a refund. Does anyone has any idea how to do it?
You will actually have to modify the ticketline table and add a new column RefundedTicketId and link the ticketline for a sale to the ticketline of the refund. Note that the refund quantity maybe less than the original purchase. I am implementing this right now to prevent duplicate refunds. If anyone is interested i can post the highlight of the code.

Magento Refund Table

Where can I find the refund tables in Magento?
I want to find out if a person has received refund for a certain product or not?
If no refund tables how magento track that?
Refunding an Order in Magento does not cause an actual payment refund. You must refund the payment on your own. Credit Memo is only a record used to track the refunds and to provide proper values in the reports. Check the below link so that you can get more info about the table relations.
http://www.magento-exchange.com/magento-database/magento-1-4-database-er-diagram-for-sales-credit-memo-tables/

Magento cannot create credit memo

For certain orders I can't seem to create a credit memo.
I think the only thing these products have in common is that they have a "Fixed product tax" for their disposal fee.
When I disabled 'FPT' in System>configuration>Tax>"fixed product tax" it did change the display of the product in the order but not the fixed price.
For example, the product per unit price is 1640 including regular taxes.
The additional fee is 5 (so the total amount is 1645) but when I disable the FPT the subtotal excludes the fee but in the total the fee is still added.
Since they all where test orders they all need to be credited, but I get the following message when I try "Can not save credit memo".
We are running Magento version 1.4.0.1
In the Mage_Adminhtml_Sales_Order_CreditmemoController::saveAction method is written that if you have the 'Cannot save the credit memo.' error message, you should check the exception log file. Check it and maybe you will solve the problem. Otherwise come back to us with the error message.

how can i decrease the product price on cart page?

If the user has an existing account balance, I'd like to give him the option to specify how much of his previous balance to apply to the item and sync this info with the cart and order. I have already implemented the user's account balance, both on the front and back end.
Would a coupon-like system work best, or should I try something else?
Thanks in advance.
I would let the customer decrease its cart total with the balance would be more simple / logic for the customer also (?)
What E-commerce solution do you use? Magento(?) If so there are coupon extensions that can handle this.
You could also build a simple balance system where users would see there balance in there account ( if such feature is implemented) or just mail them a message with a unique code that you save in DB + the value of balance then use this code as a coupon on checkout.
We have created quite a few e-commerce solutions up to date. Usually, when user balance is involved, then what you do is create two transactions referred to one invoice. In the first transaction specify the amount taken from balance, where as leave the other transaction for whatever checkout method you use. Upon callback from the checkout, see if the balance paid matches the invoice to mark it as paid respectfully.
Alternatively, you can use discount - decrease user balance and add "discount" to the order. It all depends on your accounting needs and preferences.
On Amazon they allow you to apply any unused balance to the existing order. Its when you checkout that they say you have $150 credit on your account, would you like to apply this to your order, it defaults to yes in a tick box.
Its quite neat and simple, it doesn't allow you to apply a part amount from what I've seen.
Then when you go to payment you pay $total - balance.
So if you have $200 total, the payment via credit card would be for the $50.

Resources