#lavkesh-agrawal_api

1 messages ยท Page 1 of 1 (latest)

atomic oceanBOT
#

๐Ÿ‘‹ 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/1346859266241462355

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

pliant horizonBOT
hazy iron
#

Hi there ๐Ÿ‘‹ that isn't supported if you're using Dynamic Payment Methods with a Payment Method Configuration. You'll either need to use payment_method_types as mentioned on that page, or try reaching out to our support team to see if Link should be in a different mode for your use case:
https://support.stripe.com/?contact=true

heady breach
#

Hi thanks for update

#

But even If I use payment_method_types , how we can achieve that Link with card integrations.

We used at one place payment_method_types but now my question is where to pass given config in that Link with card integrations.

#

We are using payment element at website
const options = {
mode: props.mode || "payment",
currency:currency[props?.countryCode],
amount:amount,
paymentMethodCreation: 'manual',
appearance: {
theme: "stripe",
},
setup_future_usage: "off_session",
paymentMethodTypes=['paypal','card']
}

hazy iron
#

I'm a little confused by the question, because you either use a Payment Method Configuration or you explicitly specify what you want to accept via payment_method_types. You don't use both simultaneously.

What happens when you complete that payment? What is the type of the Payment Method that gets created?

heady breach
#

If we specify type = crad link payment method option get disaaper from checkout form

atomic oceanBOT
heady breach
#

where to use these option

hazy iron
heady breach
hazy iron
#

Is that the one where you don't see Link? Because it's showing both in your screenshot and when I visit that page.

heady breach
#

Yes now link is here but when I specify payment_method_types = ["card"] , link get disappear

hazy iron
#

Can you share a test page where it doesn't show up?

heady breach
#

and we need "Link with card integrations"

#

I am deploying change on dev

hazy iron
heady breach
#

okay let me check this

#

It is active already

hazy iron
#

Click on the overflow menu beside Active, and flip the toggle for Payment Element to on

heady breach
#

Yes it seem available now

hazy iron
#

I'm glad to hear that did the trick!

heady breach
#

Thank you so much it seems working what we need