Posted: July 8, 2014 at 5:36 pm
|
hi all Chris Reynolds im interested in your site which catered for this. Do you have a work flow of files to update to accomplish the same thing, a function / plugin or at least support or sell these modifications. Changing the currency symbol should be fine but am interested in where the paypal form function is to modify it to change the currency. Any support would be great running Event Espresso – 3.1.36.5.P and WordPress 3.9.1 Thanks Wayne |
|
Hi Wayne, Unfortunately Chris no longer works for Event Espresso, and his modifications weren’t documented or it was work separate from EE (it was a year ago so hard to say). We do have a list of recommended developers that may be able to assist with this type of customisation – https://eventespresso.com/developers/event-espresso-pros/ |
|
thanks for your reply, Im happy to update and customise, I have bought some support but am not sure if this is covered. I noticed 2 global variables $org_options and $paypal_settings = get_option(‘event_espresso_paypal_settings’); Can these be changed dynamically in some kind of function? ie if (event_category_venue ==”paris”){ Many thanks WAYNE |
Hi Wayne — That site wasn’t a multisite, so that’s the first potential roadblock. They had a site that was using a multilanguage plugin to provide different content for their two locations (one in England and one in Australia). They had already set up their categories so that if you were on an England version of their events page, you’d get a category list of all events at their England location and the same if you were on an Australia page. That was how the site was set up already, before I even touched it. My job for them was to get the payment gateways to match up. Because Event Espresso supports multiple gateways, but you don’t want a British bank showing up as an option for your Australian courses and because you don’t want the currency symbol for GBP to be the default across the board for all courses (bc Event Espresso doesn’t support — or didn’t at the time, anyway — multiple simultaneous currencies). So I had to basically hijack the payment gateway process to say “if we’re in a category that’s all England-based courses, show GBP as the currency AND use this payment gateway over here” and “if we’re in a category that’s all Australia-based courses, show AUD as the currency AND use this other gateway, over there.” Unfortunately, I don’t have any documentation, but I may have the files lying around. However, if what you’re looking to do is multisite-based, this solution may not be the right one for you. |
|
|
Hi Chris thanks for the speedy reply. I only set up multi site as a test. The current site is a single site and what you have explained seems perfect. We have english and french and need to change the currency symbol and make sure it sets the paypal form currency to euros so no exchange rate differences. We currently have separate the events by venues and check to see which event the venue is at either London or paris. Many thanks Wayne |
|
If you are using WPML for different languages, then I just did some work to make EE3 work with WPML. I put the work in our development branch of EE3, (3.1.38) so you’ll need a copy of that. Are you trying to use two different gateways, (ie, Paypal for one language, and Authnet for the other language), or the same gateway with different credentials and currency for the two languages? |
|
Hi Sidney, We are are using the same gateway, paypal. I have actually managed to check the venue and change the currency in paypal,I have also managed to change the currency symbol, but this relies on the finding the venue for each event, but feel mine is a dirty hack. id love to see your branch, its funny as i am literally about to implement WPML so sounds amazing! |
|
I’ve emailed you the file. You probably know already that you can move the gateway to uploads/espresso/gateways to preserve customizations from updates. I would take a look at like 13 of paypal_vars.php. You can do something similar to switch the paypal id being used based on the current WPML language. |
The support post ‘multisite-payment-option’ 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.