Home Forums Plugins CURCY – WooCommerce Multi Currency Premium version overrides Webhook / REST API prices (Infinite loop with ERP)

Premium version overrides Webhook / REST API prices (Infinite loop with ERP)

  • Author
    Posts
  • #260959

    Rábai Barna
    Participant

    Hello VillaTheme Support Team,

    We recently upgraded to the Premium version of the “CURCY – WooCommerce Multi Currency” plugin, and it introduced a critical issue with our ERP synchronization.

    Our Setup:

    – Our WooCommerce store’s Base Currency is EUR.

    – We use an external ERP system connected via Webhooks (and REST API).

    – The ERP system manages and sends the prices in EUR.

    The Problem:
    Since installing the Premium version, whenever WooCommerce triggers a Webhook (e.g., product.updated), your plugin intercepts the request and converts the regular_price and sale_price into the user’s active currency or the store’s secondary currency (HUF) in the JSON payload.

    Because the ERP receives the converted (HUF) number but expects EUR, it saves the multiplied amount. When the ERP syncs back to WooCommerce, the price gets multiplied again, creating an infinite loop that pushes our product prices into the millions.

    Our Question:
    Is there a setting, or a PHP snippet, to completely disable currency conversion for REST API and Webhook requests? We need WooCommerce to always send the raw, unconverted Base Currency (EUR) values to external endpoints, while still converting prices on the frontend for our visitors.

    Thank you for your help!

You must be logged in to see replies to this topic. Click here to login or register