News:

Looking for documentation? Take a look on our wiki

Main Menu

List Tax Separately at PayPal?

Started by FavoriteU, April 29, 2008, 23:32:02 PM

Previous topic - Next topic

FavoriteU

I just activated the PayPal module (I'm also using the Credit Card Module w/ Authorize.net).  When a customer selects PayPal, everything works fine, but the dollar amount displayed on the PayPal page does not list the subtotal and the tax separately, they are all grouped into one total.

I would like to see:

QuoteSubtotal
+Tax
+Shipping
---------
Total

What I actually see is:

QuoteAmountIncludingTax
+ Shipping
----------
Total


VirtueMart shows the product total and the tax separately just fine.  How can I get it to pass this information to PayPal properly to show the same to my customer there?

Thanks.

FYI - I'm in the U.S. using tax based on a customer's shipping address.  Not a VAT system.

nuwud

All your base are belong to us!

ajredding

I can't remember what the default config file for the paypal module looks like but you will want to either add a line or change a line. 

You can find the "tax" line and change it or add the code posted below right below the "tax" line.

"tax_cart" => $tax_total,

I think it's safe to leave the original "tax" line in there and add this line, I haven't seen a double tax show up in all of the testing that I've done with the heavily modified code I've been working on.  But let me know if this doesn't work and I'll try and research it some more.
RAW Media Group - Website design - http://www.rawmediagroup.com
Cubed Hosting - Website Hosting - http://www.cubedhosting.com