Merged requested to merge ayduns/stripe:membershipcheck into 6.8
We continually get problems with membership autorenewals failing. Mostly these are caused by mismatches between Civi's data and that at Stripe and in turn, that often relates to contact merges.
This API checks for consistency in data between autorenewing memberships and the data at Stripe. It does make any changes to data but produces a report for further investigation.
I suspect some of the status-related warnings are not actually problems and can be filtered out in future revisions but this is a read-only check so there is little risk.