#ionu_unexpected
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/1372071594570027008
📝 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.
- ionu_best-practices, 1 day ago, 26 messages
Hi! You can go to your payment method settings and disable Link: https://support.stripe.com/questions/how-to-turn-off-link
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
hi, the issue si that is not my account. We have an application that handles this for other accounts. We do have the connected accounts, from where we can block the payment methods, but for the non-connected account we do not have control.
I thought that restricting this to card only as payment methods will remove all the rest
can I do it in the code as a payment_method_types to the stripe elements options ?
You can try passing the paymentMethodTypes when you create the Element object. But can I check what do you mean by non-connected account?
I have this account acct_1PIwu8BERZ9G8bk2 with pmc_1PNThYBERZ9G8bk2NNX7doWM. We have a bunch of other stripe accounts connected to it. In those cases we can restrict the pm from there, and let stripe do the magic.
But some legacy integrations on our app are with old style keys and in that case we added on
stripeInstance = await loadStripe(paymentProcessorData.value.stripeKey);
stripeElements = stripeInstance.elements
the payment_method_types as ['card']
in order to prevent having other payment methods than cards.
I will look again if we do not have a bug, and that is not set properly, but it should be.
Let me know if you face any issues!
this is what it is sent to the elements. So only ['card']
Are you still getting Link?
yes
Is it the same site: https://teenwise.kartra.com/pay/kdB5oE7xIJa4 ?
52 beautiful cards, including a wooden holder, to reach for just when you
the link I sent you has these parameters for the elements
yes, I looked at it again, to be sure I did not miss it
Lets go back to your earlier issue with the accounts. I see this Element is being created for acct_14t4qEAG96SI5Ogh. Are you not able to log in to update the payment method configuration?
yes
it is not our account. We integrate the elements based on what user provided as keys. So no access to the account whatsoever
my issue is that I want to restrict to cards, so our clients do not have to do anything in their stripe accounts. They might use link for other platforms, and we do not want to interfere with anything other than our checkout
The only way to limit the options for the Bank is by disabling Link on the actual account itself. If the account you are working with doesn't want that they have to disable it.
Do also note that it’s not possible to disable Instant Bank Payments (https://docs.stripe.com/payments/link/instant-bank-payments) without disabling Link.
ok, thanks. But at least the other payment methods will not be available if I set ['card'] ?
Yeap!