#Atish

1 messages · Page 1 of 1 (latest)

shy trailBOT
misty shell
#

Hello! What specifically do you need help with? The error message seems to say what's happening - you can't expire a CHeckout Session that's already expired

opal basalt
#

Whats the default expiring time of checkout session?

misty shell
#

By default it's 24 hours

opal basalt
#

So while expiring the checkout session, I need to check whether it's expired or not?

misty shell
#

Can you explain why you're manually expiring them?

#

Are you doing it as some batch job once a day?

opal basalt
#

When I need to change the price of that checkout session

#

I didn't find the way to update the price, so I am expiring the old one and creating the new one

misty shell
#

Gotcha - then yes you need to be checking if the CHeckout Session is expired or not before trying to expire it