HS

hideokamoto/stripe-pwa-elements

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

5 stars 质量 66 趋势 27MIT

Framework-agnostic Stripe payment components built with Web Components. Works with any web framework — React, Vue, Angular, Svelte, or plain HTML.

概览

Framework-agnostic Stripe payment components built with Web Components. Works with any web framework — React, Vue, Angular, Svelte, or plain HTML. The current npm package is (this repo). The old package @stripe-elements/stripe-elements (v2.0.2) is deprecated and superseded — please use stripe-pwa-elements instead. Open the live demo in CodeSandbox (Stripe test mode, no setup or API keys needed) before installing anything. The demo covers: - — card number / expiry / CVC with a PaymentIntent confirm flow - — billing address form - — Apple Pay / Google Pay / Link (device-dependent) There is no demo yet. See examples/codesandbox for details. This library powers the Web implementation of @capacitor-community/stripe, which receives 4,000+ weekly downloads. If you use Capacitor for cross-platform apps, stripe-pwa-elements handles all Stripe UI on the web layer. Add a reciprocal link in the capacitor-community/stripe README pointing back to this package.

README

以下为原文 README 节选,完整内容请查看原文。

stripe-pwa-elements

Framework-agnostic Stripe payment components built with Web Components. Works with any web framework — React, Vue, Angular, Svelte, or plain HTML.

Note: The current npm package is stripe-pwa-elements (this repo). The old package @stripe-elements/stripe-elements (v2.0.2) is deprecated and superseded — please use stripe-pwa-elements instead.

Try it first

Open the live demo in CodeSandbox (Stripe test mode, no setup or API keys needed) before installing anything. The demo covers:

  • `` — card number / expiry / CVC with a PaymentIntent confirm flow
  • `` — billing address form
  • `` — Apple Pay / Google Pay / Link (device-dependent)

There is no `` demo yet. See examples/codesandbox for details.

Used in production

在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add hideokamoto/stripe-pwa-elements
新手?先看 mcpskill.org 教程 →