Jump to content

2 WHMCS installs, 1 or 2 licenses ?


basic

Recommended Posts

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

Link to comment
Share on other sites

  • WHMCS Support Manager

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated