The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Update payment-methods.ts
Kiran K544b63efb400
diff --git a/apps/web/lib/payment-methods.ts b/apps/web/lib/payment-methods.tsindex 4a362a2464..3539350917 100644--- a/apps/web/lib/payment-methods.ts+++ b/apps/web/lib/payment-methods.ts@@ -9,7 +9,7 @@ export const computePayoutFeeForMethod = ({payoutFee: number | undefined;}) => {if (!paymentMethod || payoutFee === undefined || payoutFee === null) {- throw new Error("Invalid payment method or payout fee.");+ return null;}if (["link", "card"].includes(paymentMethod)) {