Skip to content

Error on Stripe Activation in Event Type #6986

@prononext

Description

@prononext

I got this strange bug when trying to activate Stripe inside a Event-Type on a self hosted docker instance.

[ { "code": "invalid_type", "expected": "string", "received": "undefined", "path": [ "client_id" ], "message": "Required" }, { "code": "invalid_type", "expected": "string", "received": "undefined", "path": [ "client_secret" ], "message": "Required" }, { "code": "invalid_type", "expected": "string", "received": "undefined", "path": [ "public_key" ], "message": "Required" }, { "code": "invalid_type", "expected": "string", "received": "undefined", "path": [ "webhook_secret" ], "message": "Required" }, { "code": "invalid_type", "expected": "number", "received": "undefined", "path": [ "payment_fee_fixed" ], "message": "Required" }, { "code": "invalid_type", "expected": "number", "received": "undefined", "path": [ "payment_fee_percentage" ], "message": "Required" } ]

I have filled all this environment variables correctly:

NEXT_PUBLIC_STRIPE_PUBLIC_KEY=pk_...
STRIPE_PRIVATE_KEY=sk_...
STRIPE_CLIENT_ID=ca_...
STRIPE_WEBHOOK_SECRET=whsec_...

On the container logs it is showing:

@calcom/web:start:   addIssue: [Function (anonymous)],
@calcom/web:start:   addIssues: [Function (anonymous)],
@calcom/web:start:   name: 'ZodError',
@calcom/web:start:   errors: [
@calcom/web:start:     {
@calcom/web:start:       code: 'invalid_type',
@calcom/web:start:       expected: 'string',
@calcom/web:start:       received: 'undefined',
@calcom/web:start:       path: [Array],
@calcom/web:start:       message: 'Required'
@calcom/web:start:     },
@calcom/web:start:     {
@calcom/web:start:       code: 'invalid_type',
@calcom/web:start:       expected: 'string',
@calcom/web:start:       received: 'undefined',
@calcom/web:start:       path: [Array],
@calcom/web:start:       message: 'Required'
@calcom/web:start:     },
@calcom/web:start:     {
@calcom/web:start:       code: 'invalid_type',
@calcom/web:start:       expected: 'string',
@calcom/web:start:       received: 'undefined',
@calcom/web:start:       path: [Array],
@calcom/web:start:       message: 'Required'
@calcom/web:start:     },
@calcom/web:start:     {
@calcom/web:start:       code: 'invalid_type',
@calcom/web:start:       expected: 'string',
@calcom/web:start:       received: 'undefined',
@calcom/web:start:       path: [Array],
@calcom/web:start:       message: 'Required'
@calcom/web:start:     },
@calcom/web:start:     {
@calcom/web:start:       code: 'invalid_type',
@calcom/web:start:       expected: 'number',
@calcom/web:start:       received: 'undefined',
@calcom/web:start:       path: [Array],
@calcom/web:start:       message: 'Required'
@calcom/web:start:     },
@calcom/web:start:     {
@calcom/web:start:       code: 'invalid_type',
@calcom/web:start:       expected: 'number',
@calcom/web:start:       received: 'undefined',
@calcom/web:start:       path: [Array],
@calcom/web:start:       message: 'Required'
@calcom/web:start:     }
@calcom/web:start:   ]
@calcom/web:start: }

I am running on:
v.2.5.10-sh-ce

Am I doing something wrong? How can I get it to work?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions