Incorrect line items recorded with contribution repeattransaction api.
To replicate -
- Create a Financial Type that adds 10% to the total amount.
- Create a priceset with a field of $10 amount using the above FT.
- Create a recur contribution record with this priceset.
- View the contribution and notice the line items are displayed correctly.
Call repeattransaction api on this record, eg
cv api Contribution.repeattransaction contribution_status_id="Completed" contribution_recur_id=<your_recur_id>
A new contribution is created on the contact which displays a correct amount value.
View this contribution record and notice that the line item calculation is incorrect.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information