#robzie76_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/1446305592762306761
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
hi there, give me a moment to catch up
Are you creating PaymentIntents that explicitly set link under the payment_method_types [0] param?
[0] https://docs.stripe.com/api/payment_intents/create#create_payment_intent-payment_method_types
Can you also share with me a PaymentIntent ID to use as example?
Hi there
Nope, we are not actually programmatically doing anything with link.
We weren't even going to support it. However our system started failing because a number of customers started sending payment methods (we show saved payment methods in our UI) that were of type link, which we don't support.
We can add support, but I need to create a link type payment method in our sandbox environment against at least one customer for testing ... and I haven't been able to.
This is technically not directly a coding question, because I want to setup it up without code, however our customer did.
BUT it is a tech question because it is our code that deals with the link response, and I don't really understand the different in how a "card" type with source "link" is related to a purely "link" type payment method as well.
Well, to answer how to create a payment method that is typed link, you need to declare link under the PaymentIntent's payment_method_types that collects the payment method.
This is needed because there are two ways [0] to use the Link payment method โ as a payment method [1] or within a card integration [2]
[0] https://docs.stripe.com/payments/wallets/link#get-started
[1] https://docs.stripe.com/payments/link/link-payment-integrations?link-integrations=link-payment-method
[2] https://docs.stripe.com/payments/link/link-payment-integrations?link-integrations=link-card-integrations
From what I understood, you're looking to use Link as a payment method. So the guide to follow is [1]
Is there a way to create [1] via the Stripe UI.
We don't create this payment intent ourselves, only pass it on ... but I do need to create it for testing.
And if I create with type "link" I'm pretty sure it will say I can't do it programmatically ... I did try a small test previously.
by Stripe UI, do you mean Stripe Elements, or the Stripe Dashboard?
I could help if you can share the error message or a screenshot when you create the payment method typed link
The dashboard, sorry
I
I'm using the customer portal to add a payment method to my customer I want to use for testing
I'm using stripe
No it is not possible to create from the Dashboard. Declaring specific payment method types on PaymentIntent needs to be created programmatically using the Stripe API.
It will be added as a "card" payment method that has source "link"
So ... how did our customer do it?
Could you share with me your customer's payment method ID or payment intent ID please
Of course:
Payment method ID:
pm_1Sao2QRFU2tnEhcOWGJ4dAu5
ah, this is a Link payment method with type card โ is this what you're trying to replicate?
NO, that's what I get every time I use the customer portal.
I'm trying to replicate the preferred stripe method which is of type "link".
๐
okay so we're aligned and the previous answer stands โ it is not possible to create a payment method typed link from the Dashboard. You need to do it via the Stripe API.
For me to check how your customer created a payment method typed link, you need to share with me the payment method ID where the type=link