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

Authorize.net amount > 1000 are invalid

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 4.3.4
    • Fix Version/s: 4.4.21
    • Component/s: CiviContribute
    • Labels:
      None
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding

      Description

      If an amount greater than 1000 is entered on an online contribution page. The following error is returned

      E00003: The 'AnetApi/xml/v1/schema/AnetApiSchema.xsd:amount' element is
      invalid - The value ' 1,000.00' is invalid according to its datatype
      'Decimal' - The string '1,000.00' is not a valid Decimal value.

      (on demo site the error is
      Payment Processor Error message
      1: 5 A valid amount is required.

      In both cases the amount data is passed as formated text rather than an unformatted number.

      case 1 - formatted as 1,000
      case 2 - formated as 1 000 (1(space)000 based on looking at the confirmation page

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              dschafer Dave Schafer
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: