Chris Tate 3201854481 external store adapter for state management (#139) hai 4 meses
..
scripts a66aef17f9 stripe updates (#121) hai 4 meses
src 3201854481 external store adapter for state management (#139) hai 4 meses
.env.example a66aef17f9 stripe updates (#121) hai 4 meses
README.md a66aef17f9 stripe updates (#121) hai 4 meses
eslint.config.js 3201854481 external store adapter for state management (#139) hai 4 meses
jest.config.js a66aef17f9 stripe updates (#121) hai 4 meses
package.json 3201854481 external store adapter for state management (#139) hai 4 meses
pnpm-lock.yaml a66aef17f9 stripe updates (#121) hai 4 meses
stripe-app.template.json a66aef17f9 stripe updates (#121) hai 4 meses
tsconfig.json a66aef17f9 stripe updates (#121) hai 4 meses
ui-extensions.d.ts a66aef17f9 stripe updates (#121) hai 4 meses

README.md

Full Page Stripe App (Alpha)

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.

Prerequisites

  • Stripe CLI with the apps plugin
  • A Stripe account with full-page apps alpha access enabled by Stripe
  • Both your app_id and account_id must be flagged in by Stripe

Setup

pnpm install

cp .env.example .env
# Set STRIPE_APP_ID to your app ID

pnpm setup

Running

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>

Troubleshooting

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.

Resources