{"repo":"stripe/connect-js","free":true,"listed":false,"github":"https://github.com/stripe/connect-js","clone":"git clone https://github.com/stripe/connect-js.git","description":"Loading wrapper for Connect.js","language":"TypeScript","stars":36,"topics":["connectjs","stripe"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"Connect.js ES Module The Connect.js library and its supporting API allows you to add connected account dashboard functionality to your website. This NPM package contains initialization logic for Connect embedded components along with related types. Calling loadConnectAndInitialize always loads the latest version of Connect.js, regardless of which version of @stripe/connect-js you use. Updates for this package only impact tooling around the loadConnectAndInitialize helper itself and the TypeScript type definitions provided for Connect.js. Updates do not affect runtime availability of features of Connect.js. The embedded onboarding component is generally available now. Please refer to our documentation for more information. Note: Some Connect embedded components are in preview. These can be viewed on our doc site, where you can also request preview access. Installation Use npm to install the Connect.js module: Documentation - Connect embedded components - Quickstart guide Usage loadConnectAndInitialize This synchronous function takes in a publishable key, a function to retrieve the client secret returned from the Account Session API, and other initialization parameters. It returns a StripeConnectInstance . If necessary, it will load Connect.js for you by inserting the Connect.js script tag. We’ve placed a random API key in this example. Replace it with your actual publishable API keys to test this code through your Connect account. If you have deployed a Content Security Policy","default_branch":null,"files":null,"tree":[],"storefront":"/r/stripe","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/stripe/connect-js/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."}