Empty civicrm_financial_item.financial_account_id field in completed recurrent contributions
- Drupal 9
- Webform_Civicrm 6.2.4
- CiviCRM 5.57.3
- Mjwshared 1.2.11
The completed recurrent contributions that are created from Payment Processor Webhooks, are created with the empty civicrm_financial_item.financial_account_id field.
In the Civicrm interface, this error is displayed in the absence of the Type field in Payment Details.
In PayPal's complete contributions this error does not happen. PayPal uses the following function to record the payment: https://lab.civicrm.org/dev/core/-/blob/5.59.3/CRM/Core/Payment/PayPalIPN.php?ref_type=tags#L200
While in stripe: https://lab.civicrm.org/extensions/mjwshared/-/blob/1.2.11/api/v3/Mjwpayment.php?ref_type=tags#L196
Cc: @mattwire