zitu4life Posted June 8, 2020 Share Posted June 8, 2020 (edited) Hello there I have 4 Mail in payment gayeway and soon 3rd payment gateway to get it active... I created them using default WHMCS one´s and just editing names. I was thinking if i could have them with logo. I saw an old @brian! post from 2018 related to paypal, but after look deeper I guess it do not aply for mail in payment. There any other post outthere to pointing me on the right direction, any inputs where to look at? Edited June 8, 2020 by zitu4life correct english words 0 Quote Link to comment Share on other sites More sharing options...
zitu4life Posted June 8, 2020 Author Share Posted June 8, 2020 (edited) Here is an example: <?php # Main in Payment Gateway Module if (!defined("WHMCS")) die("This file cannot be accessed directly"); function mailin_config() { $configarray = array( "FriendlyName" => array( "Type" => "System", "Value" => "Mail In Payment" ), "instructions" => array( "FriendlyName" => "Bank Transfer Instructions", "Type" => "textarea", "Rows" => "5", "Value" => "Bank Name:\nPayee Name:\nSort Code:\nAccount Number:", "Description" => "The instructions you want displaying to customers who choose this payment method - the invoice number will be shown underneath the text entered above", ), ); return $configarray; } function mailin_link($params) { $code = '<p>' . nl2br($params['instructions']) . '<br />' . Lang::trans('invoicerefnum') . ': ' . $params['invoicenum'] . '</p>'; return $code; } So to have logo displayed on Cart for those mail in payment, I assume changes should start first on that WHMCS code 🙄 Edited June 8, 2020 by zitu4life PS: Ignore this post...I have managed to make it work...It was a lot information to understand, but I managed to make it work 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted June 9, 2020 Share Posted June 9, 2020 9 hours ago, zitu4life said: PS: Ignore this post...I have managed to make it work...It was a lot information to understand, but I managed to make it work I would have thought the four gateways would have different names in WHMCS - that would be where I would have looked to display different logos for each... and if that's the case, you shouldn't need any additional coding. 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.