Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-19937

entering $ (dollar sign) in other amount contribution box makes credit card forms go away

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7.15
    • Fix Version/s: 4.7.18
    • Component/s: CiviContribute
    • Labels:
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code
    • Verified?:
      No

      Description

      Contribution pages only show the payment processor fields if the amount to contribute is more than 0.

      However, if a user enters an "other amount" but precedes the amount with a dollar sign (an easy mistake to make), then CiviCRM perceives the values as not being a number and therefore doesn't show the payment processor fields.

      The impression from the user perspective is that something is broken because they can't enter their credit card and there is no useful user feedback.

      If we silently remove the dollar sign in our calculation, all proceeds properly.

        Attachments

          Activity

            People

            • Assignee:
              jitendra.purohit Jitendra Purohit
              Reporter:
              jamie Jamie McClelland
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: