#Paul Han

1 messages ยท Page 1 of 1 (latest)

lost tapirBOT
winged locust
#

Hi ๐Ÿ‘‹

Link operates mostly as a convenience method that wraps around other payment methods like cards or bank accounts

#

But in some scenarios it will create a Payment Method with a type of link

wet plank
#

I'm a little confused as to how a customer was able to put in a link payment method when the only option I allow for is "card" in my checkout page... is there a way to put in the "link" type from a card checkout page?

winged locust
#

I don't know what you mean by a "card checkout page". What Stripe products are you using?

wet plank
#

Apologies, I think I see how they were able to add a link as a type... Assuming it's from this:

winged locust
#

Are you using Stripe Checkout, Payment Element?

wet plank
#

Stripe Checkout

#

Is there a way I can see the brand & last4 of the card from a payment method with "link" type via an API call? The request for Stripe::PaymentMethod.retrieve('pm_id') doesn't return that information

winged locust
#

A link payment method will only contain the email of the customer

wet plank
#

Understood, thank you so much for your help

winged locust
#

Happy to shed what ๐Ÿ’ก I can ๐Ÿ™‚

wet plank
#

but I'm still seeing it when I navigate to my checkout page

winged locust
#

Did you create a new Checkout Session or are you using the same URL?

wet plank
#

oh i believe i'm using the same URL from a previous Stripe::BillingPortal::Configuration.create

#

does it have to be a new billing portal?

#

hmm creating a new BillingPortal configuration and using that ID still did not work

winged locust
#

Wait I thought you were talking about Stripe Checkout

#

That is different from BillingPortal

wet plank
#

ah sorry, yes I'm using billing portal, for some reason I thought that was conceptually the same

lost tapirBOT