Changeset 1914198
- Timestamp:
- 07/24/2018 01:59:28 PM (8 years ago)
- Location:
- cardinalcommerce-oneconnect
- Files:
-
- 8 added
- 3 edited
-
tags/1.2.5 (added)
-
tags/1.2.5/Gateway.php (added)
-
tags/1.2.5/README.txt (added)
-
tags/1.2.5/cardinalcommerce-oneconnect.js (added)
-
tags/1.2.5/cardinalcommerce-oneconnect.php (added)
-
tags/1.2.5/currencies.php (added)
-
tags/1.2.5/instances.php (added)
-
trunk/Gateway.php (modified) (4 diffs)
-
trunk/README.txt (modified) (2 diffs)
-
trunk/cardinalcommerce-oneconnect.php (modified) (1 diff)
-
trunk/instances.php (added)
Legend:
- Unmodified
- Added
- Removed
-
cardinalcommerce-oneconnect/trunk/Gateway.php
r1889699 r1914198 9 9 $this->id = 'cardinalpm'; 10 10 $this->title = 'Credit Card'; 11 $this->method_title = ' CardinalCommerce OneConnect';11 $this->method_title = '3-D Secure Payment Gateway by CardinalCommerce'; 12 12 13 13 $this->has_fields = true; … … 29 29 $this->currencies = include 30 30 plugin_dir_path(CARDINAL_ONECONNECT_PLUGIN_FILE) . 'currencies.php'; 31 32 $this->instances = include 33 plugin_dir_path(CARDINAL_ONECONNECT_PLUGIN_FILE) . 'instances.php'; 31 34 } 32 35 … … 109 112 'default' => 'PROD', 110 113 'options' => array( 111 'PROD' => 'Production',112 114 'STAG' => 'Centinel Test', 115 'CYBERSOURCE' => 'CyberSource', 116 'FIRSTDATA' => 'FirstData', 117 'FIRSTDATA_TEST' => 'FirstData Test', 118 'PAYMENTECH' => 'Paymentech', 119 'PAYPAL' => 'PayPal', 120 '200' => 'Production 200', 121 '300' => 'Production 300', 122 '400' => 'Production 400', 123 'PROD' => 'Production 600', 124 '800' => 'Production 800', 125 '1000' => 'Production 1000', 126 '1200' => 'Production 1200', 113 127 ), 114 128 ), … … 305 319 306 320 public function pm_send_message($msg) { 307 $mpi_domain = 'centineltest.cardinalcommerce.com'; 308 if ($this->get_option('environment') == 'PROD') { 309 $mpi_domain = 'centinel600.cardinalcommerce.com'; 310 } 321 $env = $this->get_option('environment'); 322 $mpi_domain = $this->instances[$env]; 311 323 $maps_url = "https://{$mpi_domain}/maps/txns.asp"; 312 324 $xml = $this->mpi_xml($msg); -
cardinalcommerce-oneconnect/trunk/README.txt
r1900729 r1914198 4 4 Requires at least: 4.6 5 5 Tested up to: 4.7.5 6 Stable tag: 1.2. 46 Stable tag: 1.2.5 7 7 License: GPLv3 or later 8 8 LicenseURI: http://www.gnu.org/licenses/gpl-3.0.html … … 55 55 == Changelog == 56 56 57 = 2018.07.20 - Version 1.2.5 = 58 * Add support for different instances 59 57 60 = 2018.06.08 - Version 1.2.4 = 58 61 * Add emulation mode for testing transactions as admin -
cardinalcommerce-oneconnect/trunk/cardinalcommerce-oneconnect.php
r1889699 r1914198 16 16 } 17 17 18 define( 'CARDINAL_ONECONNECT_VERSION', '1.2. 4' );18 define( 'CARDINAL_ONECONNECT_VERSION', '1.2.5' ); 19 19 define( 'CARDINAL_ONECONNECT_PLUGIN_FILE', __FILE__ ); 20 20
Note: See TracChangeset
for help on using the changeset viewer.