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) »
  • Discussion »
  • Internationalization and Localization (Moderators: Michał Mach, mathieu) »
  • Local Currencies
Pages: [1]

Author Topic: Local Currencies  (Read 981 times)

Elliot Ward

  • I’m new here
  • *
  • Posts: 4
  • Karma: 0
  • CiviCRM version: 4.3.?
Local Currencies
July 18, 2013, 06:36:12 am
I'm trying to find out if there is a way to have a fixed currency for payments into civicrm, but also have a conversion to a set of other currencies.

For example;
Somebody wants to pay $100 US, but we only take Swiss Francs so they are given the amount in Swiss Francs equivalent to $100 US (around Fr.94).

Is this possible? can civicrm display that sort of thing?


xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Local Currencies
July 18, 2013, 06:38:45 am
Hi,

Civi handles several currencies, but not any exchange rate between them. It would be useful, for reporting too for instance.

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Elliot Ward

  • I’m new here
  • *
  • Posts: 4
  • Karma: 0
  • CiviCRM version: 4.3.?
Re: Local Currencies
July 19, 2013, 12:35:21 am
How easy would it be to either create a custom payment page (as in from scratch in php) that then linked back to the payment processor (which I believe you helped develop) allowing payments with Post Finance. Or add into the existing page that civicrm creates for payments, an on the fly converter (probably a JavaScript type thing)?

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Local Currencies
July 19, 2013, 01:27:29 am
If it's "only" a matter of display and suggest different amounts based on the currency, it's a bit of js as you said and it's simple (.extra.tpl is probably the easiest).

Postfinance can accept several currencies. for what I recall I coded the value based on the chosen currency in the payment page, but it's probably easy to make it a visible parameter and let the end user choose the currency. This would need some testing to confirm.

I posted the code for postfinance on github, could you create an issue there about the currency so we can keep track of it (and hopefully a pull request ;)

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Discussion »
  • Internationalization and Localization (Moderators: Michał Mach, mathieu) »
  • Local Currencies

This forum was archived on 2017-11-26.