#faaz_api

1 messages ¡ Page 1 of 1 (latest)

dreamy cargoBOT
#

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

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

marsh canyon
#

hello! this is really easy if you're using the Express Checkout Element as you can specifically disable payment methods directly from this property, so one option would be to migrate to using that (if you're open to that)
https://docs.stripe.com/js/elements_object/create_express_checkout_element#express_checkout_element_create-options-paymentMethods

outside of that i think you would just need to point your PaymentIntent to a payment method configuration that has Link disabled, but i would need to test that to ensure that works as expected as i am honestly a little less familiar with the PRB

proven remnant
#

I think I found a fix actually. I can use .canMakePayment then inside not mount if link is the a key in the result object.

marsh canyon
#

ahh yep that would work too