Support

Home Forums Event Espresso Premium Organization Country Showing Value Next to Currency in EE3

Organization Country Showing Value Next to Currency in EE3

Posted: January 10, 2022 at 12:20 pm

Viewing 3 reply threads


FASeminars

January 10, 2022 at 12:20 pm

Hi EE Support/Forum,

Multiple customers registering through our Event Expresso process are flagging or complaining that the pricing appears C$X.XX during the process and after processing documents.

We have set everything in payment and fees to be in USD dollars only.

However, we are a Canadian company so our organization details are set to a Canadian address. I can see where this character appears:

Example – Canada:
https://www.screencast.com/t/ihMFeTyfK

Example – USA:
https://www.screencast.com/t/YdR99xRc4B

What is the reason for this small change in price formatting? It really confuses people if its in CDN dollars or USD dollars – admin nightmare!

Would appreciate some context – plus possibly how we could remove this from what end customers see during processing of event registation.

Thanks,

Andreo


Tony

  • Support Staff

January 11, 2022 at 5:11 am

Hi there,

We have set everything in payment and fees to be in USD dollars only.

May I ask where you set this?

What is the reason for this small change in price formatting?

This hasn’t changed recently, when you set your organization county Event Espresso uses the currency for that country and it’s done this for as long as I can remember so I don’t think this has changed?

Is the only issue just the currency symbol output? Meaning the payments are working correctly but the user sees C$ within EE?

If so you the easiest way to fix this is to change the currency symbol used by EE for Canada, you’ll need to modify a code file to do which you’ll need to re-apply if EE3 is updated. As EE3 is no longer receiving ‘regular’ updates (security fixes only) that is unlikely to happen often.

In \event-espresso\includes\organization_config.php

Line 75 has:

case 'CAN': $org_options['currency_symbol'] = 'C$'; // Canadian Dollar

Remove the C from the beginning and EE will output just $.

Is that what you are looking for?


FASeminars

January 11, 2022 at 7:55 am

Tony,

Thanks – this is very helpful.

But why is EE using the currency of the country? When we set in payment and EE settings that we want everything in $USD currency?

Just trying to understand that part.

Thanks,

Andreo


Tony

  • Support Staff

January 11, 2022 at 9:39 am

The original EE3 development is a little before my time so I can’t say for sure, however, looking over the commit history it’s based on how EE was originally used and it makes the most sense for the most part.

Originally none of the payment methods in EE3 allowed you to set the currency, they all used whatever was set for the organization settings. Over time some had options added in the settings to allow you to change it per payment method but not all, so EE uses what is set in the org settings for most outputs.

Viewing 3 reply threads

The support post ‘Organization Country Showing Value Next to Currency in EE3’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso