The invoice for a renewal is created 14 days before the due date, so it shows as Unpaid for a while even if you pay automatically. Nothing is wrong: the early invoice gives you time to check the amount and your payment method.
When the invoice is paid
If you have a saved payment method, it is charged on the due date, not on the day the invoice appears. The invoice then shows Paid.
If you don't have a saved payment method, pay the invoice yourself before the due date.
You can also pay early, at any time before the due date.
How to pay is explained in How to pay an invoice in the client area.
If the payment doesn't go through
The invoice stays Unpaid. Pay it before the due date to keep everything. What happens after the due date is explained in What happens if a payment fails.
