#scylla_checkout-dynamic-pricing-urls

1 messages · Page 1 of 1 (latest)

lethal nestBOT
#

👋 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/1346162759166984262

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

finite pulsar
#

Hi 👋

No, Payment Links are built on top of Price records and require Price IDs in order to create them, as you can see in our API reference

#

However, you can accomplish something similar by creating Checkout Sessions in your .NET integration and emailing your customers the checkout.url

somber anchor
#

I was under the impression that checkout sessions can only last 24 hours at most

finite pulsar
#

Ah yes, that is true.

#

You are expecting to send out emails and not have your customers respond to them for over 24 hours?

somber anchor
#

potentially

#

payment due dates could be 30 days away in some cases

finite pulsar
#

Okay. And I'm guessing you wouldn't want to send the customer a URL that sends them to your site only to be redirected to a Checkout Session you create dynamically. That would invovle more logic in your integration to identify the customer and generate the correct Checkout Session.

somber anchor
#

Hmm that may work

#

Unless you’re implying there’s a better alternative

finite pulsar
#

If you
A) Want to use Checkout Sessions with the line_item.price_data parameter to dynamically set price and description
and
B) You want to send links to your customers that would allow them to make payments for up to 30 days after the email is sent

Then I think including a link to your integration in the email that, when visited, would trigger the creation of the Checkout Session and the redirecting of the customer is likely the best approach.

somber anchor
#

Okay, I’ll mess around with that. Thank you!

finite pulsar
#

Happy to help 🙂