PayPal adding extra taxing to Magento Cart on PayPal side - magento

I am having an issue with Magento.
After launching the site live for customers, everything was ok for 11 days. Yesterday, one of the customer informed us that their payment has been flagged as suspected as fraud. We went to check and saw that the amount on Magento site and PayPal differed. After checking through the reason, we saw that PayPal is adding another tax to the amount transferred from Magento even though Magento has already included all the amount.
This is the error that I am getting when I changed to PayPal express checkout.
PayPal gateway has rejected request. The totals of the cart item amounts do not match order amounts (#10413: Transaction refused because of an invalid argument. See additional error messages for details).
Does anyone know how to solve this problem?

I found a solution. Not sure this is the best way to do it. But, it works.
Just to clarify, I want to use PayPal web standard with Magento.
\app\code\core\Mage\Paypal\Model\Api\Standard.php
I commented out the follwing.
49 // 'tax' => 'tax_amount',
65 //'tax' => '_filterAmount',
93 //Mage_Paypal_Model_Cart::TOTAL_TAX => 'tax',

Suggested you log what was posted to Paypal against what went into paypal order related DB.
Use similar details to what was there for that specific case.
Probably some code of yours( additional module ) added tax in paypal form that was posted where this addiitonal amount didnt update order total so order details were intact.

Related

Magento place order button fails after PayPal express checkout is accepted

I am doing a Magento build. I have just used a template and very basic extensions at this stage.
I get this error after testing with a PayPal payment.
app/code/core/Mage/Sales/Model/Resource/Order/Address.php on line 95
And if I don't use PayPal in advance and log in it just lets me press the "Place Order" button, says it is processing the order but then doesn't change pages. The order does not drop into the back end but it does reduce my stock levels for the item. Does anyone know what this is? I have checked my mbstring is turned on as one other site recommended that.

What is the correct magento CE 1.9 paypal success url?

We have magento CE 1.9 which we are trying to get some analytics on and I have seen many posts on the internet about setting up paypal with magento. I believe we have everything setup correctly for paypal standard checkout except for the return URL.
Some of the sources I found on the internet say to use
http://www.storename.com/checkout/onepage/success/
Where others say to use
http://www.storename.com/paypal/standard/success/
which one is actually correct?
An order finally reached analytics via:
http://www.storename.com/paypal/standard/success/
Other orders were completed but did not reach alalytics, I can only speculate on the reason for this. One possible cause I have read about, is premature closing of the browser window. This could prevent our sites success page from loading the analytics javascript.

PayPal Website Payments Standard Error

I currently have my online store set up using Magento and i’m adding my products, I’ve tried to implement the PayPal Website Payments Standard but there is an error. When the user has passed through to the checkout section, after entering all their details, they fail to submit the order. The button is pressed to confirm order and redirect to the PayPal payment stage, the button will load saying that it's submitting the information, but nothing happens, it starts processing, then never goes through to the page. I've checked that the extension for Mage_paypal is enabled and it is.
If you would like try purchasing one of the test products on www.scarletkisses.com at the moment, you’ll be able to see what I mean.
Thanks.
2 things ..
Make sure that you have index management and cache management done
Try disabling and then enabling Mage_PayPal Module[Reindex the magento database after that]

Fedex Integration Magento

I have configured FedEx to work with magento 1.7.0.2, have entered all the required parameters and have also turned on the logging. Everything seems to work fine, there are no errors anywhere and even in shipping_fedex.log file the results are successful means the quotes are returned from FedEx. But in the front end in the 'Select Shipping Method' page it's not showing up. When I choose specified countries in the configuration and put an invalid address then it shows up there with the message that it is not applicable in this situation.
Please provide me suggestion on how to solve this. Where are the FedEx code stored in magento so that i can debug them to see what the problem could be??
I came across that same situation and found out that my products were setup with weights in kilograms so some were just invalid, others would return astronomic shipping costs (like $3000 and more), when I converted the weight to pounds or fractions of pounds, it all worked fine.
You need to be sure that your shopping cart is configured correctly. Are you using the built in one page checkout module?
For general details on how to setup Magento to use FedEx webservices, please see the following URL:
http://www.cobbconsulting.net/magento-fedex-setup.html

Paypal IPN errors in Magento store

Every order placed from the frontend of our Magento store logs a "Wrong order ID" exception even though all orders seem to be going through with no problems. Orders also seem to take a lot longer to complete than they should. If I place an order from the admin, it's virtually instantaneous and does not log any errors. What's different between frontend and backend orders? Why are these errors being logged every time even though no error really occurred? Any suggestions?
Thanks!
Per the change log for Magento 1.7.0.0 (which came out in April), they think they've fixed the problem:
Fixed: “Wrong order ID” exception in PayPal Express module under heavy load
Can anyone confirm that upgrading to Magento 1.7 does indeed fix the problem? Every time I've looked at it, it does seem to be a PayPal Express issue (our payments normally go through PayPal Pro and that doesn't seem to have errors).
So... we finally found a permanent solution to this for Magento 1.6. And we can confirm that this has been fixed in Magento 1.7.
Full explanation and code here:
Magento Paypal IPN Wrong Order ID – SOLVED
We had this same exception in Magento 1.6.1 showing up in exception.log. The problem for us was that the Order Number and Invoice Numbers were out of sync.
For some reason, when using PayPal Express, it causes the order to not be fully processed and logs the exception: “Wrong Order ID”. The worst part was that it was erratic… sometimes it would fail, other times it was fine.
THE SOLUTION:
http://www.magentocommerce.com/magento-connect/fooman-sameorderinvoicenumber.html
Thanks for a great extension from Fooman! Just install their “SameOrderInvoiceNumber” extension, remember to enable it in “Configuration | Sales | Order Numbers” and you’re all set!
Solved the problem for us on Magento 1.6.1… don’t mess with core code!
Ok... So my other solution didn't soIve the problem for us either. Spoke too soon. Although this helped it didn't get rid of the error completely.
We did however find a definite clear link between server load and this IPN error. Detailed analysis here:
http://www.bigdune.net/geek-blog/magento/60-magento-paypal-ipn-wrong-order-id.html
Sorry, but it doesn't seem like there's a quick "code fix" for this one.. not that we could find yet.

Resources