#gewibu_api
1 messages ยท Page 1 of 1 (latest)
๐ 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/1488916298757963797
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- gewibu_payment-element-payment-methods, 4 days ago, 29 messages
Hello! Setting payment_method_types should achieve this. and you can retrieve a PaymentIntent's payment_method via the API: https://docs.stripe.com/api/payment_intents/object#payment_intent_object-payment_method
For the PaymentIntent ID you provided, I see the status is requires_payment_method and the associated Customer has no saved payment methods. How are you collecting payment method details? Are you using elements or checkout?
I am collecting the payment method through Elements. My overall goal is to have an Elements checkout that does not allow an option for paying via US Bank Account, but when using this payment intent to initialize the Element, I can see US Bank Account is still an option
So you are initializing the payment element with the client secret from this PaymentIntent? Can you share that code?
We're using React JS and here is the code that is initializing the element:
<Elements stripe={stripePromise} options={{ clientSecret: token, hidePostalCode: true, }} > {children} </Elements>
stripePromise is an instance of loadStripe()
and the token is the payment intent id
The token should be the client_secret from the PaymentIntent, not the id: https://docs.stripe.com/js/elements_object/create#stripe_elements-options-clientSecret
No worries, just wanted to rule that out as an issue.
Let me see if anything else is required to prevent the bank account payment method type from showing in the Payment Element ๐ค
@waxen kite can you share a screenshot? i have a suspicion i might know what's causing this
screenshot of what specifically? If you scroll up to the start of this thread you can see the last thread I opened 4 days ago about this issue does include a screenshot of the stripe element
of the element, is that still exactly what it looks like? no wording changes at all?
ok yep, this is a common point of confusion ๐ this isn't our ACH debit payment method, it's actually link instant bank payments
the good news is this has a card-like settlement time so there's not really a downside to you as a merchant for accepting it, but the bad news is if you want to turn it off anyway the only way to is by disabling link
oh actually that's good news because we also want to disable link- how should I go about that?
hahahahaha great, you should be able to do that from your payment method configuration in your dashboard
is that all I need to do? No other code configurations need to be changed?
yep that should do it! you're welcome to give it a try right now and let me know if it works for you
ok I gave it a shot but we have 3 different payment configurations on our connected account and I don't think I have access to all 3 to disable Link payments, so it still isn't working
If I gave you a configuration id could you let me know if the Link is enabled?
yep was just about to ask for that
I have 3 actually if you dont mind me sending all of them:
pmc_1QzMUPJHVyuda2TnYuKnEkr1
pmc_1RJbLuJHVyuda2TnwLKeZ0d8
pmc_1Q5NE4JHVyuda2Tn77ZjHuX5
is this for connect? the payment intent pi_3THQ7WJHVyuda2Tn0V44Ysbk you shared earlier didn't look like a direct charge or a transfer payment
link is on for pmc_1QzMUPJHVyuda2TnYuKnEkr1 and pmc_1RJbLuJHVyuda2TnwLKeZ0d8 but disabled for pmc_1Q5NE4JHVyuda2Tn77ZjHuX5
also can you do me a favor and the next time you test, open up your dev tools and filter the network tab for a /sessions request, which should have a request ID response header with a value like req_****, can you grab that for me?
i think it's using pmc_1QNVbqJHVyuda2TnIdIVjITm as its source, 1 sec
ok yeah link is active in that config, can you try disabling it there?
I genuinely cannot find that pmc anywhere in the dashboards I have access to- can you give me any more info about the account that pmc is coming from?
what account are you signed into? you should be able to grab the account id from the dashboard
acct_1PpxPuJHVyuda2Tn
yep that's the right account. are you in test mode or live mode? the 3 configs you sent me earlier are all live mode, and pmc_1QNVbqJHVyuda2TnIdIVjITm is test mode
and the payment intent is being created with your test keys
pmc_1QNVbqJHVyuda2TnIdIVjITm should be the default config for test mode on that account