Proteus Posted March 23, 2011 Share Posted March 23, 2011 I have set up a 2Checkout payment gateway/account, and when my clients select a package that they would like to register for, they have two options: - 2Checkout - PayPal That is the exact text for the selections. Since 2Checkout is a credit card processor, is there any way to change the text '2Checkout' to 'Pay by Credit Card' or something like that? What do I have to edit to show this? Clients may be confused, as they might be unaware of what 2Checkout is. Any ideas? Ideally it would be nice to also include a JPG with the major credit card logos as well ... 0 Quote Link to comment Share on other sites More sharing options...
zomex Posted March 23, 2011 Share Posted March 23, 2011 (edited) It sure is, if you go to setup > payment gateways > 2checkout. By changing the name here it should fix your issue. To include images for each option you'll need to use: <img src="images/{$gateway.sysname}.gif" alt="{$gateway.name}" /> where you would like the images to appear in the file whmcs/templates/orderforms/(your cart template)/viewcart.tpl in the section <h3 class="center">{$LANG.orderpaymentmethod}</h3>. Lastly you'll need to upload the images (as gif but you can use a different format by changing the code) to whmcs/images. Also keep in mind that they need to be named exactly as WHMCS calls them. For 2checkout you will need to name the file: tco.gif If you need the 2checkout/paypal images I use feel free to grab them here: http://www.zomex.com/clients/images/tco.gif http://www.zomex.com/clients/images/paypal.gif Jack Edited March 23, 2011 by zomex 0 Quote Link to comment Share on other sites More sharing options...
Proteus Posted March 25, 2011 Author Share Posted March 25, 2011 Zomex, Thanks a ton for your help. I have implemented your suggestions without any problems. Extra kudos for going the extra mile and providing me with links to your buttons! Cheers brother! 0 Quote Link to comment Share on other sites More sharing options...
hostleet Posted March 27, 2011 Share Posted March 27, 2011 It sure is, if you go to setup > payment gateways > 2checkout. By changing the name here it should fix your issue. To include images for each option you'll need to use: <img src="images/{$gateway.sysname}.gif" alt="{$gateway.name}" /> where you would like the images to appear in the file whmcs/templates/orderforms/(your cart template)/viewcart.tpl in the section <h3 class="center">{$LANG.orderpaymentmethod}</h3>. Lastly you'll need to upload the images (as gif but you can use a different format by changing the code) to whmcs/images. Also keep in mind that they need to be named exactly as WHMCS calls them. For 2checkout you will need to name the file: tco.gif If you need the 2checkout/paypal images I use feel free to grab them here: http://www.zomex.com/clients/images/tco.gif http://www.zomex.com/clients/images/paypal.gif Jack Thank you very much for this, it is exactly what I was looking for! 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.