FOX - Professionnel du commutateur de devises WooCommerce

Passerelle de paiement WooCommerce Stripe

Lien du plug-in : https://wordpress.org/plugins/woocommerce-gateway-stripe/

  • Dans le fichier wp-content\plugins\woocommerce-gateway-stripe\includes\class-wc-gateway-stripe.php ajouter le code suivant:
    if (class_exists('WOOCS')) { global $WOOCS ; $order_currency = $WOOCS->current_currency ; $WOOCS->set_currency($currency); } if (class_exists('WOOCS')) { $WOOCS->set_currency($order_currency); }
    

  •  au même fichier ajoutez le code suivant :
    if (class_exists('WOOCS')) { global $WOOCS ; $order_currency = $WOOCS->current_currency ; $WOOCS->set_currency($currency); } if (class_exists('WOOCS')) { $WOOCS->set_currency($order_currency); }