Not a bad idea. Paid JS libraries have been a mess. Sometimes you have to manually fetch from a password protected area, or add a specific registry or worse install a “key” at runtime. Perhaps a jwt token could be used instead of the Stripe Checkout Session ID to decouple the function from stripe.