Skip to content

Commit

Permalink
Update README and main.jsx for better compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
THORSTEN SCHMINKEL committed Feb 12, 2024
1 parent b693989 commit 5f1c825
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
- [X] Show Disclamer at start that this is a demo shop only
- [X] Write a list of all Third Party Libraries used in this project
- [ ] Deployment on Vercel
- [ ] Update GithubActions from Node v16 to v20

## Third Party Libraries

Expand Down
6 changes: 3 additions & 3 deletions src/main.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ ReactDOM.createRoot(document.getElementById('root')).render(
<CartProvider
mode="payment"
cartMode="client-only"
stripe={process.env.VITE_STRIPE_PUBLIC_KEY}
successUrl={process.env.VITE_STRIPE_SUCCESS_URL}
cancelUrl={process.env.VITE_STRIPE_CANCEL_URL}
stripe={process.env.VITE_STRIPE_PUBLIC_KEY.toString()}
successUrl={process.env.VITE_STRIPE_SUCCESS_URL.toString()}
cancelUrl={process.env.VITE_STRIPE_CANCEL_URL.toString()}
currency="EUR"
allowedCountries={['US', 'GB', 'DE']}
billingAddressCollection={true}
Expand Down

0 comments on commit 5f1c825

Please sign in to comment.