Answers.Body: <p>I would tuck these into a priceset; so two fields: donation and processing cost; then add some Javascript to the contribution page to do the math and dynamically populate the processing field based on the value in the donation field.</p>
  
  <p>Add another field to the contribution form via a profile (yes/no radio button) and use that in your Javascript as a switch ($0 or do the processing cost calculation). </p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-05-08T18:10:03.023Z
Answers.Text: I was hoping to find a pre-existing solution but I think this will be the best way.  Thanks Karin!
Answers.UserDisplayName: Steve Kessler
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-05-06T12:20:36.467Z
Answers.LastActivityDate: 2016-05-06T12:20:36.467Z
Answers.UserDisplayName: KarinG - Semper IT
Body: <p>I have a volunteer project I am doing and the organization it is for wants to be able to show donors the estimated cost of their credit card processing and then let them add it to their total.  I know we can do this an extension but I am trying to come up with another way. Any ideas are appreciated.  </p>
  
  <p>Thanks,
  Steve </p>
  
Tags: <civicontribute>
Title: Credit Card Processing Fee Field
ThreadText: # Credit Card Processing Fee Field
  
  (Asked by: username_0 on 2016-05-06)
  
  I have a volunteer project I am doing and the organization it is for wants to be able to show donors the estimated cost of their credit card processing and then let them add it to their total. I know we can do this an extension but I am trying to come up with another way. Any ideas are appreciated.
  
  Thanks,
  username_0
  
  **Tags:** civicontribute
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2016-05-06. Score: 3 | Accepted answer
  
  I would tuck these into a priceset; so two fields: donation and processing cost; then add some Javascript to the contribution page to do the math and dynamically populate the processing field based on the value in the donation field.
  
  Add another field to the contribution form via a profile (yes/no radio button) and use that in your Javascript as a switch ($0 or do the processing cost calculation).
  
  > **Comments:**
  > **username_0**: I was hoping to find a pre-existing solution but I think this will be the best way.  Thanks Karin!  
  
  ---
  
  