|
|
3 mēneši atpakaļ | |
|---|---|---|
| .. | ||
| scripts | 4 mēneši atpakaļ | |
| src | 4 mēneši atpakaļ | |
| .env.example | 4 mēneši atpakaļ | |
| CHANGELOG.md | 3 mēneši atpakaļ | |
| README.md | 4 mēneši atpakaļ | |
| eslint.config.js | 4 mēneši atpakaļ | |
| jest.config.js | 4 mēneši atpakaļ | |
| package.json | 3 mēneši atpakaļ | |
| pnpm-lock.yaml | 4 mēneši atpakaļ | |
| stripe-app.template.json | 4 mēneši atpakaļ | |
| tsconfig.json | 4 mēneši atpakaļ | |
| ui-extensions.d.ts | 4 mēneši atpakaļ | |
A full-page Stripe App example using json-render. This uses the FullPageView component and the stripe.dashboard.fullpage viewport, which are part of Stripe's private developer preview.
app_id and account_id must be flagged in by Stripepnpm install
cp .env.example .env
# Set STRIPE_APP_ID to your app ID
pnpm setup
Start the API server first (from ../api):
cd ../api && pnpm dev
Then start the Stripe app:
stripe apps start
Navigate directly to your full-page app URL (it will not appear in the left navigation):
https://dashboard.stripe.com/test/app/<your-app-id>
If you are redirected to the Dashboard home page, the feature flag is not enabled for your account. Contact your Stripe partner to have both your app_id and account_id flagged in.