#Fick si Morty

1 messages · Page 1 of 1 (latest)

gleaming pawnBOT
broken crag
#

👋 Thanks for reaching out
You can't set dynamic rates neither tax rates on PaymentLinks, because PaymentLinks can be used multiple time by multiple customer in multiple location. However, these properties can be set in Checkout Session because Checkout Session can be used by only one Customer.

indigo condor
#

Understandable.
Reading your answer I realized I didn't know that payment links can be used multiple times.
Aren't they unique? How can I make one-time-only links that are being disabled after payment? I'm generating a new link for every purchase and I would like users to pay them only once. The metadata of each link is different

broken crag
#

No, PaymentLinks can be used multiple time, even you can share it as many times as you want on social media, in emails, or on your website.
https://stripe.com/docs/payments/payment-links#:~:text=use Payment Links and share the link as many times as you want on social media%2C in emails%2C or on your website.

How can I make one-time-only links that are being disabled after payment?
You need to use Stripe Checkout Sessions which support the tax rates as you mentioned in your first message
https://stripe.com/docs/payments/accept-a-payment

indigo condor
#

What I wanted to achieve is a kind of asynchronous personalized payment.

Like, the admin creates the booking for you and send you a link to pay for it, and whenever you paid using the link, the booking will get the "paid" checkmark. Is there anyway to do just that using stripe?

broken crag
#

Yes Using Stripe Checkout Session:

and send you a link to pay for it
You send your customer the Checkout Session Link and let them pay.
In order, to track your customer payments, you need to setup webhook. You can follow this guide for this:
https://stripe.com/docs/payments/checkout/fulfill-orders

indigo condor
#

You are so right! Thank you! I feel so dumb now, I forgot I can just share the checkout session link, jeez.
THANK YOU

kindred quiver
#

Hey, taking over here. Let me know if there's any follow-up Qs I can answer!