VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: lalbertelli on May 29, 2014, 20:13:16 PM

Title: How to separate Tax and Shipping on PayPal Invoice
Post by: lalbertelli on May 29, 2014, 20:13:16 PM
Hello everyone,

I have Virtuemart 2.x installed tied to PayPal for my payments.

The cart looks correct meaning it displays the Cost, the Tax, and the Shipping cost.

When the customer goes to pay via PayPal he/she see the itemized bill but the tax and shipping are combined in a line labeled "Shipping and Handling"

I called PayPal who instructed me that they only display what is given to them meaning it is on the Virtuemart side.

How can I show two separate lines for Tax and Shipping in place of the Shipping and Handling?

Thank you in advance.

Louis
Title: Re: How to separate Tax and Shipping on PayPal Invoice
Post by: jenkinhill on May 29, 2014, 20:44:50 PM
http://forum.virtuemart.net/index.php?topic=79799.0
Title: Re: How to separate Tax and Shipping on PayPal Invoice
Post by: lalbertelli on May 30, 2014, 04:01:43 AM
Here are my versions:

Joomla: 2.5.19
VirtueMart: 2.6.2
PHP: 5.4.26
Apache: 2.2.24

Thank you!
Title: Re: How to separate Tax and Shipping on PayPal Invoice
Post by: lalbertelli on May 30, 2014, 19:15:25 PM
The first attachment shows what my cart looks like.  This is correct.

The second attachment shows my PayPal Cart.  Here you can see that the Tax and Shipping are added together and displayed under "Shipping and Handling".

This is what I would like to break out into two separate lines.  One for Tax and one for Shipping.

Thanks!

[attachment cleanup by admin]
Title: Re: How to separate Tax and Shipping on PayPal Invoice
Post by: lalbertelli on May 30, 2014, 19:38:36 PM
Sent the wrong Picture for my shopping cart:  Here it is:



[attachment cleanup by admin]
Title: Re: How to separate Tax and Shipping on PayPal Invoice
Post by: lalbertelli on June 17, 2014, 03:41:29 AM
Just checking in to see if anyone knows how to separate the tax and shipping on the paypal invoice.

It is separated in the cart but when it is redirected to PayPal the two values are combined into one field labeled "Shipping and Handling"

Thanks.

Louis
Title: Re: How to separate Tax and Shipping on PayPal Invoice
Post by: john-doe on June 17, 2014, 14:26:27 PM
I have a similar case but taxes are not separated on the amount in the paypal invoice.
Is correct in Virtuemart but my boss is asking about where are the taxes.

I had a close discussion on this thread (http://forum.virtuemart.net/index.php?topic=124095.0) and it's related with taxes since at the beginning taxes and shipping were managed by paypal but that led me to errors in the log setting me to pending transactions and manual verifying.

In short we sent the taxes to virtuemart and turned off in paypal to avoid double taxation, as well as shipping and orders are coming out with the correct amounts. However my other boss is asking where are the taxes in the paypal invoice (i just had this morning an email about it).

I don't know if this helps but i want to keeep on the loop of this topic
Title: Re: How to separate Tax and Shipping on PayPal Invoice
Post by: marcQC on September 18, 2016, 17:13:45 PM
Hi,
I have the same problem.

Does someone found a solution about this on Virtuemart 3/Joomla 3?

Thank you!
Title: Re: How to separate Tax and Shipping on PayPal Invoice
Post by: GJC Web Design on September 18, 2016, 18:01:48 PM
Isn't it this setting?  (never used it)
Title: Re: How to separate Tax and Shipping on PayPal Invoice
Post by: marcQC on September 18, 2016, 18:06:53 PM
Hi, thank you for your reply.

I already try it (first thing that I did), but it didn't make any difference. It also is the option selected in my website right now.
Title: Re: How to separate Tax and Shipping on PayPal Invoice
Post by: marcQC on September 18, 2016, 18:12:10 PM
Here is my configuration.

thank you!
Title: Re: How to separate Tax and Shipping on PayPal Invoice
Post by: GJC Web Design on September 18, 2016, 18:36:58 PM
your screenshot shows payment Type Normal!  ???? ->

shopping Cart  -> The detail of all items will be shown on the PayPal payment page



Title: Re: How to separate Tax and Shipping on PayPal Invoice
Post by: marcQC on September 18, 2016, 18:50:04 PM
Oh, sorry.
I did some tests (with the PayPal product) and change it to standard during these tests. I forgot to put it back for the screenshot, but it's still not working.
Title: Re: How to separate Tax and Shipping on PayPal Invoice
Post by: GJC Web Design on September 18, 2016, 19:13:51 PM
what does the VM invoice look like .. i.e. what taxes are u using?
Title: Re: How to separate Tax and Shipping on PayPal Invoice
Post by: marcQC on September 18, 2016, 19:57:43 PM
There are the results. I use either taxbill or valtax.
Title: Re: How to separate Tax and Shipping on PayPal Invoice
Post by: GJC Web Design on September 18, 2016, 20:21:22 PM
you can look in plugins\vmpayment\paypal\paypal\helpers\paypalstd.php

function addPrices(&$post_variables)

I don't see anywhere where separate tax details are sent to Paypal..

although apparently possible

https://developer.paypal.com/docs/classic/paypal-payments-standard/integration-guide/Appx_websitestandard_htmlvariables/

Why is it necessary when i assume you supply a proper legal invoice via VM?
Isn't the Paypal "receipt" just an acknowledgement of payment?
Title: Re: How to separate Tax and Shipping on PayPal Invoice
Post by: marcQC on September 18, 2016, 20:31:07 PM
thank you so much for your help. I will check that.

Yea, I think the same way, but it's a desire of my client (not priority).

Have a nice day!