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.

remove PAYMENT_METHOD_TYPES from stripe.paymentIntents.create

Steven Tey1b7c35c7b9c6
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 d371c0c9a0..f21fdedc5d 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
@@ -1,8 +1,5 @@
import { createId } from "@/lib/api/create-id";
-import {
- DIRECT_DEBIT_PAYMENT_METHOD_TYPES,
- PAYMENT_METHOD_TYPES,
-} from "@/lib/partners/constants";
+import { DIRECT_DEBIT_PAYMENT_METHOD_TYPES } from "@/lib/partners/constants";
import {
CUTOFF_PERIOD,
CUTOFF_PERIOD_TYPES,
@@ -130,7 +127,6 @@ export async function confirmPayouts({
await stripe.paymentIntents.create({
amount: invoice.total,
customer: workspace.stripeId!,
- payment_method_types: PAYMENT_METHOD_TYPES,
payment_method: paymentMethod.id,
currency: "usd",
confirmation_method: "automatic",
diff --git a/packages/embeds/core/package.json b/packages/embeds/core/package.json
index 23bfd241df..fef9c4ad5f 100644
--- a/packages/embeds/core/package.json
+++ b/packages/embeds/core/package.json
@@ -1,7 +1,7 @@
{
"name": "@dub/embed-core",
"description": "Vanilla JS core script that embeds Dub's dashboards.",
- "version": "0.0.14",
+ "version": "0.0.15",
"sideEffects": false,
"main": "./dist/index.js",
"module": "./dist/index.mjs",
diff --git a/packages/embeds/react/package.json b/packages/embeds/react/package.json
index fa998fb8ea..5634ee40f0 100644
--- a/packages/embeds/react/package.json
+++ b/packages/embeds/react/package.json
@@ -1,7 +1,7 @@
{
"name": "@dub/embed-react",
"description": "Embed React components for Dub.",
- "version": "0.0.14",
+ "version": "0.0.15",
"sideEffects": false,
"main": "./dist/index.js",
"module": "./dist/index.mjs",