PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Tax in the front end working - Back end is not

  1. I have followed the instruction on setting tax for paypal, but for some reason the information is not being sent to paypal. The purpose of the page is to tax 7% to Florida residents. The information is displayed in the form. When it gets to PayPal it shows nothing. I have a hidden product field named "Impuestos" but it is not updated in Paypal.

    This is the code: http://pastie.org/3649541
    This is the page with the form: http://bit.ly/GNnhIg

    Any help is appreciated.

    Posted 12 years ago on Thursday March 22, 2012 | Permalink
  2. I got it so work for Paypal and Authorize.net. But now is only working on Paypal.

    This is the code in question:
    http://pastie.org/3650871

    If I change the "price" to a real number (e.g. 'price' => '1.99',), Authorize.net picks it up. When is a variable (e.g. 'price' => $tax,), it does not.

    I do believe that $tax_rate = $entry["25"]; is not picking up the entry. Nevertheless, any suggestions will help greatly.

    Is it possible to create a condition in that code? For example, if field_25 = "Florida" then $tax = 7?

    Posted 12 years ago on Thursday March 22, 2012 | Permalink
  3. Bump

    Posted 12 years ago on Wednesday April 4, 2012 | Permalink
  4. Hi rmontanez,

    Yes, you can create a condition. Here is quick example:

    [php]
    if($lead[16] = 'Florida')
         $tax_rate = 7;
    Posted 12 years ago on Wednesday April 4, 2012 | Permalink