Paypal and Tax by Country problem

Posts: 30
Joined: 03/25/2008

I am having a problem with Tax by country. It appears to work fine at first glance, but when you get into paypal.... its not working. How I dislike paypal, but there is no google checkout in Canada yet.

I am using

Taxes 5.x-1.0
Ubercart 5.x-1.0
Workflow-ng 5.x-2.0
Workflow-ng UI 5.x-2.0
Drupal 5.6

Tax Rates and Settings

1. Called: Canadian GST - 5% for product, product_kit

WorkFlow for Canadian GST

Condition >> Check an order's shipping country >> Canada

Action >> Apply Canadian GST >>

.......

When I check out, the taxes (5%) are added to the Canadian orders. No problem. Then, in paypal, it deducts the 5% tax as it should.

However, when it goes through any other country. Ubercart checkout doesnt add the 5% (which is good). But when it hits paypal, it minus 5% out of the total cost. Ie, if the product was 50$ in drupal. Ubercart charges 50$, but then paypal, shows 47.5 plus 2.5 tax. I cannot get it to stop passing on the 5% Canadian Tax INTO the totals from other countries in Paypal.

Ie, Ubercart looks fine on check out. But its the information its passing onto Paypal is wrong. Canadian ok. Everything else, has -5% (the canadian tax).

If anyone has a solution, please share. If not, I am happy to post a bounty on this because it must be fixed.

Thank you everyone.

Posts: 5617
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

Hmm.. if you're using Website Payments Standard, I don't think this should matter, but you might make sure you have it set to send the whole order as a single line item. Puzzled

Posts: 30
Joined: 03/25/2008

Thank you for the suggestion. I went to check to see if I did. And it was already set to Send Whole Order as Single Line Item.

Yeah, I am using the Website Payments Standard.

Ryan, would you be interested in having a look? You can email me your per hour amount/ or estimate/ whatever, to tcmeric at gmail.com. I would really really appreciate it.

Thanks.

Eric

Posts: 5
Joined: 06/11/2008

Hi there,

I was having a similar problem adding line items to Website Payments Standard payment page.

I wanted to charge 5% tax on certain items for orders in Canada. I used the hook_order() to do it. Ubercart was showing the 5% charge in the Order Review page but when submitting the order to Paypal, the tax would not show there. So I checked the uc_paypal.module on line 1151, there you will see that it only processes line items that belong to either 'shipping' or 'tax' types. I modified my custom line item type to 'shipping' and then went to

admin/store/settings/payment/edit/methods

Selected the option:
Submit an itemized order showing each product and description.

Now the order total on the Paypal page is correct.

I hope this helps