Migrate billing from Paddle to Lemon Squeezy
Some checks failed
linter / quality (push) Has been cancelled
tests / ci (push) Has been cancelled
tests / ui (push) Has been cancelled

This commit is contained in:
Codex Agent
2026-02-03 10:59:54 +01:00
parent c96a73d884
commit 10c99de1e2
228 changed files with 4369 additions and 4067 deletions

View File

@@ -20,14 +20,14 @@ class TenantCheckoutSessionStatusTest extends TenantTestCase
'tenant_id' => $this->tenant->id,
'package_id' => $package->id,
'status' => CheckoutSession::STATUS_FAILED,
'provider' => CheckoutSession::PROVIDER_PADDLE,
'provider' => CheckoutSession::PROVIDER_LEMONSQUEEZY,
'provider_metadata' => [
'paddle_checkout_url' => 'https://checkout.paddle.test/checkout/123',
'lemonsqueezy_checkout_url' => 'https://checkout.lemonsqueezy.test/checkout/123',
],
'status_history' => [
[
'status' => CheckoutSession::STATUS_FAILED,
'reason' => 'paddle_failed',
'reason' => 'lemonsqueezy_failed',
'at' => now()->toIso8601String(),
],
],
@@ -40,7 +40,7 @@ class TenantCheckoutSessionStatusTest extends TenantTestCase
$response->assertOk()
->assertJsonPath('status', CheckoutSession::STATUS_FAILED)
->assertJsonPath('reason', 'paddle_failed')
->assertJsonPath('checkout_url', 'https://checkout.paddle.test/checkout/123');
->assertJsonPath('reason', 'lemonsqueezy_failed')
->assertJsonPath('checkout_url', 'https://checkout.lemonsqueezy.test/checkout/123');
}
}