#Abhishek

1 messages · Page 1 of 1 (latest)

lofty jungle
#

Hi Abhishek, what can I help you with?

analog jacinth
#

Hi Jack, I want to know the format for passing expires_at value in checkout session. I am passing like 60(means 60sec), but I'm getting error "Invalid timestamp: must be an integer Unix timestamp in the future"

lofty jungle
#

HI @analog jacinth the expires_at param expects a unix epoch timestamp, something like 1641792925

#

For instance, if you want to set the checkout to be expired by 12:00am 11 Jan UTC, you can set expires_at to 1641859200

analog jacinth
#

How will I get this value in python means is there any algorithm to get this value?

lofty jungle
analog jacinth
#

ok