Categories: None [Edit]
kiosk-pay-stripe
kiosk-pay-stripe is the open-source Stripe payment adapter for Kiosk. It
implements both halves of the provider-acquired, card-on-file model:
- Card acquisition. `setup_url(user_id:, return_url:)` returns a hosted Stripe
Checkout session in `mode: "setup"` that saves the buyer's card on the
PROVIDER's own Stripe account (an existing open setup session is
reused, so the url is stable across polls); `setup_required?` tells the
engine whether a principal still has to complete it, backed by
`saved_method?`, which asks Stripe whether the resolved Customer has a
usable card.
- Charging. This adapter's own `#capture` settles an AP2 cart
mandate as an `off_session` (merchant-initiated) PaymentIntent against
that saved card — the assistant authorizes the cart, it never presents
a card.
The gem stays app-agnostic: the principal-to-Stripe-Customer mapping is
injected by the host through `customer_resolver:` / `customer_saver:`
callables, and no application table is read inside the gem.
Today only kiosk-pay-stripe ships; there is no default PSP
(Configuration#payment_provider is nil). A host that needs another PSP
subclasses Kiosk::PaymentProviders::Base and assigns the instance to
Kiosk.configuration.payment_provider.
Total
Ranking: 194,452 of 199,228
Downloads: 653
Daily
Ranking: 87,414 of 199,184
Downloads: 4
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|
Depends on
| Rank | Downloads | Name |
|---|---|---|
| 37 | 876,949,277 | activerecord |
| 437 | 129,707,839 | stripe |
| 193,275 | 783 | kiosk-core |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | pirj |