Error when a contribution that has donrec data is duplicated - Stripe recurring contributions #156
Labels
bug
important
status:needs work
There is code, but it needs additional work before it should be reviewed.
When a stripe recurring contribution is processed, a new contribution is generated by copying the data from the last recurring contribution. During this process, an error appears on the following line: https://lab.civicrm.org/dev/core/-/blob/5.57.2/CRM/Core/DAO.php#L2050
This error arises because the contribution's donrec custom field group (zwb_donation_receipt_item), has the field "is_multiple" equal to TRUE (however, CiviCRM does not support "is_multiple" = TRUE for custom field groups of contributions).
Resolved issue, if custom field group "zwb_donation_receipt_item" is created without "is_multiple" = TRUE.
https://github.com/systopia/de.systopia.donrec/blob/2.1-beta1/CRM/Donrec/DataStructure.php#L33
The text was updated successfully, but these errors were encountered: