diff --git a/clients/payment/src/components/PaymentForm.tsx b/clients/payment/src/components/PaymentForm.tsx index 27298c7d5..6b15d30d6 100644 --- a/clients/payment/src/components/PaymentForm.tsx +++ b/clients/payment/src/components/PaymentForm.tsx @@ -168,7 +168,6 @@ export const PaymentForm = ({ paymentLink }: Props) => { ]) ) { Router.replace("Success"); - console.log(values); } }); }; diff --git a/clients/payment/src/utils/logger.ts b/clients/payment/src/utils/logger.ts index 571394b3d..03fe46e03 100644 --- a/clients/payment/src/utils/logger.ts +++ b/clients/payment/src/utils/logger.ts @@ -17,9 +17,9 @@ export const initSentry = () => { init({ release: env.VERSION, dsn: "TODO", - environment: env.PAYMENT_URL.includes("preprod") + environment: env.CLIENT_PAYMENT_URL.includes("preprod") ? "preprod" - : env.PAYMENT_URL.includes("master") + : env.CLIENT_PAYMENT_URL.includes("master") ? "master" : "prod", normalizeDepth: 5,