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.
Related
Could somebody helpme pelase?. I see that Magento in almost all my orders is calculating a tax named hidden_tax_amount . What does this value is related with?. And how can I disable it?.
Here you can see what I'm talking about.
[hidden_tax_amount] => 4.3000
[base_hidden_tax_amount] => 4.3000
[hidden_tax_invoiced] => 4.3000
[base_hidden_tax_invoiced] => 4.3000
Edit:
Ok, I've been digging in my code and fount that this field was introduced in 1.6.0.0 (Mage/Sales/sql/sales_setup/mysql4-upgrade-1.5.9.9-1.6.0.0.php:1616) and the value is get or set here
Mage/Tax/Model/Sales/Total/Quote/Tax.php:391: $address->setShippingHiddenTaxAmount(0);
Mage/Sales/Model/Order/Invoice/Total/Tax.php:85: $totalHiddenTax += $order->getShippingHiddenTaxAmount();
And in Mage/Tax/Helper/Data.php you can find in line 1114 to 1116 the following condition
if ($current->getShippingHiddenTaxAmount() > 0) {
$taxClassAmount[0]['hidden_tax_amount'] = $current- >getShippingHiddenTaxAmount();
}
Then researching more about the issue I found that:
"hidden_tax_amount" holds the substraction of the actual tax amount (on the current order) from the tax amount that should have been applied if there was no discount http://forum.azmagento.com/how-to/grand-total-calculation-v142--82183.html .
What leads me to the point that this is due a wrong tax configuration from my side rather than a bug and is related with a shipping tax. If so, could some body point me in the correct direction please?
Thankyou very much!
For anyone looking to understand the porpouse of hidden_tax_amount let me tell you that is not a bug or a missconfiguration, it's a feature:
it is used by Magento to calculate the amount of tax that is not originally calculated when a product that has a tax is under discount.
For example, you have:
a product named "Pencil" with price of $100.00 and a tax of 16% so the final price will be $116.
a coupon code with 10% off for all the Pencils
(This is important) your store is configured to calculate the discount after tax.
The user will see a final price including tax of 104.4 that is the result of 116 - 11.6. And that is correct.
But legally you can't discount any amount from tax because your base tax is still 100 and not 104.4.
Then Magento hiddes that quantity of money in hidden_tax_amount.
For accounting porpouses this process is correct. Then you can show that value as Tax.
Hope this helps someone else!
I had to give the Magento tax/discount issue some serious thought recently.
To set this problem up, assume there are four parties involved in a transaction, the wholesaler, the retailer, the consumer and the tax man. Assume the retailer is selling an item for £100 to the consumer (including tax), the tax rate is 20% and the wholesaler is providing a 10% discount on the item
The vital point here is that the 10% discount is offered by the wholesaler, not by the retailer. The retailer will get the full £100 for the item, with the consumer paying £90 and the wholesaler making up the remaining £10.
The retailer owes tax on the full amount paid. That is, at a tax rate of 20% £15 of the £90 paid for by the consumer is tax, and £1.67 of the £10 paid by the wholesaler is tax, giving a total tax bill of £16.67 or 20% of the net price (£83.33).
When the consumer receives their invoice, it makes sense to show them only the tax that they have paid, not the total tax paid on the item. However for the retailers accounting, they need to see all the tax that is due, that is the tax due on the portion paid by the consumer paid and the tax due on the portion paid by the wholesaler.
The hidden tax is still tax which has to be paid by the retailer, but it should be hidden from the consumer, because its nothing to do with their part of the transaction.
We are using Magento EE 1.12. We have associated fees with individual products that cannot be taxed, however the product itself can be. The desired solution will be similar to a custom option where the fee is included on the same line item as the product and included in the product's price and therefore in the order subtotal. The only problem with a custom option is that the fee is taxed along with the product.
We've gone through several scenarios but I think the most likely solution is to use a custom option, but after the tax has been calculated we will reduce the tax to the correct amount. We tax on the subtotal and shipping. We will have access to the amount of fees so we can get the tax on that total and reduce the order tax amount.
Does this seem like a good solution? Does anyone have other ideas?
Make it a bundle product, and put in a product which is not taxable.
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.
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.
I have one query for USPS shipping method in Magento. If I don’t know and i don’t enter the weight of the product in magento, then how USPS will count the cost?
I want where if total amount to pay is over $50 then FREE Shipping will go else it will show fix $5 rate for USPS. I almost have same weight small products so I don't want cost to be calculated. I just want user to know that via USPS, their parcel will come and for that they need to pay more $5 charge.
Can anyone give me idea for what I want to achieve? Any tip will be great help.
Maria
you can create a extension for shipping query that include some shipping carrier of DHL UPS and more.
1.create a SOAP for get data from MySQL
2.declare & create for magento on checkout.
example:
www.chinabuye.com
I was customize shipping fee on this site