Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

only live keys

Blue Mousecce01047c998
diff --git a/backend/apps/cloud/src/revenue/dto/connect-paddle.dto.ts b/backend/apps/cloud/src/revenue/dto/connect-paddle.dto.ts
index f24339604..1772a0003 100644
--- a/backend/apps/cloud/src/revenue/dto/connect-paddle.dto.ts
+++ b/backend/apps/cloud/src/revenue/dto/connect-paddle.dto.ts
@@ -9,14 +9,13 @@ import {
export class ConnectPaddleDto {
@ApiProperty({
- description: 'Paddle API key (pdl_live_*, pdl_test_* or pdl_sdbx_*)',
+ description: 'Paddle API key (pdl_live_*)',
example: 'pdl_live_xxxxxxxxxxxxxxxx',
})
@IsNotEmpty()
@IsString()
- @Matches(/^pdl_(live|test|sdbx)_/, {
- message:
- 'Invalid Paddle API key format. Key should start with pdl_live_ or pdl_test_',
+ @Matches(/^pdl_live_/, {
+ message: 'Invalid Paddle API key format. Key should start with pdl_live_',
})
apiKey: string
diff --git a/backend/apps/cloud/src/revenue/dto/connect-revenue.dto.ts b/backend/apps/cloud/src/revenue/dto/connect-revenue.dto.ts
index 07de452e8..ee328da80 100644
--- a/backend/apps/cloud/src/revenue/dto/connect-revenue.dto.ts
+++ b/backend/apps/cloud/src/revenue/dto/connect-revenue.dto.ts
@@ -16,7 +16,7 @@ export class ConnectRevenueDto {
@ApiProperty({
description:
- 'API key for the selected provider. Stripe: rk_live_* or rk_test_*. Paddle: pdl_live_*, pdl_test_* or pdl_sdbx_*.',
+ 'API key for the selected provider. Stripe: rk_live_*. Paddle: pdl_live_*.',
examples: {
stripe: { value: 'rk_live_xxxxxxxxxxxxxxxx' },
paddle: { value: 'pdl_live_xxxxxxxxxxxxxxxx' },