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, Steve

1 Answer 1


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).

  • I was hoping to find a pre-existing solution but I think this will be the best way. Thanks Karin! Commented May 8, 2016 at 18:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.