メインコンテンツにジャンプ
@capgo/capacitor-stripe-terminal コマース オープンソース

ストライプ・テレミナル Capacitor plugin

Capacitor plugin for Stripe Terminal in-person payments.

インストール

bun add @capgo/capacitor-stripe-terminal bunx cap sync
npm, pnpm または yarn
  • npm install @capgo/capacitor-stripe-terminal
  • pnpm add @capgo/capacitor-stripe-terminal
  • yarn add @capgo/capacitor-stripe-terminal

ガイド

CapacitorでStripe Terminalを使用する方法

@capgo/capacitor-stripe-terminalを使用する方法

CapacitorのためのStripe Terminalの現場決済プラグイン

なぜCapgo?

Capgoは公式の__CAPGO_KEEP_1__のフォークを維持しています。 @capacitor-community/stripe. __CAPGO_KEEP_0__のアップストリーム問題とプルリクエストを監視し、関連する修正をマージし、現在のStripe SDKと例のアプリケーション、ドキュメントとともにアップデートを配信します。

現在、コミュニティパッケージを使用している場合、CapgoのStripeプラグインは、バグやプラットフォームの変更に対するターンアラウンドが速いメンテナンスされたパスです。

インストール

bun add @capgo/capacitor-stripe-terminal
bunx cap sync

このプラグインが公開するもの

  • initialize - 接続トークンプロバイダー エンドポイントでターミナルを初期化します。
  • discoverReaders - タップトゥペイ、Bluetooth、またはインターネットリーダーを検出します。
  • cancelDiscoverReaders - まだ進行中のリーダー検出セッションをキャンセルします。
  • connectReader - 検出されたリーダーに接続します。

フルリファレンス

FAQ

Stripe Terminal プラグインの FAQ

Stripe Terminal プラグインを Capacitor アプリにインストールするにはどうすればいいですか?

「bun add @capgo/capacitor-stripe-terminal」 (または「npm install @capgo/capacitor-stripe-terminal」) を実行し、次に「bunx cap sync」を実行して iOS と Android のプロジェクトがネイティブ code を取得できるようにします。次に、次のコードを使用して capgo/capacitor-stripe-terminal をインポートします。 import { StripeTerminal } from '@capgo/capacitor-stripe-terminal'; code

Does @capgo/capacitor-stripe-terminal work with React, Vue and Angular?

Yes. Stripe Terminal is a Capacitor package, so it works with any web framework that runs inside Capacitor, including Ionic, React, Vue, Angular, Svelte and plain JavaScript.

どの Capacitor バージョンが @capgo/capacitor-stripe-terminal をサポートしますか?

Capgo plugins follow Capacitor's major version: use the plugin major version that matches your Capacitor major version (for example plugin v8 with Capacitor 8). The compatibility table in the GitHub README lists the maintained versions.

@capgo/capacitor-stripe-terminal は無料でオープンソースですか?

Yes. The source code is public on GitHub at https://github.com/Cap-go/capacitor-stripe-terminal/ and the package is free to install from npm. Bug reports and pull requests are welcome.

Can I update code that uses Stripe Terminal without an App Store review?

Installing or upgrading the plugin changes native code, so it needs a new store build. After that, JavaScript, HTML and CSS changes that call the plugin can ship instantly with Capgo live updates.

アプリレビューの待たずにStripe Terminalの変更を配信する

Once the plugin is in your store build, Capgo live updates push your JavaScript, HTML and CSS changes to users in minutes.

Start with Capgo