PHPackages                             prometee/payum-stripe-checkout-session-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. prometee/payum-stripe-checkout-session-bundle

Abandoned → [flux-se/payum-stripe-bundle](/?search=flux-se%2Fpayum-stripe-bundle)Symfony-bundle[Payment Processing](/categories/payments)

prometee/payum-stripe-checkout-session-bundle
=============================================

Payum Stripe gateways bundle

v3.0.0(1y ago)204.2k8[1 PRs](https://github.com/FLUX-SE/PayumStripeBundle/pulls)MITPHPCI passing

Since Mar 27Pushed 3mo ago2 watchersCompare

[ Source](https://github.com/FLUX-SE/PayumStripeBundle)[ Packagist](https://packagist.org/packages/prometee/payum-stripe-checkout-session-bundle)[ RSS](/packages/prometee-payum-stripe-checkout-session-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (9)Dependencies (10)Versions (11)Used By (0)

[![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 :

###  Health Score

45

—

FairBetter than 92% of packages

Maintenance64

Regular maintenance activity

Popularity28

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 95.9% 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 ~218 days

Recently: every ~381 days

Total

9

Last Release

488d ago

Major Versions

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

v2.0.1 → v3.0.02025-01-09

### Community

Maintainers

![](https://www.gravatar.com/avatar/970e9207938e33441b0b7e3207c46b4df8ed7f020c77e40793812405ae8b0a3b?d=identicon)[Prometee](/maintainers/Prometee)

---

Top Contributors

[![Prometee](https://avatars.githubusercontent.com/u/861820?v=4)](https://github.com/Prometee "Prometee (47 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/prometee-payum-stripe-checkout-session-bundle/health.svg)

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

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[symfony/security-bundle

Provides a tight integration of the Security component into the Symfony full-stack framework

2.5k172.9M1.8k](/packages/symfony-security-bundle)[sonata-project/entity-audit-bundle

Audit for Doctrine Entities

644989.8k1](/packages/sonata-project-entity-audit-bundle)[paymentsuite/paymentsuite

PaymentSuite is an easy implementation for lot of Payment Methods for Symfony projects

2615.5k2](/packages/paymentsuite-paymentsuite)

PHPackages © 2026

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