parent
d929a1fd5f
commit
6c08749e8b
@ -1,3 +1,6 @@
|
||||
## 2023-03-02 4.5.4
|
||||
* Fix display payment methods
|
||||
|
||||
## 2022-12-26 4.5.3
|
||||
* Fix bug with products tax
|
||||
|
||||
|
@ -280,15 +280,20 @@ abstract class WC_Retailcrm_Abstracts_Settings extends WC_Integration
|
||||
];
|
||||
}
|
||||
|
||||
foreach ($wc_payment->payment_gateways() as $payment) {
|
||||
foreach ($wc_payment->get_available_payment_gateways() as $payment) {
|
||||
$title = empty($payment->method_title) ? $payment->id : $payment->method_title;
|
||||
$description = empty($payment->method_description)
|
||||
? $payment->description
|
||||
: $payment->method_description;
|
||||
|
||||
$this->form_fields[$payment->id] = [
|
||||
'css' => 'min-width:350px;',
|
||||
'type' => 'select',
|
||||
'title' => __($payment->method_title, 'woocommerce'),
|
||||
'title' => __($title, 'woocommerce'),
|
||||
'class' => 'select',
|
||||
'options' => $paymentsList,
|
||||
'desc_tip' => true,
|
||||
'description' => __($payment->method_description, 'woocommerce'),
|
||||
'description' => __($description, 'woocommerce'),
|
||||
];
|
||||
}
|
||||
}
|
||||
|
@ -5,7 +5,7 @@ Tags: Интеграция, Simla.com, simla
|
||||
Requires PHP: 7.0
|
||||
Requires at least: 5.3
|
||||
Tested up to: 6.0
|
||||
Stable tag: 4.5.3
|
||||
Stable tag: 4.5.4
|
||||
License: GPLv1 or later
|
||||
License URI: http://www.gnu.org/licenses/gpl-1.0.html
|
||||
|
||||
@ -82,6 +82,9 @@ Asegúrate de tener una clave API específica para cada tienda. Las siguientes i
|
||||
|
||||
|
||||
== Changelog ==
|
||||
= 4.5.4 =
|
||||
* Fix display payment methods
|
||||
|
||||
= 4.5.3 =
|
||||
* Fix bug with products tax
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
* Description: Integration plugin for WooCommerce & Simla.com
|
||||
* Author: RetailDriver LLC
|
||||
* Author URI: http://retailcrm.pro/
|
||||
* Version: 4.5.3
|
||||
* Version: 4.5.4
|
||||
* Tested up to: 6.0
|
||||
* WC requires at least: 5.4
|
||||
* WC tested up to: 6.9
|
||||
|
@ -16,7 +16,7 @@
|
||||
*
|
||||
* @link https://wordpress.org/plugins/woo-retailcrm/
|
||||
*
|
||||
* @version 4.5.3
|
||||
* @version 4.5.4
|
||||
*
|
||||
* @package RetailCRM
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user