PHPackages                             flux-se/payum-stripe-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Payment Processing](/categories/payments)
4. /
5. flux-se/payum-stripe-bundle

ActiveSymfony-bundle[Payment Processing](/categories/payments)

flux-se/payum-stripe-bundle
===========================

Payum Stripe gateways bundle

v3.0.1(2mo ago)20395.5k↓39.4%9[1 issues](https://github.com/Sylius/PayumStripeBundle/issues)2MITPHPCI failing

Since Mar 27Pushed 2mo ago2 watchersCompare

[ Source](https://github.com/Sylius/PayumStripeBundle)[ Packagist](https://packagist.org/packages/flux-se/payum-stripe-bundle)[ GitHub Sponsors](https://github.com/sylius)[ RSS](/packages/flux-se-payum-stripe-bundle/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (10)Dependencies (20)Versions (12)Used By (2)

[![Latest Version on Packagist](https://camo.githubusercontent.com/df94141319bb389bdb75e8094fad406133e9cd24898872967727b9156791847d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f464c55582d53452f706179756d2d7374726970652d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/flux-se/payum-stripe-bundle)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Build Status](https://github.com/FLUX-SE/PayumStripeBundle/workflows/Build/badge.svg)](https://github.com/FLUX-SE/PayumStripeBundle/actions?query=workflow%3A%22Build%22)[![Quality Score](https://camo.githubusercontent.com/55e2e1b5db26e95478eb8dca9c7cb0368e05000bedd457a8560e7acaeeb80732/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f464c55582d53452f506179756d53747269706542756e646c652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/FLUX-SE/PayumStripeBundle)

Payum Stripe checkout session gateway bundle
--------------------------------------------

[](#payum-stripe-checkout-session-gateway-bundle)

This bundle is design to add a new gateway to Payum to support Stripe checkout session and Stripe JS gateways over symfony bundle

See  for more information.

Installation
------------

[](#installation)

Install using Composer :

```
composer require flux-se/payum-stripe-bundle
```

Choose one of [php-http/client-implementation](https://packagist.org/providers/php-http/client-implementation), the most used is [php-http/guzzle6-adapter](https://packagist.org/packages/php-http/guzzle6-adapter)

```
composer require  php-http/guzzle6-adapter
```

Configuration
-------------

[](#configuration)

### API keys

[](#api-keys)

Get your `publishable_key` and your `secret_key` on your Stripe account :

### Webhook key

[](#webhook-key)

Then get a `webhook_secret_key` configured with at least two events :

- `payment_intent.canceled`
- `checkout.session.completed`

The URL to fill is the route named `payum_notify_do_unsafe`, here is an example :

```
https://localhost/payment/notify/unsafe/stripe_checkout_session

```

### Test or dev environment

[](#test-or-dev-environment)

Webhooks are triggered by Stripe on their server to your server. If the server is into a private network, Stripe won't be allowed to reach your server.

Stripe provide an alternate way to catch those webhook events, you can use `Stripe cli` : Follow the link and install `Stripe cli`, then use those command line to get your webhook key :

First login to your Stripe account (needed every 90 days) :

```
stripe login
```

Then start to listen for the 2 required events, forwarding request to you local server :

```
stripe listen \
    --events checkout.session.completed,payment_intent.canceled \
    --forward-to https://localhost/payment/notify/unsafe/stripe_checkout_session
```

> Replace the --forward-to argument value with the right one you need.

### Payum

[](#payum)

```
# config/packages/payum.yaml

payum:
  gateways:
    stripe_checkout_session:
      factory: stripe_checkout_session
      publishable_key: sk_test_secretkey
      secret_key: pk_test_publishablekey
      webhook_secret_keys:
        - whsec_test_webhookkey
    stripe_js:
      factory: stripe_js
      publishable_key: sk_test_secretkey
      secret_key: pk_test_publishablekey
      webhook_secret_keys:
        - whsec_test_webhookkey
```

To set payment-methods you can add `payment_method_types` to the gateway-config. This array can contain multiple gateways you want to support. For a full list see [here](https://stripe.com/docs/api/payment_methods/object). By default the payment\_method\_types is \['card'\].

Usage
-----

[](#usage)

See documentation here :

More
----

[](#more)

The Sylius plugin:

Authors
-------

[](#authors)

This bundle was originally created by:

[![Harman Professional, Inc.](docs/assets/harman-logo.svg)](https://harman.com) [![Flux:: Sound and Picture Development](docs/assets/flux-logo.svg)](https://flux.audio)

Kudos to [Prometee](https://github.com/Prometee) and [all contributors](../../contributors) 🙏

License
-------

[](#license)

This bundle is released under the [MIT License](LICENSE).

###  Health Score

57

—

FairBetter than 98% of packages

Maintenance83

Actively maintained with recent releases

Popularity46

Moderate usage in the ecosystem

Community22

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 89.8% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~245 days

Recently: every ~459 days

Total

10

Last Release

82d ago

Major Versions

v1.2.1 → v2.0.0-RC.12021-04-02

v2.0.1 → v3.0.02025-01-09

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/719423?v=4)[Sylius eCommerce](/maintainers/sylius)[@Sylius](https://github.com/Sylius)

![](https://www.gravatar.com/avatar/4b4a5a1a9293502aa8573551fab020963a9050c5cca4524433b6d94214d3b480?d=identicon)[GSadee](/maintainers/GSadee)

---

Top Contributors

[![Prometee](https://avatars.githubusercontent.com/u/861820?v=4)](https://github.com/Prometee "Prometee (53 commits)")[![GSadee](https://avatars.githubusercontent.com/u/6140884?v=4)](https://github.com/GSadee "GSadee (4 commits)")[![YellowPhoenix18](https://avatars.githubusercontent.com/u/9165159?v=4)](https://github.com/YellowPhoenix18 "YellowPhoenix18 (2 commits)")

###  Code Quality

TestsPHPUnit

Code StyleECS

### Embed Badge

![Health badge](/badges/flux-se-payum-stripe-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/flux-se-payum-stripe-bundle/health.svg)](https://phpackages.com/packages/flux-se-payum-stripe-bundle)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
