Changeset 2215510
- Timestamp:
- 12/20/2019 06:06:57 AM (6 years ago)
- Location:
- woo-eway-addon/trunk
- Files:
-
- 2 edited
-
README.txt (modified) (2 diffs)
-
woo-eway-addon.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
woo-eway-addon/trunk/README.txt
r2215055 r2215510 3 3 Tags: eway woocommerce plugin,eway plugin woocommerce,woocommerce, Eway, payment gateway,credit card,Eway addon,refund,credit cards payment Eway and woocommerce,Eway for woocommerce,Eway payment gateway for woocommerce,Eway payment in wordpress,Eway payment refunds,Eway plugin for woocommerce,Eway woocommerce addon,free Eway woocommerce plugin,woocommerce credit cards payment with Eway,woocommerce plugin Eway, ecommerce, e-commerce, commerce, cart, checkout 4 4 Requires at least: 4.0 & WooCommerce 2.3+ 5 Tested up to: 5.3 & Woocommerce 3.8.15 Tested up to: 5.3.2 & Woocommerce 3.8.1 6 6 Stable tag: trunk 7 7 License: GPLv3 … … 101 101 * Update - Latest version. 102 102 * Fix - Remove deprecate funcations. 103 = 2.0.2 = 104 * Update - Latest version. 105 * Fix - Remove deprecate funcations. 103 106 == Upgrade Notice == 104 107 -
woo-eway-addon/trunk/woo-eway-addon.php
r2215055 r2215510 4 4 * Plugin URI : Addon for Eway and WooCommerce 5 5 * Description: Addon for Eway and WooCommerce allows you to accept payments on your Woocommerce store. It accpets credit card payments and processes them securely with your merchant account. 6 * Version: 1.9.16 * Version: 2.0.2 7 7 * WC requires at least:2.3 8 8 * WC tested up to: 3.8.1 9 9 * Requires at least: 4.0+ 10 * Tested up to: 5.3 10 * Tested up to: 5.3.2 11 11 * Contributors: wp_estatic 12 12 * Author: Estatic Infotech Pvt Ltd … … 556 556 557 557 if (!class_exists('WC_Payment_Gateway')) { 558 add_action('admin_notices', ' activate_error1');558 add_action('admin_notices', 'ewet_activate_error'); 559 559 } 560 560 if (!is_ssl()) { 561 add_action('admin_notices', ' sslerror1');561 add_action('admin_notices', 'ewet_sslerror'); 562 562 } 563 563 … … 568 568 569 569 /** 570 * activate_error1570 * Activate error 571 571 */ 572 function activate_error1() {572 function ewet_activate_error() { 573 573 $html = '<div class="error">'; 574 574 $html .= '<p>'; … … 580 580 581 581 /** 582 * ssl error1582 * ssl Error 583 583 */ 584 function sslerror1() {584 function ewet_sslerror() { 585 585 $html = '<div class="error">'; 586 586 $html .= '<p>'; … … 596 596 * @return string 597 597 */ 598 function add_eway_gateway_class($methods) {598 function ewet_add_eway_gateway_class($methods) { 599 599 $methods[] = 'WC_Gateway_Eway_EI'; 600 600 return $methods; 601 601 } 602 602 603 add_filter('woocommerce_payment_gateways', ' add_eway_gateway_class');603 add_filter('woocommerce_payment_gateways', 'ewet_add_eway_gateway_class'); 604 604 605 605 /** 606 * add_custom_js_eway606 * ewet_add_custom_js_eway 607 607 */ 608 function add_custom_js_eway() {608 function ewet_add_custom_js_eway() { 609 609 wp_enqueue_script('jquery-cc-eway', plugin_dir_url(__FILE__) . 'js/cc.custom_eway.js', array('jquery'), '1.0', True); 610 610 } 611 611 612 add_action('wp_enqueue_scripts', ' add_custom_js_eway');612 add_action('wp_enqueue_scripts', 'ewet_add_custom_js_eway');
Note: See TracChangeset
for help on using the changeset viewer.