Line items display system default currency, not selected currency

Created on 10 February 2023, over 1 year ago

1.0 Problem/Motivation

If you have a site with a default currency (e.g. USD) and you create a form that accepts a different currency, (e.g. GBP), the currency is formatted correctly on any elements that involve currency (e.g. `civicrm_1_contribution_1_contribution_total_amount`). However, `displayLineItems()`, on the payment page, will show the currency as your default.

2.0 Detailed steps to reproduce (embed screenshots)

* Create a form that has a different default currency than your own.
* Select an amount to pay.
* Go to the payment screen.

3.0 Proposed resolution

PR incoming.

πŸ› Bug report
Status

Active

Version

6.0

Component

Webform/Drupal

Created by

πŸ‡ΊπŸ‡ΈUnited States MegaphoneJon

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024