2025-05-14 21:45:16 +02:00

549 B

module-payments

Need to add this to the account Model

@Field(() => AccountPaymentInfo, { nullable: true })
paymentInfo?: AccountPaymentInfo;

Need to add the corresponding resolvers -- app

...ModulePaymentAppResolver

-- admin

Stripe Install

- Install the env in DB

Stripe config

Url to add in the stripe webhook

-- Custom domain (recommended) https://xxx-api.example.com/payments/webhook

Once you have setup a webhook, you will received a signature key whsec_XXXX that you need to put as STRIPE_HOOK_SECRET in your env