{"repo":"stripe-samples/link","free":true,"listed":false,"github":"https://github.com/stripe-samples/link","clone":"git clone https://github.com/stripe-samples/link.git","description":"Demo for accepting payments with Link","language":"TypeScript","stars":23,"topics":["payments","stripe","stripe-elements"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"Checkout faster with Link A sample project that uses the following elements to build a checkout form: - 🔐 Link Authentication Element - 📦 Shipping Address Element - 💳 Payment Element The implementations are intentionally kept simple to highlight how to use Stripe Elements to quickly build a checkout form. For both client and server implementations, we've provided a few options—pick one of each based on what you're most comfortable with and refer to the README files in their respective directories for setup instructions. Requirements - Node v10+ - Configured .env file Installation The recommended way to use this Stripe Sample is with the Stripe CLI: You can also clone the repository and follow the instructions in the next section. How to run 1. Set up your environment variables First, create a .env file by copying the example file: Then edit the .env file and add your Stripe API keys: Important: Replace the placeholder values with your actual Stripe API keys. You can find these in your Stripe Dashboard. 2. Pick an option for your server Go to the server directory and pick one of the following options: - Node/Express - Java — Java (Spark Java, Gradle) 3. Pick an option for your client Go to the client directory and pick one of the following options: - html — Simple HTML/JS implementation - react-cra — React (JavaScript, Create React App) - react-cra-typescript — React (TypeScript, Create React App) Pick whichever sample you feel most comfortable with. Each option has its own","default_branch":null,"files":null,"tree":[],"storefront":"/r/stripe-samples","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/stripe-samples/link/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}