flamarkt / payment-stripe
Stripe payment method.
Installs: 10
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Type:flarum-extension
Requires
- flamarkt/core: ^0.1.0
- flarum/core: ^1.0
- stripe/stripe-php: ^7.97
This package is auto-updated.
Last update: 2024-12-06 21:31:15 UTC
README
Stripe payment method.
This extension will receive some more radical changes in the future.
Currently, the money is captured prior to order creation, which can cause situations where money has been captured but no order has been created.
Card-only mode was created with the intent of having a custom 3DS confirmation modal, but that's in fact not really needed since Stripe.js has its own modal that works with the payment element.
Depending on the Stripe payment method, ordre creation might happen through normal API submission or through a redirect. When using a redirect, other extensions will not work (for instance, using balance payment together with Stripe).
Checkout mode is experimental, currently a single product is added with the amount corresponding to the order, but it's planned to make it work with the actual product list synced to Stripe.
There is still some CSRF protection missing at this time for the redirect-based solutions. Nothing too dangerous but an external website could mess up existing payment intents and prevent a checkout from completing successfully.
Payment mehtod is currently hard-coded to cards but all Stripe payment methods should work in the future.