# Bug OP-9159 - Plan currency (USD, EUR) and amount not properly updated in Enterprise Cloud

Project: OpenProject
Status: rejected
URL: https://community.openproject.org/work_packages/OP-9159

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | High |
| Module |  |
| Target versions | 11.4.0 |
| Observed in versions | 12.0.0 |
| Sprint | 11.4.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 12.0.x |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### **Environment**:

openproject-edge.com

openproject-stage.com

11.4.0

12.0.0

Tested on Firefox

### **Logs**

<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/22368/content"></div></figure>

### **Steps to reproduce:**

1.  Create new OP instance on stage or edge.
2.  Go to billing section (United States is preselected as country).
3.  Change country to a different one. -&gt; Error 1: Currency is not changed to Euro
4.  Switch to monthly option (or one of the multi-annual plans). -&gt; Error 2: Amount is not updated (still shows annual amount).
5.  Try to book wrong plan. -&gt; Error 3: Confusing error message shown.

### **Actual Behavior**

Error 1: Currency is not updated when switching from / to United States.

Error 2: Amount is not updated when switching plan duration or number of users (still shows annual amount).

Error 3: Confusing error message shown when trying to book (incorrect) plan.

<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/22369/content"></div></figure>

### **Expected Behavior**

When selecting  &quot;United States&quot; USD plan should be selected, when selecting another country EUR plan should be selected.

When switching plan duration, the amount should be updated.
