#tangdrew_best-practices
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1258099570513019013
đ Have more to share? Add details, code, screenshots, videos, etc. below.
Separately, in Test Mode, I've also tried turning off Link as a payment method for our connected account (acct_1JfPMiQBQ9CK4lap) and our platform account and the PaymentElement form still shows Link.
Hello! If you're using dynamic payment methods, Payment Element is going to use the settings in your Dashboard. Note that there are separate settings for your connected accounts: https://dashboard.stripe.com/settings/connect/payment_methods
Also note that the settings are separate for both test and live mode.
Alternatively, you can set payment_method_types on the Payment Intent used with the Payment Element and specifically exclude link from the list: https://docs.stripe.com/api/payment_intents/create#create_payment_intent-payment_method_types
Ok great that last suggestion looks like what I was looking for. This works with Setup Intent's as well?
When I create a setup intent and specify the payment_method_types to just include ["card"] it shows just the card form but it still includes this prompt about Link even though it's not in the payment_method_types array. Shouldn't that not show up?
I have Link disabled for both the platform account and the connected account and it stil shows. The connected acount is acct_1JfPMiQBQ9CK4lap
But also would that mean I'd need to get all of my existing connected accounts to go turn off Link in their dashboard to disable this accross th board?
You shouldn't have to, no. Did you specifically set Link to Blocked in your connect payment method settings in the Dashboard?
And did you press that â˘â˘â˘ button and turn off all these switches?
Oh, they changed it so you can't have them all off and have blocked selected, but having blocked selected should do the trick.
I see yeah it looks lik I need to have it blocked but also turn off the integration for at least the PaymentElement. And yeah I wasn't able to save it if I turned off all of them but luckily we're not using all of those integrations
Ok just to confirm, if I turn off Link for Payment Element in my Payment Methods > For your connected accounts settings then it'll disable Link for all of my existing connected accounts regardless of what their Payment Method settings are?
It will for payments made via your platform, yeah.
Great thanks! And last question - we use the Payment Element to collect cards on file using Setup Intents from users in one workflow and then we use it to accept payments with Payment Intents in another. We want to disable Link for the Setup Intent because it gets confusing that there's another consent checkbox for Link in addition to our platform's consent. But we do want to allow users to pay by link in the payment workflow. Can we selectively enable/disable or do we have to allow or block Link across the board for Payment Elements?
You can block it in the Dashboard but then use payment_method_types and specifically include link there, which should override the Dashboard setting for that specific payment.
Just out of curiosity, if you don't mind sharing, why do you want to disable Link?
We have a flow where we're trying to get patients to save their card on file ahead of their doctor's appointment so we can charge it after their visit. The extra noise of the Link enrollment adds confusion when our number one priority is getting a payment method saved and consent to charge it later. The fact that another checkbox appears after you fill in your card info is distracting and some patients find it confusing that there's two separate opt-ins
Thank you for the feedback!