#l0rdandbooz_api

1 messages ¡ Page 1 of 1 (latest)

sudden masonBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1349978258929877065

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

jagged copper
#

Hi there, do you have the payment method IDs?

glass ember
#

yeah one sec

#

pm_1R2QuJPp8urIYpRNA9LDD08E
pm_1R2QuKLQhKtna1xjcoUpa9J4

jagged copper
#

These two payment methods were created on two different Stripe accounts, and that's why their fingerprints don't match

glass ember
#

huh. Interesting. I'll check this and get back in a sec becuase they should be the exact same thing

#

Here is my setup intent

    const setupIntent = await stripe.setupIntents.create(setupIntentParams, {
        stripeAccount: stripeAccount,
    });

Here is my payment method

        const paymentMethod = await stripe.paymentMethods.create(
            {
                type: 'us_bank_account',
                us_bank_account: {
                    account_holder_type: 'company',
                    account_number: accountNumber,
                    routing_number: routingNumber,
                    account_type: accountType || 'checking', // Default to 'checking' if not provided
                },
                billing_details: {
                    name,
                },
            },
            {
                stripeAccount: connectAccountID // Crucial for Connect accounts
            }
        );
#

They're both receiving the exact same stripe account so I am unsure why that'd be the case

#

Hang on let me check this some more

#

You are right. I wasn't passing my ID correctly on the payment method. thank you Mr. Jack