#alice-sinay_webhooks

1 messages ยท Page 1 of 1 (latest)

scenic pelicanBOT
#

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

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

acoustic yacht
#

hi there!

#

how do you accept payments? Chekcout Session, Payment Element, something else?

last wyvern
#

in our enterprise, paiment link and checkout session
for my specific use case, every paiment will be via checkout session

acoustic yacht
#

so the Checkout Session has both a one time price and a recurring price?

#

if so, you should listen to checkout.session.completed to get all the Price the user bought on the Checkout Session

last wyvern
#

no. the checkout session has either one or the other

acoustic yacht
#

got it. still, you should listen to checkout.session.completed

last wyvern
#

will it trigger only when the paiment is sucessful ?

acoustic yacht
#

this event will fire in all case (one time payment or starting a subscription)

#

correct

last wyvern
#

ok ! will try that, thanks ! ๐Ÿ™‚