FOX - Professionnel du commutateur de devises WooCommerce

Frais basés sur la passerelle de paiement (par WooCommerce)

URL du plug-in : https://woocommerce.com/products/payment-gateway-based-fees/

//Dans le fichier \plugins\woocommerce-additional-fees-2\classes\class-wc-add-fees.php function calculate_fees ajoute le code suivant if (class_exists('WOOCS')) { global $WOOCS; if ($WOOCS->is_multiple_allowed) { $add_fee_fixed = $WOOCS->woocs_exchange_value(floatval($add_fee_fixed)); } } //ET ajouter ce code if (class_exists('WOOCS')) { global $WOOCS; if ($WOOCS->is_multiple_allowed) { $add_fee = $WOOCS->woocs_exchange_value(floatval($add_fee)); } } // AND dans la fonction &calculate_gateway_fee_total ajoute le code suivant if (class_exists('WOOCS')) { global $WOOCS; if ($WOOCS->is_multiple_allowed) { $maxval = $WOOCS->woocs_exchange_value(floatval($maxval)); } }