#benjam-paymentlink-fulfillment
1 messages · Page 1 of 1 (latest)
benjam-paymentlink-fulfillment
Hey @spring granite ! A PaymentLink is kind of a "factory" for one-time payments. Every time someone clicks on the URL of a PaymentLink what we do is create a one-time use Checkout Session for that specific customer/payment attempt
So what you want to do is listen to the Events associated with Checkout specifically. See https://stripe.com/docs/payments/checkout/fulfill-orders
ok thanks for the explanation - How can I recognize that the Checkout Session is related to a specific payment link ? So I can update the related order on my side
But really you're misunderstnading things completely I think in the way you frame this
a PaymentLink should never be about a specific order. The whole point of a PaymentLink is to configure a repeatable way to pay the same thing over and over and over again
I have created a generic product "Security deposit", then I attach to it a new price with a payment link (throught the API) every time I have a new rental
It is a once off payment for my customer, as the monthly subscription are paid through the classic payment intent
If you think I don't use correctly the payment link feature for the one time security deposit payment, which Stripe feature I should use ?
Yeah PaymentLinks would be more "My security deposit is always $500 so I just use that link for any of my tenant to pay that first and then I figure it out"
if each PaymentLink is for a specific tenant/property/service, then you're using it wrong and you should be using Checkout directly