Plugin Directory

Changeset 2976720


Ignore:
Timestamp:
10/10/2023 12:36:02 AM (2 years ago)
Author:
clearsale
Message:

Adding 3.0.19 version of my plugin

Location:
clearsale-total/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • clearsale-total/trunk/CHANGELOG.md

    r2971562 r2976720  
     1## [3.0.19] - 2023-10-06
     2
     3### Added
     4- Método PaylPal mas sem dados de cartão.
     5
     6
    17## [3.0.18] - 2023-09-20
    28
  • clearsale-total/trunk/README.txt

    r2974489 r2976720  
    55Requires at least: 4.4
    66Tested up to: 6.3
    7 Stable tag: 3.0.18
     7Stable tag: 3.0.19
    88Requires PHP: 5.6
    99License: GPLv2 or later
  • clearsale-total/trunk/clearsale-total.php

    r2971562 r2976720  
    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.0.18
     20 * Version:           3.0.19
    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.0.18');
     60define('CLEARSALE_TOTAL_VERSION', '3.0.19');
    6161
    6262/**
  • clearsale-total/trunk/includes/class-clearsale-total-api.php

    r2971562 r2976720  
    804804                }
    805805            }
     806            if ("paypal-brasil-plus-gateway" === $order_data['payment_method']) {
     807                $tipo_pgto = $this->Tipo_pagamento("credito");
     808                //$cartao['modo'] = "";
     809                // sem postmeta, sem dados via ajax, usa iframe.
     810            }
    806811
    807812            if ($cartao['modo']) $tipo_pgto = $this->Tipo_pagamento($cartao['modo']); // vindo do ajax tem cartao do Pagseguro
  • clearsale-total/trunk/public/js/clearsale-total-public.js

    r2971562 r2976720  
    241241                metodo = 8;
    242242            }
    243 
     243            if (checked_is == "paypal-brasil-plus-gateway") {
     244                console.log("paypal-brasil-plus-gateway");
     245                metodo = 10;
     246            }
    244247        }
    245248        if (metodo == 4) {
     
    296299            }
    297300        } // end of if =8
    298 
     301        if (metodo == 10) {
     302            console.log("Ajax:ClearSale:place_order: é paypal");
     303            // nada a fazer, tem iframe
     304        } // end of if =10
    299305        if (metodo == null) {
    300306            console.log("nada recuperado via ajax! saindo...");
Note: See TracChangeset for help on using the changeset viewer.