FOX - Currency Switcher for WooCommerce

Woocommerce - Interkassa 2.0 Payment Gateway

Este artículo trata sobre el siguiente plugin: Interkassa 2.0 Payment Gateway para WooCommerce No existen filtros ni acciones para conectar ambos plugins. Pero puedes modificar un poco el código para que funcionen juntos.
  1. Encuentra la función generate_interkassa_form y cambia el código: Woocommerce - Interkassa 2.0 Payment Gateway
    if(class_exists('WOOCS')) 
    {
    	global $WOOCS;
    	$aData['ik_cur'] = strtoupper($WOOCS->storage->get_val('woocs_current_currency'));
    } else {
    	$aData['ik_cur'] = get_woocommerce_currency();
    }
  2. Encuentra la función __construct y cambia el código: Woocommerce - Interkassa 2.0 Payment Gateway
    if(class_exists('WOOCS')) 
    {
    	global $WOOCS;
    	$aData['ik_cur'] = strtoupper(strtoupper($WOOCS->storage->get_val('woocs_current_currency')););
    } else {
    	$aData['ik_cur'] = $_POST['ik_cur'];
    }
Eso es todo.