#annabanana-session-expiry

1 messages ยท Page 1 of 1 (latest)

burnt island
#

Hey @covert laurel ๐Ÿ‘‹
give me a moment to look into this

covert laurel
#

oh coool! thank you. ok follow up question, what if we want to close the session once they enter a payment method so they can't reenter

#

I'm going to assume there's no option to stop a user from deleting their payment method and account because that's their rights/privacy rights

analog kindle
#

@covert laurel Can you elaborate on what youre trying to prevent here? A customer should only be able to use a Checkout session once, so wouldnt be able to enter new payment details unless you set up another session for them

#

What do you mean by deleting account in this context?

#

Reading again, it sounds like you might be talking about the customer portal for managing subscriptions, rather than Checkout. Do you have a particular example we can look at to keep things grounded?

covert laurel
covert laurel
analog kindle
#

The ID of the session object here would help, or a request ID from creating it

covert laurel
#

trying to see if i can get this session to expire by hours and once they enter a payment method

#

whichever comes first..

analog kindle
#

I don't believe the customer portal supports customized expiry like that, but it should be short-lived

#

are you doing these multiple changes in close succession?

covert laurel
#

no but the customer might try to

#

we just want to make sure we can close the customer portal session based on criteria to avoid too many changes esp with processes happening in the other system downstream