The subscription lifecycle should not be reduced to a “paid” or “unpaid” rule. A declined charge does not necessarily mean the student has canceled. Likewise, a scheduled cancellation does not always mean access should end immediately. If Stripe or Mercado Pago and your learning platform handle these cases differently, you may revoke permissions too soon or keep access active when it should have ended. That’s why adding another label won’t solve the problem: you need to define each state and its corresponding action.
Define subscription lifecycle states before changing permissions
Think of a subscription as a state machine. Each change needs a cause, a business rule, and a consequence for the course. The exact names depend on your integration. However, your system needs clear internal states rather than inferring them from a single payment notice.
- Active: The current charge is confirmed, and the student retains access.
- Payment pending or failed: A charge attempt was not completed. Start the recovery process, but don’t automatically treat it as a permanent cancellation.
- Grace period: Under your business policy, the student may retain access while the charge is retried.
- End-of-cycle cancellation: Renewal is turned off, but access may continue until the date already paid for.
- Immediate cancellation: The subscription ends at that moment, and access is adjusted according to the terms you’ve defined.
These states are not an official taxonomy shared by all payment gateways. They are an operational model that ensures billing, notifications, and course permissions follow the same interpretation. For example, a subscription may have renewal canceled and still remain active until the end of the period. If you treat that change as an immediate cancellation, you penalize a student who has already paid.
A failed charge starts payment recovery, not necessarily cancellation
When a recurring payment fails, the event should trigger a review and the agreed payment recovery process. This may include notifying the student, allowing them to update their payment method, or waiting for additional attempts, depending on the gateway settings. In the meantime, apply an explicit access policy. You can keep access active for a grace period or suspend it once a defined condition is met. In any case, don’t let a single notification make the decision on its own.
Also distinguish between canceling renewal and actually ending the subscription. The first action may mean there will be no further charge when the current period ends; the second may require access to be revoked sooner. The difference depends on your business terms and on how the gateway reports the status. That’s why you should store relevant dates, such as the paid-through date and the effective cancellation date, instead of recording only a generic label.

Technical processing matters too: webhooks can be repeated and arrive out of order. If you process the same notice twice, the automation should not send duplicates or perform additional actions. Also, an old event that arrives late must not overwrite a newer state. Design idempotent processing and use the event ID, or an equivalent key, to recognize what you’ve already processed. If the event’s order or contents aren’t enough to make a decision, check the current status with the payment gateway before changing permissions.
Apply the NEXO Method to payments and access
The NEXO Method begins with Exploration: document your plans, billing periods, grace rules, cancellation terms, and commitments to students. Don’t assume all your products share the same policy. A monthly membership and a program with access purchased for a set period may require different decisions.
During Diagnosis, compare the status recorded by the payment gateway with what appears in the learning platform, billing system, and CRM. Look for specific discrepancies: failed payments with access still active, completed cancellations without permissions revoked, or students who keep receiving sales messages after canceling. If a confirmed payment doesn’t translate into access correctly, the verifiable access between payment and the classroom criterion helps treat enrollment as a step that also needs to be checked.
In-Depth Investigation examines which events Stripe or Mercado Pago send, how their retries work, and what data can be used to check the current status. Don’t build your logic based only on an event’s name: verify what it represents in your integration. Then, the Action Plan defines the transitions, who receives each notification, what happens to access, and how exceptions are reviewed. Finally, Execution implements and tests the flow with duplicate, late, and contradictory events.
A monolithic chain of Zapier automations can hide decisions among steps and patches. A spreadsheet is not a reliable record of the current status either. Instead, the integration should retain the necessary history, prevent an event from being applied twice, and allow failures to be recovered without requiring the founder to review every subscription manually. As volume or complexity increases, an event queue and reconciliation process can help detect and resolve discrepancies in an orderly way. The priority isn’t to automate every click, but to ensure the payment gateway and classroom follow the same rules.
Before connecting tools, decide what each status means for your business and for the student. That definition makes payment recovery understandable and prevents a temporary failure from looking like an expulsion from the course. Then automate and validate exceptional cases. Also provide a review path for situations where the systems don’t match.