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.