#jayvir_code

1 messages ¡ Page 1 of 1 (latest)

exotic capeBOT
#

👋 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/1493127137744654398

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

bitter rivet
#

hi @naive island
if i enable link then why bank shows ?
i want to disable bank
just want link only

naive island
#

Can you share the SetupIntent Id? seti_xxx

bitter rivet
#

seti_1TLdTZLKTM2K3idy7P6h2Gti

#

allowed this only : paymentMethodTypes: ["card", "cashapp", "link"]

naive island
#

If you click to Bank, what does it show?

#

I think that's Instant Bank inside Link, not the real Bank

#

So this is expected

bitter rivet
#

@naive island
please explain why expected ?
Instant Bank inside Link, not the real Bank ?

naive island
#

This is the Bank section inside Link. Link contains this section

bitter rivet
#

@naive island

ok when i use payment - link with card works but fails link with bank
so any changes needed

naive island
#

What do you mean by "fails link with bank"? Do you get an error message?

bitter rivet
#

i am creating setup intent from platfrom account
then using payment id coping in connnected account & deduction money
card payment works not bank payment

naive island
#

How are you copying Payment Id?

#

Do you mean copying Payment Method?

bitter rivet
#

const data = { customer: customerId, payment_method: paymentId };

  let url = `${STRIPE_URL}/payment_methods`;
  let apiCall = await axios({
    method: 'post',
    maxBodyLength: Infinity,
    url: url,
    headers: {
      'Stripe-Account': stripeAccountId,
      Authorization: `Bearer ${secretKey}`,
      'Content-Type': 'application/x-www-form-urlencoded',
    },
    data: data,
  });

@naive island

naive island
#

What is the data here?

bitter rivet
#

const data = { customer: customerId, payment_method: paymentId };

customerid & paymentId

naive island
#

Ok this flow should works with both card and payment method.

#

When you say it failed, which Payment Method Id is that?

#

pm_xxx

#

And can you share the errorred request id?