#keymodded-payment-link

1 messages · Page 1 of 1 (latest)

lofty basin
#

@keen venture a PaymentLink doesn't get "confirmed" so you are likely misunderstanding the overall feature

keen venture
#

um

#

so i check for checkout session to see if it confirmed ?

lofty basin
#

Yes, and there can be multiple Checkout Session if multiple people follow the link

keen venture
#

how do i use the session object

#

oh nevermind

keen venture
lofty basin
#

A PaymentLink creates a Checkout Session, so you listen to Checkout Session events to do the fulfillment

keen venture
#

how do i get the checkout session id from the payment link ?

lofty basin
#

you don't, that's what I am trying to explain that you are misunderstanding

#

A PaymentLink allows you to configure a simple URL you give to many people to pay for the same thing. Say $10 for a coffee.

#

Once you have that URL, maybe no one will ever click it or pay, maybe one person will, maybe 2 or 2 millions

keen venture
#

i'm not using the stripe API with a website, i'm doing in pure python so it's a little hard to do it w/o a site

lofty basin
#

Payment Link -> url -> Checkout Session for each individual customers

keen venture
#

wait so what is the difference between session and payment link

lofty basin
#

A Session is ephemeral and represents one payment attempt for a given Customer. A PaymentLink is durable, you create one, get a URL and you can give that URL to anyone, today, tomorrow, next year, and it'll keep working

keen venture
#

oh

#

i guess a session is more suitable for me

#

thanks for the help

lofty basin
#

okay so yes if you just sell one thing to one person and want to create it on demand then a Session is better

#

payment links are more to say put a link to a $15 ebook on your website and anyone can click and pay

keen venture
#

well i want to sell different things to different peoples

lofty basin
#

or tweeting a link to your followers and such

keen venture
#

i've got a unique product when a client wants to buy

#

something like that

lofty basin
#

Checkout seems to be what you need/want

keen venture
#

well checkout is a session, i'm right ?

lofty basin
#

yes and no

#

Checkout is our product.
A Session is just the API resource you create to link to Checkout

keen venture
#

oh

#

can you give me the docs link for the checkout ?

lofty basin
keen venture
#

oh i got it

lofty basin
#

sure!

keen venture
#

i can set the checkout to expire for a defined time ?