Plugin Directory

Changeset 3421438


Ignore:
Timestamp:
12/16/2025 10:40:53 PM (4 months ago)
Author:
clearsale
Message:

Adding 3.2.2 version

Location:
clearsale-total
Files:
1 deleted
5 edited
17 copied

Legend:

Unmodified
Added
Removed
  • clearsale-total/tags/3.2.2/CHANGELOG.md

    r3347798 r3421438  
     1## [3.2.2] - 2025-09-19
     2
     3### Fixed
     4- Pedido feito pelo admin em algumas instalações não pegávamos o billing_cpf pelo postmeta só pelo order->get_meta
     5- Caso não tenha o billing_phone pegamos o billing_cellphone
     6
     7
    18## [3.2.1] - 2025-07-15
    29
  • clearsale-total/tags/3.2.2/README.txt

    r3347798 r3421438  
    44Tags:  fraud, fraud protection, prevent fake orders, e-commerce, woocommerce, sell, store, loja virtual, shop, clearsale, antifraude, análise por inteligência artificial, equipe de detecção de fraude, cartão de crédito
    55Requires at least: 5.0
    6 Tested up to: 6.8
    7 Stable tag: 3.2.1
     6Tested up to: 6.9
     7Stable tag: 3.2.2
    88Requires PHP: 5.6
    99License: GPLv2 or later
     
    1111
    1212Integração do WooCommerce com a ClearSale.
    13 testado: wordpress 6.8
    14 woocommerce 10.1
     13testado: wordpress 6.9
     14woocommerce 10.4
    1515Requisitos:
    1616php 5.6 ou maior
     
    8181
    8282== Changelog ==
     83## [3.2.2] - 2025-09-19
     84
     85### Fixed
     86- Pedido feito pelo admin em algumas instalações não pegávamos o billing_cpf pelo postmeta só pelo order->get_meta
     87- Caso não tenha o billing_phone pegamos o billing_cellphone
     88
     89
    8390## [3.2.1] - 2025-07-15
    8491
     
    97104
    98105### Added
    99 - Adicionado método Virtuaria PagBank 3.5.3 - Boleto, PIX e crédito com dados de cartão
     106- Adicionado método Virtuaria PagBank 3.6.0 - Boleto, PIX e crédito com dados de cartão
    100107
    101108## Fixed
  • clearsale-total/tags/3.2.2/clearsale-total.php

    r3347798 r3421438  
    1818 * Plugin URI:        https://api.clearsale.com.br/docs/plugins/wooCommerce/totalTotalGarantidoApplication
    1919 * Description:       Integração da loja WooCommerce e a ClearSale Total. Segurança para suas vendas.
    20  * Version:           3.2.1
     20 * Version:           3.2.2
    2121 * Author:            ClearSale
    2222 * Author URI:        https://br.clear.sale
     
    5858 * Rename this for your plugin and update it as you release new versions.
    5959 */
    60 define('CLEARSALE_TOTAL_VERSION', '3.2.1');
     60define('CLEARSALE_TOTAL_VERSION', '3.2.2');
    6161
    6262/**
  • clearsale-total/tags/3.2.2/includes/class-clearsale-total-api.php

    r3347798 r3421438  
    628628            $cep = preg_replace("/[^0-9]/", "", $order_data['billing']['postcode']);
    629629            $tmp = $order_data['billing']['phone'];
     630            if (strlen($tmp) <= 0) {
     631                $tmp = $order->get_meta('_billing_cellphone');
     632            }
    630633            $telefone = (int) $this->dddTel($tmp);
    631634            $ddd = (int) $this->dddTel($tmp, "ddd");
     
    880883                }
    881884                if ($virt_paymode == "CREDIT_CARD") $tipo_pgto = 1;
    882                 $this->wl->write_log("Monta_pedido: Virtuaria-PagBank. payment_metod=" . $order_data['payment_method'] . " payment_mode=" .
     885                    $this->wl->write_log("Monta_pedido: Virtuaria-PagBank. payment_metod=" . $order_data['payment_method'] . " payment_mode=" .
    883886                    $virt_paymode . " Tipo_pagamento=" . $tipo_pgto);
    884887            }
  • clearsale-total/tags/3.2.2/includes/class-clearsale-total-checkout.php

    r3347798 r3421438  
    292292                    $tmp_data = get_post_meta($order_id, '_billing_cnpj', true);
    293293                    if (!$tmp_data) {
    294                         $wl->write_log("Clearsale_Total_Checkout:SendOrder: Sem # documento, cs_doc, _billing cpf e cnpj");
     294                        $tmp_data = $order->get_meta('_billing_cpf');
     295                        if (!$tmp_data) {
     296                            $tmp_data = $order->get_meta('_billing_cnpj');
     297                            if (!$tmp_data) {
     298                                $wl->write_log("Clearsale_Total_Checkout:SendOrder: Sem # documento, cs_doc, _billing cpf e cnpj");
     299                            } else {
     300                                $cs_doc = $tmp_data;
     301                            }
     302                        } else {
     303                            $cs_doc = $tmp_data;
     304                        }
    295305                    } else {
    296306                        $cs_doc = $tmp_data;
  • clearsale-total/trunk/CHANGELOG.md

    r3347798 r3421438  
     1## [3.2.2] - 2025-09-19
     2
     3### Fixed
     4- Pedido feito pelo admin em algumas instalações não pegávamos o billing_cpf pelo postmeta só pelo order->get_meta
     5- Caso não tenha o billing_phone pegamos o billing_cellphone
     6
     7
    18## [3.2.1] - 2025-07-15
    29
  • clearsale-total/trunk/README.txt

    r3347798 r3421438  
    44Tags:  fraud, fraud protection, prevent fake orders, e-commerce, woocommerce, sell, store, loja virtual, shop, clearsale, antifraude, análise por inteligência artificial, equipe de detecção de fraude, cartão de crédito
    55Requires at least: 5.0
    6 Tested up to: 6.8
    7 Stable tag: 3.2.1
     6Tested up to: 6.9
     7Stable tag: 3.2.2
    88Requires PHP: 5.6
    99License: GPLv2 or later
     
    1111
    1212Integração do WooCommerce com a ClearSale.
    13 testado: wordpress 6.8
    14 woocommerce 10.1
     13testado: wordpress 6.9
     14woocommerce 10.4
    1515Requisitos:
    1616php 5.6 ou maior
     
    8181
    8282== Changelog ==
     83## [3.2.2] - 2025-09-19
     84
     85### Fixed
     86- Pedido feito pelo admin em algumas instalações não pegávamos o billing_cpf pelo postmeta só pelo order->get_meta
     87- Caso não tenha o billing_phone pegamos o billing_cellphone
     88
     89
    8390## [3.2.1] - 2025-07-15
    8491
     
    97104
    98105### Added
    99 - Adicionado método Virtuaria PagBank 3.5.3 - Boleto, PIX e crédito com dados de cartão
     106- Adicionado método Virtuaria PagBank 3.6.0 - Boleto, PIX e crédito com dados de cartão
    100107
    101108## Fixed
  • clearsale-total/trunk/clearsale-total.php

    r3347798 r3421438  
    1818 * Plugin URI:        https://api.clearsale.com.br/docs/plugins/wooCommerce/totalTotalGarantidoApplication
    1919 * Description:       Integração da loja WooCommerce e a ClearSale Total. Segurança para suas vendas.
    20  * Version:           3.2.1
     20 * Version:           3.2.2
    2121 * Author:            ClearSale
    2222 * Author URI:        https://br.clear.sale
     
    5858 * Rename this for your plugin and update it as you release new versions.
    5959 */
    60 define('CLEARSALE_TOTAL_VERSION', '3.2.1');
     60define('CLEARSALE_TOTAL_VERSION', '3.2.2');
    6161
    6262/**
  • clearsale-total/trunk/includes/class-clearsale-total-api.php

    r3347798 r3421438  
    628628            $cep = preg_replace("/[^0-9]/", "", $order_data['billing']['postcode']);
    629629            $tmp = $order_data['billing']['phone'];
     630            if (strlen($tmp) <= 0) {
     631                $tmp = $order->get_meta('_billing_cellphone');
     632            }
    630633            $telefone = (int) $this->dddTel($tmp);
    631634            $ddd = (int) $this->dddTel($tmp, "ddd");
     
    880883                }
    881884                if ($virt_paymode == "CREDIT_CARD") $tipo_pgto = 1;
    882                 $this->wl->write_log("Monta_pedido: Virtuaria-PagBank. payment_metod=" . $order_data['payment_method'] . " payment_mode=" .
     885                    $this->wl->write_log("Monta_pedido: Virtuaria-PagBank. payment_metod=" . $order_data['payment_method'] . " payment_mode=" .
    883886                    $virt_paymode . " Tipo_pagamento=" . $tipo_pgto);
    884887            }
  • clearsale-total/trunk/includes/class-clearsale-total-checkout.php

    r3347798 r3421438  
    292292                    $tmp_data = get_post_meta($order_id, '_billing_cnpj', true);
    293293                    if (!$tmp_data) {
    294                         $wl->write_log("Clearsale_Total_Checkout:SendOrder: Sem # documento, cs_doc, _billing cpf e cnpj");
     294                        $tmp_data = $order->get_meta('_billing_cpf');
     295                        if (!$tmp_data) {
     296                            $tmp_data = $order->get_meta('_billing_cnpj');
     297                            if (!$tmp_data) {
     298                                $wl->write_log("Clearsale_Total_Checkout:SendOrder: Sem # documento, cs_doc, _billing cpf e cnpj");
     299                            } else {
     300                                $cs_doc = $tmp_data;
     301                            }
     302                        } else {
     303                            $cs_doc = $tmp_data;
     304                        }
    295305                    } else {
    296306                        $cs_doc = $tmp_data;
Note: See TracChangeset for help on using the changeset viewer.