*Be sure to read the latest CPM-Core release notes.
This a targeted hotfix release addressing an issue in which failed Stripe payments were incorrectly appearing in the "Unlinked - Charges" queue in the CPM Role Center. This release includes both a forward-looking code correction and an upgrade procedure to automatically remediate existing affected records upon installation.
Failed Stripe Payments Incorrectly Appearing in the "Unlinked - Charges" Role Center Cue
When Stripe reported a payment as "failed", the Posting Status was left at the default value of "NotLinked", causing these records to be counted in the "Unlinked - Charges" queue even though no action was required.
This was inconsistent with how cancelled payments have been handled, which correctly sets thePosting Status to "NotRequired".
This fix now sets Posting Status to "NotRequired" for failed payments in StripePaymentUpdateLinkAndStatus(), with a guard condition that preserves the Posting Status of any payment already linked or posted before it transitions to a failed state.
Note: An upgrade procedure is also included to correct existing failed payment records upon app installation.