luposoft Posted August 12, 2010 Share Posted August 12, 2010 Hi, I would put the choice to the customer to pay by Paypal or other gateways or using any available credit. It 'can use the credit as a payment method? 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted August 13, 2010 WHMCS Support Manager Share Posted August 13, 2010 Credit is always automatically used first. If there's a remaining balance, then the client will need to pay with their chosen payment gateway. 0 Quote Link to comment Share on other sites More sharing options...
luposoft Posted August 13, 2010 Author Share Posted August 13, 2010 If there's a remaining balance, is possible don't show other payment gateway OR show all payment gateway with also CREDIT? Example: choose payment gatewey: - PAYPAL - Use Credit Balance regards Luciano 0 Quote Link to comment Share on other sites More sharing options...
othellotech Posted August 13, 2010 Share Posted August 13, 2010 yes, if the client has a credit balance they can apply it to their invoices 0 Quote Link to comment Share on other sites More sharing options...
luposoft Posted August 14, 2010 Author Share Posted August 14, 2010 Excuse me, probably I can not explain. I mean when ordering,in order form. Not after it has already been invoiced. 0 Quote Link to comment Share on other sites More sharing options...
othellotech Posted August 14, 2010 Share Posted August 14, 2010 when ordering, the invoice is autopaid by credit if there is one 0 Quote Link to comment Share on other sites More sharing options...
luposoft Posted August 14, 2010 Author Share Posted August 14, 2010 Yes, is autopaid with credit but in the invoice there is paid with paypal because in order form there is only paypal as payment gateway. I think that is better if the order form show paypal payment gateway only if credit is not present. 0 Quote Link to comment Share on other sites More sharing options...
luposoft Posted August 15, 2010 Author Share Posted August 15, 2010 Is possible sont use autopaid with credit but let he choose (credit or other payment gateway) To client? thank you for your help. 0 Quote Link to comment Share on other sites More sharing options...
othellotech Posted August 18, 2010 Share Posted August 18, 2010 Is possible sont use autopaid with credit but let he choose (credit or other payment gateway) To client? No. WHMCS will use the credit first against new orders/invoices *always* (personally I'd prefer it to be a per-client choice whether to autopay with credit) 0 Quote Link to comment Share on other sites More sharing options...
9DollarDomains Posted January 25, 2011 Share Posted January 25, 2011 (edited) I agree. However, I'm just not seeing it use the credits at all. I have put a $5 credit on my personal account through the admin area. I then order a .ca domain, and while checking out, the system shows the total of $12, and payment links to Credit Card or PayPal, just like normal. There's no obvious way to apply the $5 credit, and there's nothing on the invoice that shows a $5 credit or a $7 balance due. What am I missing? THANX! PS - I guess if I select PayPal and if I then go to the next screen, then it does show me the $5 credit and the $7 balance due. I (and my customers) was expecting to see that info on the previous screen, instead of "TOTAL DUE TODAY: $12". Is there a setting or something somewhere that I am missing, so that this is more apparent to clients? I have one client in particular that has a $14.14 credit on his account, he keeps ordering domains and paying via his Credit Card, and it never uses his credit balance, and he can't figure out how to apply that credit to his invoices, nor can I. Edited January 25, 2011 by 9DollarDomains 0 Quote Link to comment Share on other sites More sharing options...
scurrell Posted January 25, 2011 Share Posted January 25, 2011 Have you checked that Setup > General Settings > Invoices > Disable Auto Credit Applying isn't ticked? 0 Quote Link to comment Share on other sites More sharing options...
9DollarDomains Posted January 25, 2011 Share Posted January 25, 2011 Thank you. OK, I've looked and there is no check mark in there. Disable Auto Credit Applying [_] Tick to disable automatically applying credit from a users available credit balance when generating invoices. 0 Quote Link to comment Share on other sites More sharing options...
9DollarDomains Posted January 25, 2011 Share Posted January 25, 2011 Hi. OK, here's what I have discovered. The program is set to 'apply credit to invoices automatically', so that basically means that if you have a $5 credit balance, and if you generate a $12 order, the invoice should be for $7 only. However, what we are seeing - on the checkout screen, it shows "Total Due Today: $12.00 USD", and doesn't show the Credit on that screen - the "cart.php?a=checkout" screen. I think it really should show it there, and that would make it clearner. If you (for example) select PayPal as the payment method, and continue to the next page, THEN it shows the credit, and shows that the total billed will only be $7, but on the previous screen, it says "Total Due Today: $12.00 USD" and that's obviously throwing customers off. Is there any way to change this behaviour? I suppose we could somehow create a custom template, but I really don't like doing anything that complicates upgrades, and besides, I can't really understand how anyone would want the default behaviour to be to show an incorrect amount after "Total Due Today:" anyway. So, is there a way to change this behaviour? 0 Quote Link to comment Share on other sites More sharing options...
timurcat99 Posted February 3, 2011 Share Posted February 3, 2011 I would love to see this resolved as i am in the same boat. Anyone have a clue? Thanks 0 Quote Link to comment Share on other sites More sharing options...
heapmaster Posted October 19, 2012 Share Posted October 19, 2012 Here is how to do it, this will require some HTML and smarty knowledge. This example is for the modern cart template, so others may vary. Open up the viewcart.tpl file of your selected cart template and look for the following line or similar line that has the {$LANG.ordertotalduetoday} variable: <tr class="total"><td class="textright">{$LANG.ordertotalduetoday}: </td><td class="textcenter">{$total}</td></tr> If the line above looks different then what you have you will need to change the lines below that have {$LANG.ordertotalduetoday} to match what you have as far as HTML is concerned. You will want to replace the line stated above with the following: {if $clientsdetails.credit > 0} {assign var="inttotal" value=$total|replace:$currency.suffix:''} {assign var="inttotal" value=$inttotal|replace:$currency.prefix:''} <tr class="total"><td class="textright">{$LANG.statscreditbalance}: </td><td class="textcenter">{$clientsstats.creditbalance}</td></tr> {if $clientsdetails.credit > $inttotal} <tr class="total"><td class="textright">{$LANG.ordertotalduetoday}: </td><td class="textcenter">{$currency.prefix}0.00{$currency.suffix}</td></tr> {else} {assign var="total" value=`$inttotal-$clientsdetails.credit`} {assign var="total" value=$total|number_format:2} <tr class="total"><td class="textright">{$LANG.ordertotalduetoday}: </td><td class="textcenter">{$currency.prefix}{$total}{$currency.suffix}</td></tr> {/if} {else} <tr class="total"><td class="textright">{$LANG.ordertotalduetoday}: </td><td class="textcenter">{$total}</td></tr> {/if} 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.