#anamariaoros_best-practices

1 messages ยท Page 1 of 1 (latest)

broken rivetBOT
#

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

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

eager slate
#

Hi there, can you tell me exactly what didn't work?

still ferry
#

Hi Jack. I don't see the Link option in the Stripe Payment Modal. I see the Link option with my address when trying to pay a normal payment but not on the payments that are recurring. When creating the subsription I use the option payment_behavior: 'default_incomplete', and payment_settings: { payment_method_types: [ 'card' ] }

broken rivetBOT
gentle fractal
#

Hi ๐Ÿ‘‹

I"m stepping in as my colleague needs to go.

#

Can you provide more details on your integration? Are you using the Payment Element or collecting payment methods some other way?

still ferry
#

Yes. On the UI I use <PaymentElement with some options that include: layout, wallets, fields and defaultValues( with some billingDetails e.g. email )

gentle fractal
#

Okay thank you. And when you create the Payment Element, have you already created the Subscription or do you defer that action until after yu have collected payment method information?

still ferry
#

Sorry for my delay. Just wanted to confirm the behavior. Yes, when creating the payment element the subscription is already created on the be part and I send back to the ui details about a payment session with info about type, id, publicKetsn allowedCArdBrand and some clientSecret

gentle fractal
#

Can you share an example Subscription ID so I can check?

#

And when you say that Link isn't available, what specificly are you looking for? Do you mean that the Payment Element does not offer you Link as a Payment Method? Or that it does not allow you to save your Card with Link?

still ferry
#

My expectation is that I see the link with an email I am laready logged on Link or to have the option the save the provided payment method - check the print screens please.

#

Currently I have none of this options but only for the recurrent payments.

gentle fractal
#

Can you share a Subscription ID so I can check?

#

Looking

#

Okay it looks like Link is disabled in your Billing specific Payment Method Configuration

still ferry
#

it's active.

gentle fractal
#

Is that your Billing configuration? And is it active in the Payment Element specifically?

still ferry
#

yes. why else would it work for normal payments? ๐Ÿ™‚

#

the print screens that I sent you above - I can see that for simple/regular/normal payments. But if I use a recurring one, that creates a subscription I don't see them anymore

gentle fractal
#

Sorry I think you are mixing things up

#

Your account has two separate payment method configurations

#

Link is turned on in the one for normal payments

#

This is why you see it show up when you do non-subscription payments

#

But it is deactivated for the Billing specific configuration

still ferry
#

Am I looking at the wrong screen?

gentle fractal
#

If you're on that page there should be an ID at the end of the URL that starts pmc_. Can you copy that and paste it here? Just the ID, not the full URL

still ferry
#

pmc_1PydGlKfql57zWAVvj9qJUtj

gentle fractal
#

Thank you, taking a look

#

Do you know when you turned this on and when you generated the Subscription?

still ferry
#

Not really

gentle fractal
#

Do you have a publicly accessible URL where we can view this behavior?

still ferry
#

I have to ask. I'll get back to you.

soft marsh
#

Going to DM you a link and you can follow-up with our team directly there for us to continue this