Changeset 2533270
- Timestamp:
- 05/17/2021 09:07:53 PM (5 years ago)
- Location:
- appmax-woocommerce/trunk
- Files:
-
- 3 edited
-
appmax-woocommerce.php (modified) (2 diffs)
-
includes/class-awc-process-payment.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
appmax-woocommerce/trunk/appmax-woocommerce.php
r2533054 r2533270 3 3 * Plugin Name: AppMax WooCommerce 4 4 * Description: Gateway de pagamento AppMax para WooCommerce. 5 * Version: 2.0.3 85 * Version: 2.0.39 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 8';26 const VERSION = '2.0.39'; 27 27 28 28 /** -
appmax-woocommerce/trunk/includes/class-awc-process-payment.php
r2533054 r2533270 257 257 $log_content = ""; 258 258 259 if (array_key_exists('cf-ray', $data) && $data['server'] == 'cloudflare' ) {259 if (array_key_exists('cf-ray', $data) && $data['server'] == 'cloudflare' && $response['response']['code'] != 200) { 260 260 $log_content .= sprintf( "%s", AWC_Errors_Api::AWC_MESSAGE_001 ) . PHP_EOL; 261 261 $log_content .= sprintf( "%s - %s (Cloudflare)", $response['response']['code'], $response['response']['message'] ) . PHP_EOL; … … 266 266 } 267 267 268 if ($data['server'] == 'nginx' ) {268 if ($data['server'] == 'nginx' && $response['response']['code'] != 200) { 269 269 $log_content .= sprintf( "%s", AWC_Errors_Api::AWC_MESSAGE_002 ) . PHP_EOL; 270 270 $log_content .= sprintf( "%s - %s (Nginx)", $response['response']['code'], $response['response']['message'] ) . PHP_EOL; -
appmax-woocommerce/trunk/readme.txt
r2533054 r2533270 4 4 Requires at least: 4.0 5 5 Tested up to: 5.1 6 Stable tag: 2.0.3 86 Stable tag: 2.0.39 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.39 = 120 121 * Correção na validação do retorno de acesso ao servidor. 122 119 123 = 2.0.38 = 120 124
Note: See TracChangeset
for help on using the changeset viewer.