How can I track failed subscription payments and remove users from a Telegram group automatically?

Hi everyone,

I have a question about subscriptions and recurring payments.

I contacted WayForPay to understand what happens if a recurring payment fails. They told me that if a payment isn’t successful, the system retries the next day. If it fails again, the next attempt follows the regular schedule. The subscription itself is not automatically canceled after a failed payment.

So here’s my concern:
How can we detect that someone hasn’t paid and automatically remove them from a Telegram group?

If the subscription status still shows as active, how can we track non-payment? Is there a way to automate this instead of removing users manually?

1
1 reply