Skip to content

Commit

Permalink
fix: Removendo linhas não utilizadas
Browse files Browse the repository at this point in the history
  • Loading branch information
lucastgama committed Jul 30, 2024
1 parent 56d1fd7 commit bd126e2
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/includes/gateways/CreditPayment.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@

/**
* Vindi Payment Credit Card Gateway class.
*
* Extended by individual payment gateways to handle payments.
*
* @class VindiCreditGateway
* @extends VindiPaymentGateway
*/
Expand Down Expand Up @@ -59,13 +57,11 @@ public function __construct(VindiSettings $vindi_settings, VindiControllers $con

$this->init_form_fields();
$this->init_settings();

$this->smallest_installment = $this->get_option('smallest_installment');
$this->installments = $this->get_option('installments');
$this->verify_method = $this->get_option('verify_method');
$this->enable_interest_rate = $this->get_option('enable_interest_rate');
$this->interest_rate = $this->get_option('interest_rate');

parent::__construct($vindi_settings, $controllers);
}

Expand All @@ -80,7 +76,6 @@ public function type()

public function init_form_fields()
{

$this->form_fields = array(
'enabled' => array(
'title' => __('Habilitar/Desabilitar', VINDI),
Expand Down Expand Up @@ -152,10 +147,7 @@ public function payment_fields()
$is_trial = $this->check_is_trial();

$this->vindi_settings->get_template('creditcard-checkout.html.php', compact(
'installments',
'is_trial',
'user_payment_profile',
'payment_methods'
'installments','is_trial','user_payment_profile','payment_methods'
));
}

Expand Down

0 comments on commit bd126e2

Please sign in to comment.