Page MenuHomePhabricator

Formatting of Acoustic contact field "Last Native Amount" with decimal point alters how the amount populates in Donatewiki
Closed, DuplicatePublic

Description

We are experiencing an issue within our donatewiki links that are coded to automatically pre-select a contact's Last Native Amount. If the contact had a Last Native Amount that corresponds with one of our donate button amounts, that button should be selected/highlighted. However, if a decimal is included in a contact's Last Native Amount, we are noticing that even if the amount corresponds with one of donatewiki's donate button amounts, it is populating in the "Other" field instead.

Attached are screenshots of what it looks like on the DonateWiki side if a contact record has a Last Native Amount of "$10" versus "$10.00"

Without Decimal in Last Native Amount.png (1×836 px, 174 KB)

With Decimal in Last Native Amount.png (1×892 px, 182 KB)