Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Update confirm-payouts.ts

Steven Tey0ed681c3bc3e
diff --git a/apps/web/app/(ee)/api/cron/payouts/confirm/confirm-payouts.ts b/apps/web/app/(ee)/api/cron/payouts/confirm/confirm-payouts.ts
index f21fdedc5d..3c5cb1fdda 100644
--- a/apps/web/app/(ee)/api/cron/payouts/confirm/confirm-payouts.ts
+++ b/apps/web/app/(ee)/api/cron/payouts/confirm/confirm-payouts.ts
@@ -128,8 +128,11 @@ export async function confirmPayouts({
amount: invoice.total,
customer: workspace.stripeId!,
payment_method: paymentMethod.id,
+ automatic_payment_methods: {
+ enabled: true,
+ allow_redirects: "never",
+ },
currency: "usd",
- confirmation_method: "automatic",
confirm: true,
transfer_group: invoice.id,
statement_descriptor: "Dub Partners",