Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- *
- * @ This file is created by http://DeZender.Net
- * @ deZender (PHP5 Decoder for ionCube Encoder)
- *
- * @ Version : 3.0.8.0
- * @ Author : DeZender
- * @ Release on : 25.09.2017
- * @ Official site : http://DeZender.Net
- *
- */
- /**
- * Function to gather configuration settings for gateway
- * @version 1.0.4
- *
- * @return array
- * @since 1.0.0
- */
- function mgenterprise_config()
- {
- LeasedMyGate_licensevalid( true );
- $configarray = array(
- 'FriendlyName' => array(
- 'Type' => 'System',
- 'Value' => 'MyGate - My Enterprise Gateway'
- ),
- 'LicenseKey' => array(
- 'FriendlyName' => 'License Key',
- 'Type' => 'text',
- 'Size' => 60,
- 'Description' => '<br />Please enter your license key obtained from <a href="https://livingtechnologies.co.za/billing/clientarea.php?action=services" target="_blank">Living Technologies - Changing tomorrow ... today!</a>'
- ),
- 'testmode' => array(
- 'FriendlyName' => 'Test Mode',
- 'Description' => 'Tick this to enable test mode if using the live environment.',
- 'Type' => 'yesno'
- ),
- 'merchantid' => array(
- 'FriendlyName' => 'Merchant ID',
- 'Description' => 'Enter your Merchant ID in the field provided.',
- 'Type' => 'text'
- ),
- 'applicationid' => array(
- 'FriendlyName' => 'Application ID',
- 'Description' => 'Enter your Application ID in the field provided.',
- 'Type' => 'text'
- ),
- 'institution' => array(
- 'FriendlyName' => 'Gateway ID',
- 'Type' => 'dropdown',
- 'Options' => 'FNB,ABSA,NedBank,SBSA'
- ),
- 'devmode' => array(
- 'FriendlyName' => 'Developer Mode',
- 'Description' => 'Only for <a href="https://livingtechnologies.co.za" target="_blank">Living Technologies - developers</a>',
- 'Type' => 'yesno'
- ),
- 'devmerchantid' => array(
- 'FriendlyName' => 'DEV Merchant ID',
- 'Description' => 'Only for <a href="https://livingtechnologies.co.za" target="_blank">Living Technologies - developers</a>',
- 'Type' => 'text'
- ),
- 'devapplicationid' => array(
- 'FriendlyName' => 'DEV Application ID',
- 'Description' => 'Enter your Application ID from the Development Site in the field provided.',
- 'Type' => 'text'
- )
- );
- return $configarray;
- }
- /**
- * Function to perform 3D Secure transaction
- * @version 1.0.4
- * @param array
- *
- * @return string
- * @since 1.0.0
- */
- function mgenterprise_3dsecure($params)
- {
- if (!(LeasedMyGate_licensevalid( ))) {
- return;
- }
- extract( mgenterprise_buildcalldata( $params, NULL, '3dsecure' ) );
- $params = (object) $params;
- $client = (object) $params->clientdetails;
- .........................................................
- ..............................
- .............
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement