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

Currency code not passed to processor (PayPal - Website Payments Pro)

    Details

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

      Description

      To reproduce, invoke api.Contribution.transact with the currency parameter set to something valid.

      Note that this API is basically a wrapper around the payment processor's doPayment() method, which is used to call the class's doDirectPayment() method. Note also that that method expects the currency parameter to be named currencyID rather than currency.

      As a result, an empty string is passed to PayPal rather than the expected currency.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              pittstains Frank J. Gómez
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 45 minutes
                1h 45m