diff --git a/assets/images/itau-flag.svg b/assets/images/itau-flag.svg
deleted file mode 100644
index 1d81ab0..0000000
--- a/assets/images/itau-flag.svg
+++ /dev/null
@@ -1,25 +0,0 @@
-
-
-
diff --git a/class-wc-yapay_intermediador-bankslip-gateway.php b/class-wc-yapay_intermediador-bankslip-gateway.php
index 9f66c95..2e10342 100644
--- a/class-wc-yapay_intermediador-bankslip-gateway.php
+++ b/class-wc-yapay_intermediador-bankslip-gateway.php
@@ -191,7 +191,7 @@ public function process_payment($order_id)
$params["token_account"] = $this->get_option("token_account");
$params["finger_print"] = $_POST["finger_print"];
- $params['transaction[free]'] = "WOOCOMMERCE_INTERMEDIADOR_v0.7.8";
+ $params['transaction[free]'] = "WOOCOMMERCE_INTERMEDIADOR_v0.7.9";
$params["customer[name]"] = $_POST["billing_first_name"] . " " . $_POST["billing_last_name"];
$params["customer[cpf]"] = $_POST["billing_cpf"];
diff --git a/class-wc-yapay_intermediador-bolepix-gateway.php b/class-wc-yapay_intermediador-bolepix-gateway.php
index 36bebb5..53a0154 100644
--- a/class-wc-yapay_intermediador-bolepix-gateway.php
+++ b/class-wc-yapay_intermediador-bolepix-gateway.php
@@ -169,7 +169,7 @@ public function process_payment( $order_id ) {
$params["token_account"] = $this->get_option("token_account");
$params["finger_print"] = $_POST["finger_print"];
- $params['transaction[free]']= "WOOCOMMERCE_INTERMEDIADOR_v0.7.8";
+ $params['transaction[free]']= "WOOCOMMERCE_INTERMEDIADOR_v0.7.9";
$params["customer[name]"] = substr($_POST["billing_first_name"] . " " . $_POST["billing_last_name"], 0 , 50);
$params["customer[cpf]"] = $_POST["billing_cpf"];
diff --git a/class-wc-yapay_intermediador-creditcard-gateway.php b/class-wc-yapay_intermediador-creditcard-gateway.php
index 4ed0ca2..d19dff0 100644
--- a/class-wc-yapay_intermediador-creditcard-gateway.php
+++ b/class-wc-yapay_intermediador-creditcard-gateway.php
@@ -264,7 +264,7 @@ public function process_payment($order_id)
$params["token_account"] = $this->get_option("token_account");
$params["finger_print"] = $_POST["finger_print"];
- $params['transaction[free]'] = "WOOCOMMERCE_INTERMEDIADOR_v0.7.8";
+ $params['transaction[free]'] = "WOOCOMMERCE_INTERMEDIADOR_v0.7.9";
$params["customer[name]"] = $_POST["billing_first_name"] . " " . $_POST["billing_last_name"];
$params["customer[cpf]"] = $_POST["billing_cpf"];
diff --git a/class-wc-yapay_intermediador-pix-gateway.php b/class-wc-yapay_intermediador-pix-gateway.php
index a114115..0b349be 100644
--- a/class-wc-yapay_intermediador-pix-gateway.php
+++ b/class-wc-yapay_intermediador-pix-gateway.php
@@ -186,7 +186,7 @@ public function process_payment( $order_id ) {
$params["token_account"] = $this->get_option("token_account");
$params["finger_print"] = $_POST["finger_print"];
- $params['transaction[free]']= "WOOCOMMERCE_INTERMEDIADOR_v0.7.8";
+ $params['transaction[free]']= "WOOCOMMERCE_INTERMEDIADOR_v0.7.9";
$params["customer[name]"] = $_POST["billing_first_name"] . " " . $_POST["billing_last_name"];
$params["customer[cpf]"] = $_POST["billing_cpf"];
diff --git a/class-wc-yapay_intermediador-tef-gateway.php b/class-wc-yapay_intermediador-tef-gateway.php
index 9fe811f..22ae51f 100644
--- a/class-wc-yapay_intermediador-tef-gateway.php
+++ b/class-wc-yapay_intermediador-tef-gateway.php
@@ -63,7 +63,6 @@ public function init_form_fields() {
add_thickbox();
$payment_methods = array();
- $payment_methods["7"] = "Itaú Shopline (Transferência)";
$payment_methods["14"] = "Peela";
$payment_methods["21"] = "Transf. Online HSBC";
$payment_methods["22"] = "Transf. Online Bradesco";
@@ -121,7 +120,7 @@ public function init_form_fields() {
'type' => 'multiselect',
'class' => 'wc-enhanced-select',
'css' => 'width: 450px;',
- 'default' => array("7","14","21","22","23"),
+ 'default' => array("14","21","22","23"),
'description' => __( 'Selecione todos os meios de pagamento disponíveis na loja.', 'wc-yapay_intermediador-tef' ),
'options' => $payment_methods,
'desc_tip' => true,
@@ -205,7 +204,7 @@ public function process_payment( $order_id ) {
$params["token_account"] = $this->get_option("token_account");
$params["finger_print"] = $_POST["finger_print"];
- $params['transaction[free]']= "WOOCOMMERCE_INTERMEDIADOR_v0.7.8";
+ $params['transaction[free]']= "WOOCOMMERCE_INTERMEDIADOR_v0.7.9";
$params["customer[name]"] = $_POST["billing_first_name"] . " " . $_POST["billing_last_name"];
$params["customer[cpf]"] = $_POST["billing_cpf"];
@@ -411,7 +410,6 @@ public function thankyou_page( $order_id ) {
$strPaymentMethod = "";
switch ( intval( $data['payment_method'] ) ) {
- case 7: $strPaymentMethod = "Itaú";break;
case 14: $strPaymentMethod = "Peela";break;
case 21: $strPaymentMethod = "HSBC";break;
case 22: $strPaymentMethod = "Bradesco";break;
diff --git a/readme.txt b/readme.txt
index 5fad1a7..03dd351 100644
--- a/readme.txt
+++ b/readme.txt
@@ -3,7 +3,7 @@ Contributors: Integração Vindi, aguiart0, apiki
Tags: woocommerce, vindi, intermediador, Vindi Pagamento, payment
Requires at least: 3.5
Tested up to: 6.4
-Stable tag: 0.7.8
+Stable tag: 0.7.9
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -51,6 +51,9 @@ Para dúvidas envie um e-mail para nosso time de Integração: integracao@yapay.
2. Página de configuração do plugin
== Changelog ==
+= 0.7.9 = 03/12/2024
+* Feature: Transferência bancária do Itaú removida.
+
= 0.7.8 = 03/12/2024
* Fix: Ajuste tamanho do QrCode
diff --git a/templates/wc_yapay_intermediador_tef_form.php b/templates/wc_yapay_intermediador_tef_form.php
index 53da3dd..98d5e3f 100644
--- a/templates/wc_yapay_intermediador_tef_form.php
+++ b/templates/wc_yapay_intermediador_tef_form.php
@@ -15,7 +15,6 @@
$imgSrc = "";
foreach ($payment_methods as $idTcPayment){
switch (intval($idTcPayment)){
- case 7: $imgSrc = "itau";break;
case 14: $imgSrc = "peela";break;
case 21: $imgSrc = "hsbc";break;
case 22: $imgSrc = "bradesco";break;
diff --git a/wc-yapay_intermediador.php b/wc-yapay_intermediador.php
index 1a9d916..def866c 100644
--- a/wc-yapay_intermediador.php
+++ b/wc-yapay_intermediador.php
@@ -5,7 +5,7 @@
* Description: Intermediador de pagamento Vindi para a plataforma WooCommerce.
* Author: Integração Vindi Intermediador
* Author URI: https://vindi.com.br/
- * Version: 0.7.8
+ * Version: 0.7.9
* Text Domain: vindi-pagamento
*/
@@ -25,7 +25,6 @@ function wc_gateway_yapay_intermediador_init() {
// If we made it this far, then include our Gateway Class
include_once( 'class-wc-yapay_intermediador-creditcard-gateway.php' );
include_once( 'class-wc-yapay_intermediador-bankslip-gateway.php' );
- include_once( 'class-wc-yapay_intermediador-tef-gateway.php' );
include_once( 'class-wc-yapay_intermediador-pix-gateway.php' );
include_once( 'class-wc-yapay_intermediador-bolepix-gateway.php' );
@@ -34,7 +33,6 @@ function wc_gateway_yapay_intermediador_init() {
add_filter( 'woocommerce_payment_gateways', 'wc_yapay_intermediador_gateway_add' );
function wc_yapay_intermediador_gateway_add( $methods ) {
$methods[] = 'WC_Yapay_Intermediador_Creditcard_Gateway';
- $methods[] = 'WC_Yapay_Intermediador_Tef_Gateway';
$methods[] = 'WC_Yapay_Intermediador_Bankslip_Gateway';
$methods[] = 'WC_Yapay_Intermediador_Pix_Gateway';
$methods[] = 'WC_Yapay_Intermediador_Bolepix_Gateway';
@@ -49,7 +47,6 @@ function html_log_page() {
function wc_gateway_yapay_intermediador_action_links( $links ) {
$plugin_links = array(
'' . __( 'Config. Cartão', 'wc-yapay_intermediador-cc' ) . '',
- '' . __( 'Config. TEF', 'wc-yapay_intermediador-tef' ) . '',
'' . __( 'Config. Boleto', 'wc-yapay_intermediador-bs' ) . '',
'' . __( 'Config. Pix', 'wc-yapay_intermediador-pix' ) . '',
);
@@ -201,7 +198,6 @@ function wc_yapay_intermediador_notification() {
switch ($paymentOrder) {
case "wc_yapay_intermediador_bs": $tcPayment = new WC_Yapay_Intermediador_Bankslip_Gateway(); break;
case "wc_yapay_intermediador_cc": $tcPayment = new WC_Yapay_Intermediador_Creditcard_Gateway(); break;
- case "wc_yapay_intermediador_tef": $tcPayment = new WC_Yapay_Intermediador_Tef_Gateway(); break;
case "wc_yapay_intermediador_pix": $tcPayment = new WC_Yapay_Intermediador_Pix_Gateway(); break;
case "wc_yapay_intermediador_bolepix": $tcPayment = new WC_Yapay_Intermediador_Bolepix_Gateway(); break;
default: $tcPayment = new WC_Yapay_Intermediador_Creditcard_Gateway();break;
@@ -408,7 +404,6 @@ function sendRastreioYapay() {
switch ($paymentOrder) {
case "wc_yapay_intermediador_bs": $tcConfig = new WC_Yapay_Intermediador_Bankslip_Gateway(); break;
case "wc_yapay_intermediador_cc": $tcConfig = new WC_Yapay_Intermediador_Creditcard_Gateway(); break;
- case "wc_yapay_intermediador_tef": $tcConfig = new WC_Yapay_Intermediador_Tef_Gateway(); break;
case "wc_yapay_intermediador_pix": $tcConfig = new WC_Yapay_Intermediador_Pix_Gateway(); break;
case "wc_yapay_intermediador_bolepix": $tcConfig = new WC_Yapay_Intermediador_Bolepix_Gateway(); break;
default: $tcConfig = new WC_Yapay_Intermediador_Creditcard_Gateway();break;