Search the Community
Showing results for tags '1.3.3'.
-
After a couple of days of trying out every possible combination of Paypal (US & Euro) with PS 1.6.0.6 I've had absolutely no luck. I've talked with many other users on the forum with the same or similar issues so I know I was not alone. I believe I've found something that will work and I want to share my solution. I have tested it in sandbox and everything worked perfect. Your mileage may vary, but I believe it will fix many of the problems people are posting. First, a brief about what my issue was... when being redirected back to my site from paypal the order was getting lost. At first I was getting a 404 page but I fixed that (see below), but then the order was not being placed in the back end, the item was still in the user's cart, and no order was in the user's order history. Ok, this is what I did step-by-step 1. Make sure you have modules/paypalusa installed, not modules/paypal (the euro version, it is totally different and gives me a blank screen so I gave up on it, I have not tested it yet with the following solution however). 2. Set up the module to run on Paypal Standard only with no express checkout. (others options may work so play around if you like but this is what worked best for me). Don't forget your api settings. 3. Now fix the 404 error when returning to the site from paypal... In modules/paypalusa/paypalusa.php change line 378 from this... ((int)version_compare(_PS_VERSION_, '1.4', '>')) ? to this... ((int)version_compare(_PS_VERSION_, '1.5', '<')) ? a very simple change, just copy and paste it. Just like that my 404 page was fixed! This removes the ".php" in the return url, which was giving the 404. There are a couple of other ways to do this but this is the cleanest solution I've found. 4. And now, this is what finally resolved it for me...cut off all taxes. Yep, taxes. Go to your admin panel > localization > taxes and click disable taxes at the bottom of the screen. I noticed there is a bug that adds additional taxes to the shipping cost in the Paypal checkout. These taxes are not being charged to the shipping in your cart. The difference in price must be what is causing the issue. NOTE: The default amount being added is the tax rate you have set up for the state your customer is in. Some states are 0% by default. This means you may think your shopping cart is fine(!) but when a user tries to buy from a state with taxes they are getting an error. You would never know and this is super hard to detect by abandoned shopping carts. By turning off taxes I am able to successfully place orders. Yes, It does suck and I've got to look into how I will handle this from a business perspective, but from a technical point of view this solved the problem. Another option that *should* work is offering every item as free shipping. That's just my theory though, I have not tested that but it makes sense. I hope this issue can be looked into more by the developers and an actual fix put out quickly because this really blows if you have to charge sales tax. Anyway, this might work for you. If it does please post below and let me know. I will make a forge ticket for this issue as well.