Home > Gateway Error > Gateway Error A Valid Amount Is Required

Gateway Error A Valid Amount Is Required

So it's fixed in the next preview version. If you know the exact files causing your problem, you can peruse the diff files here and backport the fix from the newer version to the older version. If you are using the "authorize and capture" at checkout option, then you only have one parent transaction, and so the problem does not manifest itself, which is why only some Is there a solution to this yet? weblink

Yeah I've tried running diffs. But I can't / don't want to upgrade our live store to a preview release. Unfortunately they've also made significant changes to Authorize.net in the preview version. Thanks! http://www.tipsandtricks-hq.com/forum/topic/authorize-error-5-a-valid-amount-is-required

Signature ----- 1) For preserving thy future happiness, thou shalt back up thy HTTP doc directories and Magento database regularly. 2) For preserving thy sanity during module installs and moves, thou This appears to be because Varien doesn't test anything; it's also broken in Professional 1.9.1.0. This is bump number 1. Am I just doing something wrong?

When viewing an invoice and click "Refund" button I get that exception message. SO how do I fix this problem with credit memos without upgrading? I'm assuming it's something "strange" happening, because I don't see a TON of people having issues with this. Board index The team • Delete all board cookies • All times are UTC Powered by phpBB Forum Software © phpBB Group

So I changed the line to do a quick and dirty replace to strip out the non-numeric characters: $request->setXTransId(preg_replace(app/code/core/Mage/Paygate/Model/Authorizenet.https://community.developer.authorize.net/t5/Integration-and-Testing/5-A-valid-amount-is-required/td-p/32328 chiefair - 09 January 2011 01:51 PMIf you know the exact files causing your problem, you can peruse the diff files here and backport the fix from the newer version to

This was fixed by adding an additional line underneath the line we just corrected: $request->setXAmount($amount,2); For us, the problem was twofold. Can anybody update this? Blog Support Contact Search My Account Magento extensions and magento themes - best magento marketing extensions My Cart Magento extensions Order upload Custom Order Number

The first problem was the $request->setXTransID($payment->getRefundTransactionId()) line. directory This is bump number 2. I'm in the same boat, and don't really want to/can't upgrade to 1.5 at the moment, but I do need to fix this issue. They don't tell you how it was fixed.

I found this in the release notes for the next alpha version: Fixed ‘Gateway error: A valid amount is required’ appears during create Credit Memo for order, which uses Authorize.net http://www.magentocommerce.com/blog/comments/release-notes-magento-1500-alpha1-december-17-2010/ have a peek at these guys I can't decipher what's a fix to this issue and what's an unrelated change. Since we only authorize at checkout and do capture later, Magento stores the follow-on capture with a transaction ID in the format of "1234567890-capture". I tried this fix, maybe I did it wrong?

I'm on 1.4.2 also. Or if you have TextPad (a programmer's text editor, you can open the new version file and the old version file side-by-side and run the diff tool to see if they With these two changes in place, credit memos are now working in Authorize.net. check over here Authorize.net, of course, doesn't know what "-capture" means and really only wants the numeric identifier of the original authorization.

Bump 4 I'm there too. This is bump number 3. I have reverted to 1.4.2.0, thanks to backing up Signature Sincerely, James Niland Nila NOP Design NOP Design Free Software Support Forum Skip to content Advanced search Board index

after changing the code I went from Gatewayerror:Avalidamountisrequired. to Gatewayerror:Thereferencedtransactiondoesnotmeetthecriteriaforissuingacredit. I

When I attempt to create a refund through the Invoice/Credit Memo I get "Gateway error: The credit card number is invalid." This is for a test order I just created. Thanks for the response. Or if you have TextPad (a programmer's text editor, you can open the new version file and the old version file side-by-side and run the diff tool to see if they