Files
e-ticket/templates/email/billing_cancelled.html.twig
Serreau Jovann e4c701456b Add billing system: subscription, webhooks, and access control
- Add billing fields to User (isBilling, billingAmount, billingState,
  billingStripeSubscriptionId) and OrganizerInvitation (billingAmount)
- Registration: organizer gets billingState="poor" (pending review)
- Admin approval: sets isBilling=true, billingAmount from form, state="good"
- Invitation: billingAmount from invitation, if 0 then isBilling=false
- ROLE_ROOT accounts: billing free (amount=0, state="good")
- Block Stripe Connect creation and all organizer features if state is
  "poor" or "suspendu"
- Hide Stripe configuration section if billing not settled
- Add billing checkout via Stripe subscription with success route
- Webhooks: checkout.session.completed activates billing,
  invoice.payment_failed and customer.subscription.deleted suspend
  account and disable online events
- Show billing alert on /mon-compte with amount and subscribe button
- Display billing info in invitation email and landing page
- Add email templates for billing activated/failed/cancelled

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 14:30:21 +01:00

13 lines
502 B
Twig

{% extends 'email/base.html.twig' %}
{% block title %}Abonnement annule{% endblock %}
{% block content %}
<h2>Bonjour {{ firstName }},</h2>
<p>Votre abonnement E-Ticket a ete <strong>annule</strong>.</p>
<p>Votre compte organisateur est suspendu. Pour reactiver vos services, souscrivez a un nouvel abonnement depuis votre espace.</p>
<p style="text-align:center;margin:32px 0;">
<a href="{{ url('app_account') }}" class="btn">Acceder a mon compte</a>
</p>
{% endblock %}