Membership 2 recurring payment issues

I have a member who is signed up to one of my memberships on my site on a recurring payment. In the billing section of the membership plugin it says the payment is overdue, but the payment has actually been processed by the gateway (stripe). The membership status for that member is showing up as expired now. We tried refreshing membership statuses which didn't solve the issue. Cleared cache and stuff which didn't help too. After some time, weirdly, the membership status changed back to active, but the payment was still showing as overdue in the billing section.