#EightMegsAndConstantlySwapping.checkout-expiry

1 messages ยท Page 1 of 1 (latest)

raw rose
violet quartz
#

What I want to do is force a checkout session to expire prematurely to test an event handler.

raw rose
#

Hey there! Right now there's no way to manually expire a Checkout Session โ€“ they expire 24 hours after creation (if unused)

#

But you should contact support with your request ๐Ÿ˜‰

violet quartz
#

I'll try using Curl to generate a test request.

#

To my webhook endpoint.

raw rose
#

There's no API to expire them manually, yet

violet quartz
#

I was thinking more along the lines of generating my own expiration event and sending it to my webhook.

raw rose
#

Got it! I think there'll be something new on this that'll help you pretty soon