Terra Posted July 11, 2006 Share Posted July 11, 2006 (edited) For example , I add 5 items to my cart, and I check out to the paypal site. Paypal always shows the quantity as 1 item. I'm just wondering if osCommerce is somehow giving paypal the wrong quantity. Something that just came to my mind is that maybe since the order is aggregated, it will just show the order as one. If it is aggregated as I believe that's the default option in the module options, wouldn't that sort of not give an accurate idea of how many items are bought since the receipt will always show 1? Lastly I hope the next question isn't off topic. I'm wondering if it's better to let my shop calculate the tax or to let paypal handle it. Currently I'm doing it on my site but it adds the tax before shipping&handling - it should come after. Just in case you were wondering, I am using contribution 1124 (Canada Tax Zones Setup notes) The "1" is because you are using PayPal in Aggregate mode (so it'll always show 1). If you use "per item" then it'll show the products but you might get into trouble with tax with that mode. As for tax - I'm not sure what to advise as I've got no experience with Canada or the contrib you mention. Have you tried "move tax to total = true"? If your sort order under order totals is correct, it *should* pass the tax to PayPal when used in Aggregate mode. Maryland comes to mind; the US state code is MD, but the county of Maryland in Liberia has the code ML. I ran into this while improving international support in the PayPal WPP contribution (the dynamoeffects version, contribution 3647). Glen - many thanks! If it's okay with you, I'll take your code and include in the next update. I'm considering to leave the state name as default, but include the code if anybody wants to change it to the 2-letter abbreviation. It really depends on the country, I suppose - in the UK, we'd use the county name as there are no recognised abbreviations. Maybe a nifty "if / else" statement would be better (if USA then ...). Is it just the USA which uses the 2-letter abbreviations or are there any other countries? Terra Edited July 11, 2006 by Terra Quote My code for combining PayPal IPN with ** QTPro 4.25 ** osC Affiliate ** CCGV(trad) and how to solve the invoice already paid error General info: Allow customer to delete order comment ** FTP Programs & Text Editors ** Amending order email ** Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.