#kasvith-ephemeral-key
1 messages · Page 1 of 1 (latest)
sure
Sorry for the wait, just had to confirm with a colleague. You shouldn’t be saving/reusing that ephemeral key - they’re meant to be short-lived
should i create an ep key when issuing a new payment intent?
or cache for short period?
@woeful wind
caching for like 1h maybe?
Caching for the life of the session is expected, so it might be worth making it variable based on events that the end-user initiates so that you don't have the edge-case where the end-user leaves the app open without completing their payment.