Membership Stripe display double invoices on my site

When membership paid with stripe, for recurring payment for 30 days/month then two invoices are automatically created and both paid, but in real life, only one is paid and the customers’ memberships expire in two months when it should be only one.