basic Posted October 31, 2009 Share Posted October 31, 2009 Hello All: We just shifted from ModernBill to WHMCS. The *only* issue that we are having with WHMCS now is multi-currency billing -- that is, applying certain billing gateways to to certain currencies. That has been discussed here in several other threads -- no need to repeat this here. I am sure WHMCS will become better at this as it is further developed. For now, we might want to use TWO or THREE installs of WHMCS -- all on the same domain, just in different folders ... one install for each currency. Question: Will we need a separate license for each WHMCS install, although they are on the same domain? Thanks! Frank 0 Quote Link to comment Share on other sites More sharing options...
DedicatedPros Posted October 31, 2009 Share Posted October 31, 2009 You will need different installs as they each have different directory placement, though as a hint, I think with editing of the tpl files you could achieve what you want 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted November 1, 2009 WHMCS Support Manager Share Posted November 1, 2009 This can be achieved with a template hack in viewcart.tpl, rather than ordering multiple licences eg: {if $currency.code eq "USD"} <input type="radio" name="paymentmethod" value="paypal" id="pgbtn0"{if $selectedgateway eq "paypal"} checked{/if} /> <label for="pgbtn0">PayPal</label> {elseif $currency.code eq "GBP"} <input type="radio" name="paymentmethod" value="googlecheckout" id="pgbtn0"{if $selectedgateway eq "googlecheckout"} checked{/if} /> <label for="pgbtn0">Google Checkout</label> {/if} This example will use PayPal for USD purchases and Google for GBP purchases. 0 Quote Link to comment Share on other sites More sharing options...
basic Posted November 2, 2009 Author Share Posted November 2, 2009 Thank you for the info! Still, *if* we had two installs -- in different directories but on the same domain -- would we need two licenses? Frank 0 Quote Link to comment Share on other sites More sharing options...
[JSH]John Posted November 3, 2009 Share Posted November 3, 2009 Yes, you would need 2 different licenses as the directory is different. 0 Quote Link to comment Share on other sites More sharing options...
basic Posted November 4, 2009 Author Share Posted November 4, 2009 Okay, I followed your instructions ... here is my code -- it works. Just posting this here, so others may use it as well. We are using authorize.net for US Dollar and 2CheckOut for EURO credit card payments. And in addition we offer PayPal for all currencies ... that makes sense, as you will agree. EDIT: /WHMCS-INSTALL-DIRECTORY/templates/orderforms/default/viewcart.tpl (We use the "default" shopping cart template.) EXISTING (original code): (...) <p><b>{$LANG.orderpaymentmethod}</b></p> <p align="center">{foreach key=num item=gateway from=$gateways}<input type="radio" name="paymentmethod" value="{$gateway.sysname}" id="pgbtn{$num}"{if $selectedgateway eq $gateway.sysname} checked{/if} /><label for="pgbtn{$num}">{$gateway.name}</label> {/foreach}</p> (...) =====>> change to: ===>> (...) <p><b>{$LANG.orderpaymentmethod}</b></p> <input type="radio" name="paymentmethod" value="paypal" id="pgbtn0"{if $selectedgateway eq "paypal"} checked{/if} /> <label for="pgbtn0">PayPal</label> {if $currency.code eq "USD"} <input type="radio" name="paymentmethod" value="authorize" id="pgbtn0"{if $selectedgateway eq "authorize"} checked{/if} /> <label for="pgbtn0">Credit Card - US $</label> {elseif $currency.code eq "EUR"} <input type="radio" name="paymentmethod" value="tco" id="pgbtn0"{if $selectedgateway eq "tco"} checked{/if} /> <label for="pgbtn0">Credit Card - EURO €</label> {/if} (...) Unfortunately, in the following screen, the customer is again offered to choose a currency, so he can still change it. But this is half-half acceptable as it is. It still is no good solution, though. FOR EXAMPLE, we would also like to use 2CheckOut for British Pounds ... but WHMCS only allows one 2CheckOut account. (Anyone has a way to hack this as well?) I hope that Matt will change this setup and will allow to assign gateways to currencies -- that would certainly be a better solution. Frank 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.