November 15, 2016 at 12:31 am #47666
I have just activated a currency switcher: http://currency-switcher.com/ which is works very well, till the check out.
I have chosen this plugin because it had the option that customers could pay in their selected currency.
The problem is that even if the customers can browse in their own currency when they are at the checkout page they are only able to pay with the site’s default currency such as AUD. (as soon as I activate the plugin’s multiplied currency payment option, there will be an error message clicking on the PAY button, so the payment is not allowed and the transaction is cancelled)
I have already contacted the plugin’s developer with this issue but he tested it and said (and proved) thathis plugin is working fine without wcvendors….so: can you please advise me a solution for this issue?
I would really appreciate it!
KrisztaNovember 15, 2016 at 6:53 pm #47752
You’d have to fully integrate that plugin with WC Vendors/WC Vendors Pro.
We do not currently have a currency switching plugin that is fully integrated with WC Vendors.November 20, 2016 at 12:18 am #48072
Well, I got that already but I think the plugin’s developer will need some info/help from your part…
I have also found Aelia as an alternative option (their currency switcher will be as good as my current one) I have contacted them with the same question ( I mean if their plugin could work with wc vendors or not) here’s their answer:
“Our Currency Switcher doesn’t alter WC Vendors to make it work properly in a multi-currency environment, simply because it can’t “inject” changes in that plugin’s logic to call the currency conversion function (and it shouldn’t, either). It’s up to that plugin, and any other 3rd party plugins, to “talk” to the multi-currency functions and ensure the correct conversion of their prices.
We already discussed with the authors of the WC Vendors plugins how to implement full multi-currency support in their product (we are helping developers on a regular basis, for that purpose). We also sent them all the information required to make their product they require for the implementation. Now it’s up to them to add that feature. You might want to check if they made any progress, or if they have an estimated delivery date for that.
It might be possible that WC Vendors already works correctly, to a certain extent, but we haven’t tested it ourselves”
So please let me know how can I or anybody do the job, to fully integrate the plugin with wcvendors?
CheersNovember 20, 2016 at 12:32 pm #48105
The mechanics of integrating a currency converter for VENDORS would be a veritable nightmare. The constant updating of accurate currency conversions- it would create a mess.
The author of that plugin has given you accurate information. I am sure it is a great plugin, and offering currency conversions for the customers should work well. However, integrating this such that it can convert for vendors is a whole new endeavor- and not practical at all.
It is noted in our feature requests that this is a desired feature- but practically working out the intricacies of such an option has not yet been worked out, so that it is not only feasible but practically applicable for the vendor format as it is in WC Vendors.November 20, 2016 at 12:53 pm #48107
OK 🙁January 11, 2017 at 1:03 pm #52736
I’m the lead developer behind the Aelia Currency Switcher, and I’ve been asked by a customer to reply to this thread.
Implementing multi-currency support might indeed require some effort, but keeping the prices up to date would not be one of WC Vendors’ concern. Our solution takes care of everything related to exchange rates, orders and standard reports, and it provides a very simple API that other plugins can use. Most of the work, for WC Vendors, would come from a user experience perspective. At the very minimum, the plugin would have to do the following:
1. Provide an interface for admins and vendors to enter product prices in multiple currencies (e.g. 100 USD, 100 EUR, 100 GBP). This would have to be done both on frontend and backend.
2. When a product is loaded, ensure that the correct price is taken (the USD, the EUR, the GBP one). If that price is empty, then call the currency conversion functions (one line of code) to determine the price from the base one (e.g. calculate the EUR one from the USD one, if USD is a vendor’s currency).
The above is relatively straightforward. Once that is in place, the most important part comes:
3. Keep track of vendors’ commissions, in the currency they want to be paid in. For example:
– Vendor A wants to sell in EUR.
– Vendor B wants to sell in GBP.
– A customer buys one product from A and one from B, and pays in USD.
The commission calculator would have to calculate the correct commission for each product, in USD, convert it to the target currency (EUR or GBP) using the API (still the one line of code mentioned at #2) and credit each merchant accordingly.
This is also straightforward, from a technical perspective. There is just a small caveat for the platform owner: he would be paid in USD by the buyer, yet would have to pay vendors in EUR and GBP. Converting currencies attracts fees, which could be as high as 4%. That would have to be taken into account.
It might be outside the scope of WC Vendors to handle such fees, but it should be possible to add a setting for each vendor, such as “choose the currency in which you want to be paid. If the currency is not <our base currency>, a currency conversion fee of X% will apply“.
4. Produce reports in the correct currency. Very important, but also relatively simple. It’s a matter of not making a sum of all sales, but grouping them by currency (i.e. not calculate a total like 100 USD + 100 EUR + 100 GBP = 300, but keep each total separate).
This is what came to my mind so far, based on my limited knowledge of WC Vendors, but it should give an idea of the work to be done, and why it might take longer than expected to do it. Supporting multiple currencies is a significant paradigm shift, as it’s no longer possible to assume that “everything is apples”. As we all learn in school, mixing oranges with apples is not a good idea. 🙂
This should also make it clearer why a multi-currency plugin, even as flexible as the one we developed, cannot introduce all those features from the outside. WC Vendors is a fairly complex plugins, and its internal logic needs to be designed with multiple currencies in mind. “Injecting” that logic externally is simply not possible.
The good news is that we will be ready to work with the WC Vendors Team, when the time will come, to make their products fully multi-currency. We helped many developers already, we’ll be happy to provide some guidance through the maze of multiple currencies. 🙂January 11, 2017 at 2:20 pm #52746
One more thought about multi-currency support. I got an idea that could cut down development quite a bit.
During vendor registration, WC Vendors could ask what currency should be used for that account (e.g. “in which currency would you like to sell?”). Once set, the currency should not be changed. When a vendor creates a product, he can enter prices exactly as he does now, using the very same interface. The product would also be saved as it happens now.
When the product is loaded on the frontend, for a sale, then the currency conversion takes place. That is, when $product->get_price(), $product->get_regular_price() and $product->get_sale_price() are invoked, their value is passed to the currency conversion function (again, one line of code), specifying vendor’s currency as the base one, and the active currency as the target one.
This would work as follows:
– Vendor A registers as a EUR seller and creates a product priced 100 (EUR).
– Vendor B registers as a GBP seller and creates a product price 100 (GBP).
– Customer adds a product from A, whose price will appear as 100 EUR to USD = 105.97 USD.
– Customer adds a product from B, whose price will appear as 100 GBP to USD = 122.32 USD.
– Customer places the order for 228.29 USD. Vendors get their commission from such amount, which is then converted to their account currency (same function used for the prices) and stored against their balance.
This should be quite simpler to implement, as it doesn’t require modifying user interfaces. Of course, reports still have to be extended, and the conversion fees handled, but it would be a significant step ahead in an easier direction. 🙂January 11, 2017 at 6:23 pm #52762
Thank you- I will discuss this with my team. 🙂January 11, 2017 at 7:33 pm #52769
Conscious CraftiesParticipant29 pts@Conscious Crafties
Following with happy dances!!!!!
I DESPERATELY need this along with many WCVendors customers! Thank you for adding the link to this post in our other currency related threads @aelia!
It’s been a big worry that I might need to create separate sites for each country where my customers and vendors are based, thank you for giving me and others hope!
I appreciate that something like this will take time but I’m sure @ben and @digitalchild would be willing to work with you on this. It would make WCVendors the ONLY multi vendor Woocommerce plug in to overcome the multi currencies issue. Something that will keep coming up as our world gets smaller, making WCVendors THE only multi vendor plug in for international sites.
Option 2 sounds more manageable and also more user friendly for vendors and customers. The perfect solution and exactly what I’d be hoping for.
KarenJanuary 12, 2017 at 1:01 am #52783
🙂January 15, 2017 at 5:56 am #53169
Matt UnsworthParticipant3 pts@mattunsworthuk
Would this proposed plug in work with Stripe. Sales in alternative currency tend to.get much lower fees than paypal from what i have seen.
It is also the gateway i use. Payments are always worked out and sent instantly.January 15, 2017 at 11:13 am #53177
@mattunsworthuk Stripe works just fine with multiple currencies. We have been using it on our own site for years. Actually, I can say that practically every payment method will work with our Aelia Currency Switcher, as our plugin doesn’t interfere with the payment process.
Of course, the payment provider must be able to accept the payments in the currency you send to it. 🙂
Since the multi-currency integration won’t change the main flow of WC Vendors, I reckon that everything will work as it does now. Just more flexible. 🙂January 15, 2017 at 8:10 pm #53207
I assume this would also work for sites who aren’t doing commissions? (with my site I charge the vendors a yearly fee and they receive 100% of the sale, I don’t take any commissions)January 16, 2017 at 5:15 am #53217
As I wrote earlier, existing WC Vendors flow would be unaltered. If you charge your vendors a fixed fee, that feature should still work as it does now.
You must be logged in to reply to this topic.