Contribution and transactions dates on recurrent intents
The problem
We had a problem regarding an automatically recurring payment.
The contribution in CiviCRM was created at december 20th but the payment wasn't completed. The next day Stripe tried to complete it, but was unsuccesfull. Later on tried again and it was also a fail.
During the next 4 days tried to complete it, and it was in the 15th day that finally was able to do it. But what happened? The contribution was created at december 20th but completed at january 4th and Stripe marked as completed the contribution without checking the date that was completed. So the contribution is shown as completed in december 20th (both contribution and transaction).
Expected behavior
The contribution should be updated to completed and keep the initial date, but the created transaction should be put the date in which was completed, as the image below.
- CiviCRM 5.54
- Stripe Payment Processor 6.7.10
- Contribution.Transact alternative API implementation 1.5.1
- Payment Shared 1.2.8