Changeset 2025416
- Timestamp:
- 02/05/2019 06:11:41 PM (7 years ago)
- Location:
- cardinalcommerce-oneconnect
- Files:
-
- 9 added
- 5 edited
-
tags/1.2.5/Gateway.php (modified) (1 diff)
-
tags/1.2.8 (added)
-
tags/1.2.8/Gateway.php (added)
-
tags/1.2.8/README.txt (added)
-
tags/1.2.8/Token.php (added)
-
tags/1.2.8/cardinalcommerce-oneconnect.js (added)
-
tags/1.2.8/cardinalcommerce-oneconnect.php (added)
-
tags/1.2.8/currencies.php (added)
-
tags/1.2.8/instances.php (added)
-
trunk/Gateway.php (modified) (6 diffs)
-
trunk/README.txt (modified) (2 diffs)
-
trunk/Token.php (added)
-
trunk/cardinalcommerce-oneconnect.js (modified) (1 diff)
-
trunk/cardinalcommerce-oneconnect.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cardinalcommerce-oneconnect/tags/1.2.5/Gateway.php
r1914198 r2025416 755 755 if ( ( $emulation_enabled == "yes" ) and $is_admin ){ 756 756 return false; 757 } elseif ( ( $emulation_enabled == "yes" ) and !$is_admin ) { 757 } elseif ( ( $emulation_enabled == "yes" ) and !$is_admin ) { 758 758 return true; 759 759 } elseif ( $emulation_enabled == "no" ) { -
cardinalcommerce-oneconnect/trunk/Gateway.php
r1933369 r2025416 12 12 13 13 $this->has_fields = true; 14 $this->supports = array('products', 'refunds'); 14 $this->supports = array( 15 'products', 16 'refunds' 17 //'tokenization' 18 ); 15 19 16 20 add_action( 'woocommerce_update_options_payment_gateways_' . … … 32 36 $this->instances = include 33 37 plugin_dir_path(CARDINAL_ONECONNECT_PLUGIN_FILE) . 'instances.php'; 38 39 require_once plugin_dir_path(CARDINAL_ONECONNECT_PLUGIN_FILE) . 40 'Token.php'; 34 41 } 35 42 … … 149 156 ), 150 157 158 'merchantContent' => array( 159 'title' => 'Consumer Messaging', 160 'description' => 161 'Input text to display to customers while payment is ' . 162 'processing.', 163 'desc_tip' => true, 164 'type' => 'text', 165 ), 166 151 167 'apiIdentifier' => array( 152 168 'title' => 'API Identifier', … … 260 276 261 277 $id = 'CardinalOneConnectResult'; 262 echo "<input type='hidden' autocomplete='off' id='{$id}' name='$id' />"; 278 $merchant_content = $this->get_option('merchantContent'); 279 echo "<input type='hidden' autocomplete='off' id='{$id}' name='$id' /><div id='merchant-content-wrapper' style='display: none'><div id='actual-merchant-content'>{$merchant_content}</div></div>"; 263 280 } 264 281 … … 424 441 return $rv; 425 442 } 443 444 // public function add_payment_method() { 445 446 // $old_token = $this->get_users_token(); 447 // $token = $this->save_token(); 448 // if ( is_null( $token ) ) { 449 // $this->reject_with_error('This payment method could not be saved.'); 450 // return; 451 // } 452 453 // return array( 454 // 'result' => 'success', 455 // 'redirect' => wc_get_endpoint_url( 'payment-methods' ), 456 // ); 457 // } 458 459 // public function save_token(){ 460 461 // $cruise_result_json = $_POST['CardinalOneConnectResult']; 462 // $cruise_result = json_decode(stripslashes($cruise_result_json)); 463 // $jwt = $this->parse_cruise_jwt($cruise_result->jwt); 464 // $cc_token = $jwt->Token; 465 466 // $token = new WC_Payment_Gateway_Cardinal_OneConnect_Token(); 467 468 // $token->set_token($cc_token->Token); 469 // $token->set_gateway_id($this->id); 470 // $token->set_last4($cc_token->CardLastFour); 471 // $token->set_expiry_year($cc_token->ExpirationYear); 472 // $token->set_expiry_month($cc_token->ExpirationMonth); 473 // $token->set_card_code($cc_token->CardCode); 474 475 // if ( is_user_logged_in() ) { 476 // $token->set_user_id( get_current_user_id() ); 477 // } 478 479 // $token->save(); 480 481 // if ( is_user_logged_in() ) { 482 // WC_Payment_Tokens::set_users_default( get_current_user_id(), $token->get_id() ); 483 // } 484 485 // return $token; 486 // } 487 488 // protected function get_users_token() { 489 // $customer_token = null; 490 // if ( is_user_logged_in() ) { 491 // $tokens = WC_Payment_Tokens::get_customer_tokens( get_current_user_id() ) ; 492 // foreach ( $tokens as $token ) { 493 // if ( $token->get_gateway_id() === $this->id ) { 494 // $customer_token = $token; 495 // break; 496 // } 497 // } 498 // } 499 // return $customer_token; 500 // } 426 501 427 502 public function process_payment( $order_id ) { … … 475 550 $this->reject_with_error('data and Payload ActionCode do not match'); 476 551 } 552 553 // $token = $jwt->Token; 554 // if( isset( $_POST['wc-cardinalpm-new-payment-method'] ) ) { 555 // if (!$token){ 556 // $this->reject_with_error('This payment method could not be saved.'); 557 // return; 558 // } else { 559 // $this->add_payment_method(); 560 // } 561 // } 477 562 478 563 $orderid = $payload->AuthorizationProcessor->ProcessorOrderId; -
cardinalcommerce-oneconnect/trunk/README.txt
r1933369 r2025416 1 1 === 3-D Secure Payment Gateway by CardinalCommerce === 2 2 Contributors: cardinalsupport, williamjlittlefield 3 Tags: 3 -D Secure, authorize.net, payment, chargeback, fraud3 Tags: 3DS, PSD2, SCA, payment, authentication 4 4 Requires at least: 4.6 5 Tested up to: 4.7.56 Stable tag: 1.2. 75 Tested up to: 5.0.3 6 Stable tag: 1.2.8 7 7 License: GPLv3 or later 8 8 LicenseURI: http://www.gnu.org/licenses/gpl-3.0.html 9 9 WC requires at least: 3.0 10 WC tested up to: 3. 0.810 WC tested up to: 3.5.4 11 11 12 12 OneConnect is your 3-D Secure Payment Gateway Plugin for use with your current payment service provider. … … 16 16 <h3>3-D Secure Payment Gateway by CardinalCommerce</h3> 17 17 18 Enable 3-D Secure on your WooCommerce site to protect your payments: 1. Reduce Fraud and Shift Fraud Liability to the Issuing Bank 2. Accept More Sales and Improve Authorization Rates 3. Slash Manual Review for Fraud 4. Cut chargeback fees and virtually end representment 5. Some merchants even reduce thier interchange fees. 19 Some compatible payment service providers include Authorize.net, Cybersource, Chase Paymentech, Heartland, Network Merchants (NMI), First Data, PayPal PayFloPro, and more. 18 Cardinal Consumer Authentication, leveraging 3-D Secure, helps you: 19 1. Reduce fraud 20 2. Accept more sales and improve authorization rates 21 3. Comply with regulations like PSD2-SCA (in Europe) 22 4. Reduce manual review for fraud 23 5. Cut chargeback fees 20 24 25 Compatible with the following payment service providers (PSPs): 26 * Authorize.net 27 * Chase Paymentech 28 * CyberSource 29 * First Data 30 * Heartland 31 * Network Merchants (NMI) 32 * PayPal PayflowPro 33 * And more 21 34 22 Call 877-352-8444 for more information or use the [credentials form](http://info.cardinalcommerce.com/credentials-woocommerce) 35 Support for Visa, MasterCard, Discover, American Express, JCB, and Diner's Club. 23 36 37 Call 877-352-8444 to receive credentials and get started! 24 38 25 Accept Visa, MasterCard, Discover, and American Express. 39 <h3>Protect Your Online Store From Fraud with 3-D Secure</h3> 26 40 27 <h3>Protect Your Store From Fraud with 3D Secure</h3> CardinalCommerce is famous for offering the most versatile rules based 3D Secure (3DS) solution in the industry. Protect your web store with this optional service that gives you all of the benefits of Cardinal Consumer Authentication. 41 CardinalCommerce (a wholly owned subsidiary of Visa) offers a rules-based 3-D Secure (3DS) solution called Cardinal Consumer Authentication. Protect your web store from fraud, reduce false declines, reduce manual review of orders, and improve your authorizations. 28 42 29 https://www.youtube.com/watch?v=54Ftsl-Yo3c 43 Supports Verified by Visa (VbV), Mastercard SecureCode/Identity Check, Discover ProtectBuy, and American Express Amex Safekey. 30 44 31 1. 32 Supports Verified by Visa (VbV), MasterCard SecureCode, Discover ProtectBuy, and American Express Amex Safekey. 45 <h3>Activate Cardinal Consumer Authentication to Comply with PSD2 SCA</h3> 33 46 47 If you sell to consumers in the European Economic Area (EEA), and use acquiring services in the EEA, then you will be required to comply with the PSD2 requirement for Strong Customer Authentication (SCA). Your online store must support SCA for all digital transactions starting September 14, 2019. (Mastercard will require issuers, merchants, and acquirers to support SCA in the EEA starting in April, 2019.) 34 48 49 EEA countries include Austria, Belgium, Bulgaria, Czech Republic, Cyprus, Denmark, Estonia, Finland, France, Germany, Greece, Hungary, Iceland, Ireland, Italy, Latvia, Liechtenstein, Lithuania, Luxembourg, Malta, Netherlands, Norway, Poland, Portugal, Romania, Slovakia, Slovenia, Spain, Sweden and the UK. 50 51 <h3>How 3-D Secure Solves for SCA</h3> 52 EMV® 3-D Secure (commonly known as 3DS 2.0) authenticates Card-Not-Present transactions to reduce fraud and false declines, and to increase good orders, with a better checkout experience for consumers. The PSD2 SCA requirement can be fulfilled by 3-D Secure because it works on any device and enables two-factor authentication. 53 54 <h3>Why Cardinal Consumer Authentication is THE Merchant Solution</h3> 55 Cardinal Consumer Authentication is an industry-leading solution for merchants to authenticate digital transactions, leveraging 3-D Secure. CCA balances the risk of the transaction with the consumer experience and authenticates most transactions behind the scenes. There is no consumer impact or interruption to the checkout process in most cases, and CCA uses consumer-friendly challenge methods to limit friction when necessary. 56 57 EMV® is a registered trademark in the U.S. and other countries and an unregistered trademark elsewhere. The EMV trademark is owned by EMVCo, LLC 35 58 36 59 <h3>Resources</h3> 37 * Find out what Cardinal Consumer Authentication is and how it can [stop fraudsters on your web store.](https://www.cardinalcommerce.com/videos/1_CardinalConsumerAuth) 38 * You might have questions about Cardinal Consumer Authentication, [we've got the answers!](https://www.cardinalcommerce.com/videos/3_FAQs) 39 * Find out what your tech team [needs to know about 3D Secure.](https://www.cardinalcommerce.com/videos/Cardinal%20Dev%20Center%20Intro%20for%20Emerging%20Businesses) 40 * 60 * [Why do I need 3-D Secure or Strong Consumer Authentication?](https://www.cardinalcommerce.com/3-d-secure-2-0) 61 * [What is Strong Consumer Authentication?](https://payments.cardinalcommerce.com/about-fraud-the-growing-importance-of-3-d-secure-and-psd2) 62 * [How do I get ready for PSD2 compliance?](https://www.cardinalcommerce.com/products/psd2) 41 63 42 64 43 65 == Frequently Asked Questions == 44 66 = How do I get my Cardinal credentials? = 45 Ca rdinalCommerce provides those over the phone or via emailonce you have the plugin installed. Call us at 877-352-8444 or email [email protected]67 Call or email CardinalCommerce once you have the plugin installed. Call us at 877-352-8444 or email [email protected] 46 68 = 47 69 70 == Changelog == 48 71 49 == Screenshots == 50 51 1. Effect of Cardinal on Web Sales and Fraud 52 2. EMV for Online Business 53 3. Benefits Overview 54 55 == Changelog == 72 = 2019.01.22 - Version 1.2.8 = 73 * Include information regarding PSD2 74 * Test up to WordPress 5.0.3 75 * Add optional merchant messaging to display in iFrame 56 76 57 77 = 2018.08.01 - Version 1.2.7 = -
cardinalcommerce-oneconnect/trunk/cardinalcommerce-oneconnect.js
r1889699 r2025416 33 33 logging: { 34 34 level: $('#CardinalOneConnectLoggingLevel').val() 35 }, 36 CCA: { 37 CustomContentID: 'merchant-content-wrapper' 35 38 } 36 39 }); -
cardinalcommerce-oneconnect/trunk/cardinalcommerce-oneconnect.php
r1933369 r2025416 5 5 * Plugin URI: https://developer.cardinalcommerce.com/ 6 6 * Description: Module for processing payments with CardinalCommerce and optional Cardinal Consumer Authentication (CCA) 7 * Version: 1.2. 77 * Version: 1.2.8 8 8 * Author: CardinalCommerce 9 9 * Author URI: https://cardinalcommerce.com/ … … 16 16 } 17 17 18 define( 'CARDINAL_ONECONNECT_VERSION', '1.2. 7' );18 define( 'CARDINAL_ONECONNECT_VERSION', '1.2.8' ); 19 19 define( 'CARDINAL_ONECONNECT_PLUGIN_FILE', __FILE__ ); 20 20
Note: See TracChangeset
for help on using the changeset viewer.