Skip to content

Commit 8ac1add

Browse files
authored
Merge pull request #235 from TransbankDevelopers/fix/paymnet-token-class-filter
2 parents 14825f4 + d1c30dc commit 8ac1add

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugin/src/PaymentGateways/WC_Gateway_Transbank_Oneclick_Mall_REST.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,9 @@ public function __construct()
110110
]);
111111

112112
add_filter('woocommerce_payment_methods_list_item', [$this, 'methods_list_item_oneclick'], null, 2);
113-
add_filter('woocommerce_payment_token_class', [$this, 'set_payment_token_class']);
113+
add_filter('woocommerce_payment_token_class', [$this, 'getOneclickPaymentTokenClass']);
114114
add_action('woocommerce_update_options_payment_gateways_' . $this->id, [$this, 'process_admin_options']);
115-
add_filter('woocommerce_saved_payment_methods_list', [$this, 'getOneclickPaymentTokenClass'], 10, 2);
115+
add_filter('woocommerce_saved_payment_methods_list', [$this, 'get_saved_payment_methods_list'], 10, 2);
116116
}
117117

118118
/**

0 commit comments

Comments
 (0)