Camwhores.v: Repack
if (loading) return <p>Loading…</p>;
const buyAccess = async () => const data = await axios.post(`/api/purchases/$id`); window.location.href = data.checkoutUrl; ; camwhores.v
// Update purchase record await Purchase.update( stripe_charge_id: session.payment_intent , where: user_id: userId, stream_id: streamId, stripe_charge_id: null ); if (loading) return <