#yorel-link-payments
1 messages · Page 1 of 1 (latest)
Hello two-shoes, thank's !
So that default behavior seems correct. The quantity is set for how many the end-customer wants, but the link that gets generated is allowed to be used multiple times for multiple customers (e.g. if you have 20 t-shirts in stock and want to let 20 customers buy 1 t-shirt)
Okay I see thank's ! Because in fact my situation is that I sell articles written by writers, so these articles are unique, and not the same price.
So I need a link for each product.
If you want to disallow payment after the first time someone buys the product, you would have to deactivate the link
https://stripe.com/docs/payments/payment-links/api#deactivate-link
Ok so I have to modify the API directly if I understand correctly?
You can deactivate the payment link via the Dashbaord, but if you wanted a one-time-use payment link that only allowed for one use at a time, you'd have to integrate via the API and do some coding.
Ah damn.. I thought it would be a much simpler option... I don't know how to code so too bad I'll go back to my poor WooCommerce if I have no other solution..
Wish I had a better solution for you! Nonetheless, I hope you're able to get everything up and running the way you'd like it
Thank you very much for your feedback anyway!