Changeset 2391064
- Timestamp:
- 09/30/2020 04:01:12 PM (5 years ago)
- Location:
- e-transactions-wc/trunk
- Files:
-
- 4 edited
-
class/wc-etransactions-abstract-gateway.php (modified) (5 diffs)
-
class/wc-etransactions-threetime-gateway.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
wc-etransactions.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
e-transactions-wc/trunk/class/wc-etransactions-abstract-gateway.php
r2240490 r2391064 227 227 */ 228 228 public function process_payment($orderId) { 229 $order = new WC_Order($orderId);229 $order = wc_get_order($orderId); 230 230 231 231 $message = __('Customer is redirected to E-Transactions payment page', WC_ETRANSACTIONS_PLUGIN); … … 239 239 240 240 public function receipt_page($orderId) { 241 $order = new WC_Order($orderId);241 $order = wc_get_order($orderId); 242 242 243 243 if (!is_multisite()) { … … 342 342 $message = __('Payment refused by E-Transactions', WC_ETRANSACTIONS_PLUGIN); 343 343 $this->_etransactions->addCartErrorMessage($message); 344 $order->update_status('failed', $message); 344 345 } 345 346 } catch (Exception $e) { … … 360 361 $message = __('Payment canceled', WC_ETRANSACTIONS_PLUGIN); 361 362 $this->_etransactions->addCartErrorMessage($message); 363 $order->update_status('failed', $message); 362 364 } 363 365 } catch (Exception $e) { … … 463 465 $error = $this->_etransactions->toErrorMessage($params['error']); 464 466 $message = sprintf($message, $error); 467 $this->_etransactions->addOrderPayment($order, 'failed_payment', $params); 465 468 $this->_etransactions->addOrderNote($order, $message); 466 469 } -
e-transactions-wc/trunk/class/wc-etransactions-threetime-gateway.php
r2257349 r2391064 98 98 } 99 99 } 100 class WC_Etransactions_Threetime_GateWay extends WC_E3Gw{ 101 public function is_available() { 102 return false; 103 } 104 public function receipt_page($orderId){ 105 return; 106 } 107 } -
e-transactions-wc/trunk/readme.txt
r2257353 r2391064 4 4 Tags: Payment Gateway, Orders, woocommerce, e-commerce, payment, E-Transactions 5 5 Requires at least: 3.0.1 6 Tested up to: 5. 3.27 Stable tag: 0.9. 8.86 Tested up to: 5.5.1 7 Stable tag: 0.9.9.9.1 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html 10 10 WC requires at least: 2.6 11 WC tested up to: 3.9.111 WC tested up to: 4.5.2 12 12 This plugin is a E-Transactions payment gateway for WooCommerce 2.x 13 13 … … 68 68 69 69 == Changelog == 70 = 0.9.8.9 = 71 various fixes and alignments 72 70 73 = 0.9.8.9 = 71 74 shortening long api names for plugin -
e-transactions-wc/trunk/wc-etransactions.php
r2257349 r2391064 3 3 * Plugin Name: E-Transactions 4 4 * Description: E-Transactions gateway payment plugins for WooCommerce 5 * Version: 0.9. 8.95 * Version: 0.9.9.9.1 6 6 * Author: E-Transactions 7 7 * Author URI: http://www.e-transactions.fr … … 42 42 } 43 43 defined('WC_ETRANSACTIONS_PLUGIN') or define('WC_ETRANSACTIONS_PLUGIN', 'wc-etransactions'); 44 defined('WC_ETRANSACTIONS_VERSION') or define('WC_ETRANSACTIONS_VERSION', '0.9. 8.7');44 defined('WC_ETRANSACTIONS_VERSION') or define('WC_ETRANSACTIONS_VERSION', '0.9.9.9.1'); 45 45 defined('WC_ETRANSACTIONS_KEY_PATH') or define('WC_ETRANSACTIONS_KEY_PATH', ABSPATH . '/kek.php'); 46 46
Note: See TracChangeset
for help on using the changeset viewer.