Paypal & GST Tax


No avatar

2006-12-12 21:44

Hi, Hey Where do I get this Paypal Order Script?


No avatar

2006-12-14 09:52

The script can be found by searching the forum.

Prince, the PayPal Website Payments Standard Integration Guide. gives a pdf download.

The original modification to add PayPal to Q.C 1.4 passes several variables to PayPal from the templates/messages.tpl file. The relevant ones are - currency_code, amount, shipping. These variables are named by PayPal.
PayPal looks at your member profile and works out the cost based on that. Importantly if there is no profile setting for some variables the default is used.

When the taxAndDiscount plugin 2.2 is used in Q.C you can set the rate of tax, tax to be calculated on the cost of the item or the cost of the item plus shipping (delivery cost) in the plugin configuration. At the moment it looks better to do this in Q.C rather than in PayPal.

Looking at the variables in taxAndDiscount I think the tax is in $aList[fTax] so If you want to pass the tax from Q.C to PayPal you could try the PayPal variable name with the Q.C variable added to templates/messages.tpl -

<input type="hidden" name="tax" value="$aList[fTax]">

The "tax" variable overrides any country specific tax band you have set up in your PP profile and applies to all transactions. You could try this and see if it works.


No avatar

2006-12-14 18:25

Hello Ned,

I tried this and no luck man.

Thanks again

Back to top
about us | contact