Answers.Body: <p>How many different tax rates are involved?</p>
  
  <p>It there aren't too many, a no-tech solution would be to create a different price set for each different tax rate and have province-based links on your call to action page.</p>
  
  <p>Added later:</p>
  
  <p>I don't know a lot about the tax feature but I put down what I <strong>think</strong> might work. (This is all untested so could be totally wrong.) Assuming you have already ticked <strong>enable  tax and invoicing</strong> at <strong>Administer > CiviContribute > CiviContribute Component setttings</strong>, I would have thought you might need to:</p>
  
  <ul>
  <li>create three different financial account with the different tax rates say tax2, tax3, tax4.</li>
  <li>create three different financial types member_dues2, member_dues3, member_dues4</li>
  <li>edit the three different financial types  to link each to the appropriate sales tax account</li>
  <li>edit the three different financial accounts you will now have, to set the account code to the same value for each so that that membership revenue can totalled across aall the provinces using a line item report  (if this is a what you need.)
  -Create a price set for each province lined to the correct financial type.</li>
  </ul>
  
  <p>If this doesn't work, my apologies, but it may help you on your way somehow.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-04-18T12:19:49.530Z
Answers.Text: how do we trigger the rate on pricesets? we have 3 types of tax, 2%, 3% and 4% based on specific province that users select @JoAnne
Answers.UserDisplayName: Boby
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-04-23T01:13:04.110Z
Answers.Text: I have expanded my answer to include my response to you comment.  It was too complicated ot put in a comment.
Answers.UserDisplayName: JoAnne
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-03-29T23:18:39.723Z
Answers.LastActivityDate: 2016-04-23T01:12:03.220Z
Answers.LastEditDate: 2016-04-23T01:12:03.220Z
Answers.UserDisplayName: JoAnne
Body: <p>I have been struggling for weeks now trying to figure out the best way to prepare a form where :</p>
  
  <ul>
  <li>user selects province, apply a tax based on the province</li>
  <li>user selects the membership priceset</li>
  <li>total updated with the new membership price and tax according to the province selected.</li>
  </ul>
  
  <p>is there any reference of key of achieving this? is this possible or not possible? I have been trying to use civitax but that's not the way to use it, and I tried adding mulitple tax field or trying to find conditional methods but that is not populating.</p>
  
  <p>I am thinking of setting up the form in drupal custom form, then after that populate it via custom submit where when it submits, it manually db insert the transactions and all of that? but is that possible, as I search no clue of programmatically inserting/creating new user with membership info and so on.</p>
  
  <p>thank you</p>
  
Tags: <civicontribute><custom-fields><contributions><payment-processor><taxes>
Title: Civicrm altering contribution page
ThreadText: # Civicrm altering contribution page
  
  (Asked by: username_0 on 2016-03-28)
  
  I have been struggling for weeks now trying to figure out the best way to prepare a form where :
  
  * user selects province, apply a tax based on the province
  * user selects the membership priceset
  * total updated with the new membership price and tax according to the province selected.
  
  is there any reference of key of achieving this? is this possible or not possible? I have been trying to use civitax but that's not the way to use it, and I tried adding mulitple tax field or trying to find conditional methods but that is not populating.
  
  I am thinking of setting up the form in drupal custom form, then after that populate it via custom submit where when it submits, it manually db insert the transactions and all of that? but is that possible, as I search no clue of programmatically inserting/creating new user with membership info and so on.
  
  thank you
  
  **Tags:** civicontribute, custom-fields, contributions, payment-processor, taxes
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2016-03-29. Score: 1
  
  How many different tax rates are involved?
  
  It there aren't too many, a no-tech solution would be to create a different price set for each different tax rate and have province-based links on your call to action page.
  
  Added later:
  
  I don't know a lot about the tax feature but I put down what I **think** might work. (This is all untested so could be totally wrong.) Assuming you have already ticked **enable tax and invoicing** at **Administer > CiviContribute > CiviContribute Component setttings**, I would have thought you might need to:
  
  * create three different financial account with the different tax rates say tax2, tax3, tax4.
  * create three different financial types member\_dues2, member\_dues3, member\_dues4
  * edit the three different financial types to link each to the appropriate sales tax account
  * edit the three different financial accounts you will now have, to set the account code to the same value for each so that that membership revenue can totalled across aall the provinces using a line item report (if this is a what you need.)
    -Create a price set for each province lined to the correct financial type.
  
  If this doesn't work, my apologies, but it may help you on your way somehow.
  
  > **Comments:**
  > **username_0**: how do we trigger the rate on pricesets? we have 3 types of tax, 2%, 3% and 4% based on specific province that users select @username_1  
  > **username_1**: I have expanded my answer to include my response to you comment.  It was too complicated ot put in a comment.  
  
  ---
  
  