Advertisement
Guest User

Untitled

a guest
Oct 18th, 2017
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.74 KB | None | 0 0
  1. <?php
  2. /**
  3. *
  4. * @ This file is created by http://DeZender.Net
  5. * @ deZender (PHP5 Decoder for ionCube Encoder)
  6. *
  7. * @ Version : 3.0.8.0
  8. * @ Author : DeZender
  9. * @ Release on : 25.09.2017
  10. * @ Official site : http://DeZender.Net
  11. *
  12. */
  13.  
  14. /**
  15. * Function to gather configuration settings for gateway
  16. * @version 1.0.4
  17. *
  18. * @return array
  19. * @since 1.0.0
  20. */
  21. function mgenterprise_config()
  22. {
  23. LeasedMyGate_licensevalid( true );
  24. $configarray = array(
  25. 'FriendlyName' => array(
  26. 'Type' => 'System',
  27. 'Value' => 'MyGate - My Enterprise Gateway'
  28. ),
  29. 'LicenseKey' => array(
  30. 'FriendlyName' => 'License Key',
  31. 'Type' => 'text',
  32. 'Size' => 60,
  33. '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>'
  34. ),
  35. 'testmode' => array(
  36. 'FriendlyName' => 'Test Mode',
  37. 'Description' => 'Tick this to enable test mode if using the live environment.',
  38. 'Type' => 'yesno'
  39. ),
  40. 'merchantid' => array(
  41. 'FriendlyName' => 'Merchant ID',
  42. 'Description' => 'Enter your Merchant ID in the field provided.',
  43. 'Type' => 'text'
  44. ),
  45. 'applicationid' => array(
  46. 'FriendlyName' => 'Application ID',
  47. 'Description' => 'Enter your Application ID in the field provided.',
  48. 'Type' => 'text'
  49. ),
  50. 'institution' => array(
  51. 'FriendlyName' => 'Gateway ID',
  52. 'Type' => 'dropdown',
  53. 'Options' => 'FNB,ABSA,NedBank,SBSA'
  54. ),
  55. 'devmode' => array(
  56. 'FriendlyName' => 'Developer Mode',
  57. 'Description' => 'Only for <a href="https://livingtechnologies.co.za" target="_blank">Living Technologies - developers</a>',
  58. 'Type' => 'yesno'
  59. ),
  60. 'devmerchantid' => array(
  61. 'FriendlyName' => 'DEV Merchant ID',
  62. 'Description' => 'Only for <a href="https://livingtechnologies.co.za" target="_blank">Living Technologies - developers</a>',
  63. 'Type' => 'text'
  64. ),
  65. 'devapplicationid' => array(
  66. 'FriendlyName' => 'DEV Application ID',
  67. 'Description' => 'Enter your Application ID from the Development Site in the field provided.',
  68. 'Type' => 'text'
  69. )
  70. );
  71. return $configarray;
  72. }
  73.  
  74. /**
  75. * Function to perform 3D Secure transaction
  76. * @version 1.0.4
  77. * @param array
  78. *
  79. * @return string
  80. * @since 1.0.0
  81. */
  82. function mgenterprise_3dsecure($params)
  83. {
  84. if (!(LeasedMyGate_licensevalid( ))) {
  85. return;
  86. }
  87.  
  88. extract( mgenterprise_buildcalldata( $params, NULL, '3dsecure' ) );
  89. $params = (object) $params;
  90. $client = (object) $params->clientdetails;
  91. .........................................................
  92. ..............................
  93. .............
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement