feat(subscription): email checkout reminders for expired sessions

Enable Stripe checkout recovery links and send rate-limited reminders to the
admin who started an unfinished subscription checkout.
This commit is contained in:
Andras Bacsai
2026-10-29 23:35:34 +01:00
parent 0d398ced24
commit 72c8209285
9 changed files with 295 additions and 1 deletions
@@ -0,0 +1,22 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
public function up(): void
{
Schema::table('subscriptions', function (Blueprint $table) {
$table->timestamp('stripe_checkout_reminder_sent_at')->nullable();
});
}
public function down(): void
{
Schema::table('subscriptions', function (Blueprint $table) {
$table->dropColumn('stripe_checkout_reminder_sent_at');
});
}
};