Dillu Posted January 5, 2012 Share Posted January 5, 2012 Dear Peoples, I have to point this script to Bank Urls ,which payments are different for each package the customer will buy, I am using this script, but i can't add this script multiple times in payment gateway module, So i am restricted to show only 1 page. i want it to enable it multiple times so i will able to give different url for different product. Please help <?php /* * Simple External URL gateway module for WHMCS * Free - GNU license * © 2011 - Nasos Liagos - nasos75 at gmail dot com * http://www.valuehost.com.gr */ function externalurl_config() { $configarray = array( "FriendlyName" => array("Type" => "System", "Value"=>"External URL"), "URL" => array("FriendlyName" => "URL", "Type" => "text", "Size" => "60", "Description" => "Enter the full external URL (ie https://www.mybank.com/client.pay)", ), "URLtext" => array("FriendlyName" => "Label", "Type" => "text", "Size" => "60", "Description" => "Enter the label for the link (ie Click here for mybank payment)", ), "URLtarget" => array("FriendlyName" => "Target", "Type" => "text", "Size" => "20", "Value" => "_blank", "Description" => "Enter the target when link is selected (ie _blank)", ), ); return $configarray; } function externalurl_link($params) { $code = '<a href ="'.$params['URL'].'" target="'.$params['URLtarget'].'">'.$params['URLtext'].'</a>'; return $code; } ?> 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.