ERROR: "Your quote currency must be the same as your opportunity currency. We updated your quote currency to match.: Currency ISO Code, fields [CurrencyIsoCode]"

ERROR: "Your quote currency must be the same as your opportunity currency. We updated your quote currency to match.: Currency ISO Code, fields [CurrencyIsoCode]"

If your organization uses Multi Currency mode, during the process of converting a quote to order you may change order currency, and as a result, in the process of synchronization you can get the next error: “Your quote currency must be the same as your opportunity currency. We updated your quote currency to match.: Currency ISO Code, fields [CurrencyIsoCode]“.

This error happens because the quote opportunity has already synced with Salesforce and has a different currency from what you selected during the process of creation of the order from this quote.

Error example:

Preconditions:

  1. We have Multi Currency organization. In our case, we have USD and EUR.

Actions:

  1. Login as company on storefront

  2. Select EUR as current currency

    Selected EUR currency
  3. Add product to cart and Request a Quote

    Request a Quote
  4. Wait until the quote and quote opportunity will be synced with Salesforce

  5. Open this quote page and click “Convert to Order“ button

  6. During the process of creation of order, change the currency to USD and place order

    Create order from quote with different currency

 

Result

As a result, we can get synchronization error:

Sync error in quote grid

Error described in the synchronization queue:

Error in Synchronization queue

 

 

Resolution:

  1. Go to this quote in Salesforce (you can click link in quotes grid)

    Link to Salesforce quote
  2. Delete this quote

    Delete old quote created with currency that we need to change.
  3. Go to Salesforce opportunity (you can click link in quotes grid)

    Link to Salesforce opportunity
  4. If you have some opportunity products, you must delete them. For deleting a product, click on product link and click Delete on opportunity product page

    Opportunity product which we need to delete.
    Link to opportunity product page.
    Delete opportunity product button.
  5. After deleting related to this opportunity quote and deleting all opportunity products, you can change opportunity currency. Click Edit button on opportunity page and select currency that you need(which is selected during process create order from this quote)

    Change opportunity currency.
  6. Re-sync quote from Magento Quotes grid

    Re-sync quote with Salesforce.

     

  7. Wait until synchronization will be finished

 

Salesforce source guide: https://help.salesforce.com/s/articleView?id=000334284&type=1