itch Posted July 30, 2009 Share Posted July 30, 2009 I was wondering if this is possible. I have for example the following two payment gateways: - Direct Debit Order - PayPal For PayPal I want to allow all curriences, but for direct debit order I only wish to allow one curreny. Is this possible? 0 Quote Link to comment Share on other sites More sharing options...
Administrators WHMCS John Posted July 30, 2009 Administrators Share Posted July 30, 2009 Nope, not currently possible through the interface. Could only be done as a template customisation. 0 Quote Link to comment Share on other sites More sharing options...
itch Posted July 30, 2009 Author Share Posted July 30, 2009 Can you tell me where a good starting point would be? Which page? 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted July 30, 2009 WHMCS CEO Share Posted July 30, 2009 The customisation would need to be done in the viewcart.tpl template file, replacing the default payment gateway output. For example this would show PayPal only for USD orders and Google Checkout only for GBP orders: {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} Matt 0 Quote Link to comment Share on other sites More sharing options...
itch Posted July 30, 2009 Author Share Posted July 30, 2009 Thanks so much. I think that'll make it pretty easy! 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.