Questions about Payment Form extension

TAX and PayPal Tax System

  • Martin Pratte
  • Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 1 month ago #122211 by Martin Pratte
TAX and PayPal Tax System was created by Martin Pratte
By default the system set tax to "0.00".
It is possible to remove the tax field completly to let my paypal system managing it? Because I set my tax system on my paypal account to charge the right amount of tax depend on the location. And when someone complete the form and proceed to the payment, paypal receive this value "&tax=0.00&". I'm good to playing with code so I can remove it manualy directly in the code.

I would just need the location of the file to do it.

Also maybe it's a way to do it without coding it like replace the value with something else or somewhere to desactive it?

Please Log in or Create an account to join the conversation.

  • Martin Pratte
  • Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 1 month ago #122212 by Martin Pratte
Replied by Martin Pratte on topic TAX and PayPal Tax System
Forget it, I comment this line:
/*$this->setParameter('tax', 0);*/

In the file: public_html/components/com_pmform/payments/os_paypal.php

It work and all the taxes are calculated via PayPal.

Thank you!

Please Log in or Create an account to join the conversation.

More
5 years 1 month ago #122215 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic TAX and PayPal Tax System
Hi Martin

Yes. That's correct line to modify. Payment Form allows you to set and manage tax rate for each form, that's why we disable PayPal tax.

If you want to have PayPal calculates tax for you, you need to comment out the line you mentioned above

Regards,

Tuan

Please Log in or Create an account to join the conversation.

  • Martin Pratte
  • Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 1 month ago #122216 by Martin Pratte
Replied by Martin Pratte on topic TAX and PayPal Tax System
Thank you for the confirmation on that!

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc