#thekents_api

1 messages ยท Page 1 of 1 (latest)

azure dewBOT
#

๐Ÿ‘‹ 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/1310615110854905916

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

stray root
#

prefilled_promo_code exists for payment links but not for checkout

#

that is the exact functionality i need

twin briar
#

Yep, unfortunately that is not supported today

twin briar
#

That essentially prefills it and can be removed on the payment page

stray root
#

The discount isnt removable at that point. That isnt that big of a deal. It also removes checkout recovery if i use discounts param

#

let me try the promotion code thing, currently in the docs the example is with a coupon id itself

twin briar
#

Ah yeah you're right, my bad

#

I guess what you want isn't supported today โ€“ and it's valid feedback I agree

stray root
#

everytime....

twin briar
#

Checkout is pretty opinionated and at the same time can be restrictive โ€“ we do listen to feedback from users to shape product decisions. If you need control beyond that and what some might say is 'advanced' then you're better off rolling a different integration, like Elements

stray root
#

I started off with Elements, then the problem was that it was only payment events, missing out on after-payment invoices, discounts, tax calculation

#

Now the beta has been around for some time that wraps the elements in a checkoutprovider

twin briar