astriaai / headshots-starter

https://headshots-starter.vercel.app
MIT License
3.8k stars 644 forks source link

Why are the Stripe pricing table keys used directly instead of being loaded from the `.env` file? #89

Open Yash-Patidar opened 10 months ago

Yash-Patidar commented 10 months ago

      <stripe-pricing-table 
        pricing-table-id="prctbl_1NtEZSCMCmxSLOnr1kGCuIRl" 
        publishable-key="pk_live_51MS6I1CMCmxSLOnrhl3L60fqOQGXesUyz67QnTKMXBsspDEjifIaldAdrPZ5rAfg6A0VCEdNCoLwzwfnfKpD48bO00pvYzF8yG" 
        client-reference-id={user.id}
        customer-email={user.email}
        >
      </stripe-pricing-table>````

   "components/stripe/StripeTable.tsx"
 In this file using stripe-pricing-table pricing-table-id and publishable-key are used directly, not from the .env file Why?