Changeset 2421485
- Timestamp:
- 11/19/2020 12:34:32 PM (5 years ago)
- Location:
- appmax-woocommerce/trunk
- Files:
-
- 3 edited
-
appmax-woocommerce.php (modified) (2 diffs)
-
includes/class-awc-webhook-post.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
appmax-woocommerce/trunk/appmax-woocommerce.php
r2413916 r2421485 3 3 * Plugin Name: AppMax WooCommerce 4 4 * Description: Gateway de pagamento AppMax para WooCommerce. 5 * Version: 2.0.3 05 * Version: 2.0.31 6 6 * License: GPLv2 or later 7 7 * Author: AppMax Plataforma de Vendas Ltda … … 24 24 class AppMax_WC 25 25 { 26 const VERSION = '2.0.3 0';26 const VERSION = '2.0.31'; 27 27 28 28 /** -
appmax-woocommerce/trunk/includes/class-awc-webhook-post.php
r2413916 r2421485 79 79 $this->awc_add_log( $log_content ); 80 80 81 $status = AWC_Order_Status::AWC_PROCESSING; 82 81 83 if ($this->data['status'] == AWC_Status_Appmax::AWC_AUTHORIZED) { 82 83 $status = AWC_Order_Status::AWC_PROCESSING;84 84 85 85 if ($this->awc_get_gateway()['awc_order_authorized'] == AWC_Order_Status::AWC_ON_HOLD) { … … 91 91 92 92 if ($this->data['status'] == AWC_Status_Appmax::AWC_APPROVED) { 93 $status = AWC_Order_Status::AWC_COMPLETED;94 95 93 $this->order->update_status( $status ); 96 94 } -
appmax-woocommerce/trunk/readme.txt
r2413916 r2421485 4 4 Requires at least: 4.0 5 5 Tested up to: 5.1 6 Stable tag: 2.0.3 06 Stable tag: 2.0.31 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 117 117 == Changelog == 118 118 119 = 2.0.31 = 120 121 * Ajustando regra de atualização de status ao retornar webhook. 122 119 123 = 2.0.30 = 120 124
Note: See TracChangeset
for help on using the changeset viewer.