#jmwverse_best-practices
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1457841855474565161
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi there ๐ is it possible to know the amount before creating the Payment Link, that's going to be the smooth option here? There isn't a good flow to update the amount these hosted surfaces charge programmatically.
It's not possible to preserve the URL that is used from one Payment Link to the next.
Hey! Thanks for the response.
Sorry I should've been more clear! For the majority of cases, we calculate the price once when we create the link and send it to our customer. Everything is working fine in that flow. There is just an edge case where we have to recalculate the price and I was hoping for a way to update the original payment link with a new price.
It didn't seem possible in the way that we have it set up (creating ad-hoc products/prices upon payment link creation) and I was wondering if there's a suggested way to do this (e.g. create a product + price object for each payment link, update the price object when needed, etc.)
You can't build a flow to do this. The closest you can get is creating a new Payment Link to provide to your customer.
Gotcha. Thank you for looking into it, your insight here is much appreciated!