CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Have a price set field as a % of total. Possible?
Pages: [1]

Author Topic: Have a price set field as a % of total. Possible?  (Read 376 times)

geoparadise

  • I’m new here
  • *
  • Posts: 5
  • Karma: 0
  • CiviCRM version: 4.2.6
  • CMS version: Joomla 2.5.7
  • MySQL version: 5.1.56
  • PHP version: 5.3.10
Have a price set field as a % of total. Possible?
October 27, 2013, 03:27:07 pm
We are trying to have a price set item that is proportional to the sum of all the other items selected by the user. This is to cover processing fees (Paypal,etc) accurately and not have to undercharge or overcharge with fix rate required field.
We need it specially for an event for which people can add a donation, if donation is substancial, paypal takes more than the fixed required processing fees. Or if someone has a 100% discount code, they still have to pay the fixed processing fee, which is silly.

I was hoping that there was a tax field that I could re-convert for this, but seemingly this is not operating yet.

Any other workarounds?

Thanks

Noa

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Have a price set field as a % of total. Possible?
October 28, 2013, 03:40:13 am
I think workaround for this would to create a price set field of type "text" with price 1 and then add custom js to modify the value of this based on the calculated tax. You can make field readonly using js so that it is not editable by user.

Kurund
Found this reply helpful? Support CiviCRM

ptpmark

  • I post occasionally
  • **
  • Posts: 48
  • Karma: 1
  • CiviCRM version: 4.4.6
  • CMS version: Drupal 7.22
  • MySQL version: 5.1.66
  • PHP version: 5.3.3
Re: Have a price set field as a % of total. Possible?
December 05, 2013, 03:14:19 pm
We've had requests for this functionality on the contribution page.  The option to give an amount to cover the cost of the transaction is offered on many contribution sites in the U.S. non profit sector

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Have a price set field as a % of total. Possible?

This forum was archived on 2017-11-26.