Wondering if anyone had any answers to this?
I would really like to set-up a form in a second language/currency.
Not sure if this will help, Coppermill, but I found this: https://givewp.com/documentation/resources/translating-give/
Hey @coppermill – We’re working on a currency switcher add-on which will allow users to switch to their preferred currency within the donation form. Though, it sounds like you want an entirely separate currency per form. I attempted to create an snippet for you but it looks like we’ll need to make some adjustments to the plugin prior to this working exactly how it should.
I have created an issue for the per form currency request: https://github.com/WordImpress/Give/issues/1307 Please follow along on the development of the feature there.
My apologies for the delay getting to this answer. Our entire team was out of town for WCUS. Please let me know if you have any questions!
Thank you Devin for getting back to me, I’ll watch GitHub with interest and see what happens
Sounds good @coppermill – Ping me if you have any additional questions 🙂
Hi there, thank you for a great plugin! I’m in desperate need of the “currency selection per form” functionality as well. Is there any chance of an eta perhaps?
When you say “desperate”, how desperate are we talking? Because I currently have a client site of mine, cfoicheartland.com, accepting donations with Give in multiple currencies from both PayPal and credit cards, but it’s a crazy hack.
As someone who has gotten this working, I can tell you that Give is 100% absolutely not built for multiple currencies right now. Adding a currency switcher broke a lot of Give’s functionality, and I only coded fixes for the specific features that I knew my client would care about – e-mails, transaction records, donation totals, PayPal Pro. So I have no idea how, say, donor totals are working right now, but it’s a safe bet they’re broken because I haven’t tested them. And I can’t verify that any payment gateways work with this except for PayPal Standard, PayPal Payments Pro and PayPal Website Payments Pro (REST API). As for other kinds of add-ons, your guess is as good as mine.
I’ve also filtered the result of Give’s core give_currency() function. It was the only way to get PayPal Standard to acknowledge the chosen currency. So anywhere the templates use give_currency() to grab the currency from the options, I’ve replaced the function call with a hard-coded ‘USD’. You’d have to do something similar, to prevent all the currency symbols in your template denoting fixed amounts of money from changing after you’ve made a donation.
Still, the bottom line is it works. (As of Give 1.8.5.) Donors choose a currency, pay in that currency, the e-mails that were relevant to my client’s needs correctly indicate which currency was used, and then a conversion to USD is made for the purposes of internal record-keeping, i.e. correct donation totals and transaction records, with a note indicating what the transaction’s value was in the original currency. So if you need this functionality now, you can look over what I’ve done.
This code relies on functions from the plugin Open Currency Converter (https://wordpress.org/plugins/artiss-currency-converter/), so that would need to be installed.
Anyway, here’s the code I’m using, which is specific to my client’s theme and needs but might have something you can co-opt:
- This reply was modified 5 years, 3 months ago by buxner.
Since you’re looking for a per-form currency setting rather than giving users the option, you could replace the inputs in give_choose_currency_field() with a hidden field that grabs the currency from post meta, and make a meta box to set that currency on a per-post basis.
Thanks @buxner and @jefjones for chiming in on this issue. I’d like to hear your perspectives on why submitting donations in different currencies is important to you and/or your clients. Generally speaking, you can display whatever currency you want on the form, but in the end it’s up to your payment gateway to support that currency and to either convert it to your banks currency or accept it directly.
For example, if you are in the U.S. and show that you accept donations in US Dollars or Canadian dollars, and you are using PayPal, if the donor chooses Canadian dollars you will still end up receiving US Dollars because that is the currency your PayPal account is setup with.
With that in mind, please clarify if you are wanting to support multiple currencies at the Gateway level (which would depend 100% on gateway support) or simply display and accept the amount in different currencies on the fly.
The issue this would resolve is that on a multi-language website it is important to show the currency for that country. Many of our people wanting to give donations question when it is not in their currency.
With regards to the gateway, ie PayPal, this accepts payment in whichever currency has been chosen.
Also, I have found that changing currency in the setting, just changes the currency notation and any values that already stored in the Donation section switch to that currency, but the value remains the same.
Thanks for your feedback @coppermill we’ll take it into account as we work on this feature.
Apart from multi-language sites (as @coppermill suggests) it is also useful to hold money in a PayPal a/c in multiple currencies for using those currencies – for ‘foreign’ expenses, purchases, transfers etc. – rather than exchanging to the local currency. We hold donations as USD, GBP and our local currency EUR. Since we started using Give for donations via PayPal we have of course not received any other currency donations which has been noted – people like to donate in their local currency and we like to receive their donation in the currency they choose. It also has ‘tax effective giving’ consequences.
@coppermill & @webdevmattcrom, do you have an answer to the Multi currency feature that I am looking for – https://wordpress.org/support/topic/multi-currency-in-donation/?
- The topic ‘Multi-currency and multi-language’ is closed to new replies.