PHPackages                             portrino/codeception-stripe-module - 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. portrino/codeception-stripe-module

AbandonedArchivedLibrary[Payment Processing](/categories/payments)

portrino/codeception-stripe-module
==================================

Codeception Module for Stripe API.

42.9k1PHP

Since Jun 28Pushed 3y ago5 watchersCompare

[ Source](https://github.com/portrino/codeception-stripe-module)[ Packagist](https://packagist.org/packages/portrino/codeception-stripe-module)[ RSS](/packages/portrino-codeception-stripe-module/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Codeception Stripe Module
=========================

[](#codeception-stripe-module)

[![Latest Stable Version](https://camo.githubusercontent.com/90f922a086180641655aa93fc788c2289b7749386ca0a37269017449f48ab044/68747470733a2f2f706f7365722e707567782e6f72672f706f727472696e6f2f636f646563657074696f6e2d7374726970652d6d6f64756c652f762f737461626c65)](https://packagist.org/packages/portrino/codeception-stripe-module)[![Total Downloads](https://camo.githubusercontent.com/7c9d39c8348f975ee3b5ecf20ec9d6a2cf8d493a3d2a9057626165d73ef51d4f/68747470733a2f2f706f7365722e707567782e6f72672f706f727472696e6f2f636f646563657074696f6e2d7374726970652d6d6f64756c652f646f776e6c6f616473)](https://packagist.org/packages/portrino/codeception-stripe-module)

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

[](#installation)

You need to add the repository into your composer.json file

```
composer require --dev portrino/codeception-stripe-module
```

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

[](#configuration)

```
modules:
    enabled:
        - Stripe:
            api_key: 'sk_test_IGvdODXxy1xXFviyAjWMiK12'
            api_version: '2017-08-15'
            connected_accounts:
                account_1:
                    api_key: 'sk_test_IGvdODXxy1xXFviyAjWMiK34'
                account_2:
                    api_key: 'sk_test_IGvdODXxy1xXFviyAjWMiK56'
```

Update codeception build

```
codecept build
```

### Methods

[](#methods)

#### amOnConnectedAccount

[](#amonconnectedaccount)

```
  $I->amOnConnectedAccount($accountName);
```

Switch to an account which is defined in the config under `connected_accounts`. All further API request will go through this account.

#### amOnDefaultAccount

[](#amondefaultaccount)

```
  $I->amOnDefaultAccount();
```

Switch (back) to default account. All further API request will go through this account.

#### haveStripeCustomer

[](#havestripecustomer)

```
  $I->haveStripeCustomer($params);
```

#### deleteStripeCustomer

[](#deletestripecustomer)

```
  $I->deleteStripeCustomer($params);
```

#### detachStripeSource

[](#detachstripesource)

```
  $I->detachStripeSource($params);
```

#### haveStripeToken

[](#havestripetoken)

```
  $I->haveStripeToken($params);
```

#### haveStripeSource

[](#havestripesource)

```
  $I->haveStripeSource($params);
```

#### addStripeSourceToStripeCustomer

[](#addstripesourcetostripecustomer)

```
  $I->addStripeSourceToStripeCustomer($customer, $source);
```

#### seeStripeCustomerWithId

[](#seestripecustomerwithid)

```
  $I->seeStripeCustomerWithId($customerId);
```

#### grabStripeCustomerWithId

[](#grabstripecustomerwithid)

```
  $customer = $I->grabStripeCustomerWithId($id);
```

#### seeStripeChargeWithId

[](#seestripechargewithid)

```
  $I->seeStripeChargeWithId($chargeId);
```

#### seeStripeTransferWithId

[](#seestripetransferwithid)

```
  $I->seeStripeTransferWithId($transferId);
```

Authors
-------

[](#authors)

[![](https://avatars0.githubusercontent.com/u/726519?s=40&v=4)](https://avatars0.githubusercontent.com/u/726519?s=40&v=4)

- **André Wuttig** - *Initial work* - [aWuttig](https://github.com/aWuttig)

See also the list of [contributors](https://github.com/portrino/codeception-stripe-module/graphs/contributors) who participated in this project.

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity25

Early-stage or recently created project

 Bus Factor1

Top contributor holds 77.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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/03867e1d2497d7cb7feb932fb301387e143503bfd17c584ef90347b3d7942cf1?d=identicon)[portrino-dev](/maintainers/portrino-dev)

---

Top Contributors

[![aWuttig](https://avatars.githubusercontent.com/u/726519?v=4)](https://github.com/aWuttig "aWuttig (7 commits)")[![nullsub](https://avatars.githubusercontent.com/u/328502?v=4)](https://github.com/nullsub "nullsub (1 commits)")[![tgriessbach](https://avatars.githubusercontent.com/u/11647324?v=4)](https://github.com/tgriessbach "tgriessbach (1 commits)")

---

Tags

codeceptionphpstripe

### Embed Badge

![Health badge](/badges/portrino-codeception-stripe-module/health.svg)

```
[![Health](https://phpackages.com/badges/portrino-codeception-stripe-module/health.svg)](https://phpackages.com/packages/portrino-codeception-stripe-module)
```

###  Alternatives

[omnipay/paypal

PayPal gateway for Omnipay payment processing library

3156.8M53](/packages/omnipay-paypal)[eduardokum/laravel-boleto

Biblioteca com boletos para o laravel

626351.9k2](/packages/eduardokum-laravel-boleto)[tbbc/money-bundle

This is a Symfony bundle that integrates moneyphp/money library (Fowler pattern): https://github.com/moneyphp/money.

1961.9M](/packages/tbbc-money-bundle)[2checkout/2checkout-php

2Checkout PHP Library

83740.3k2](/packages/2checkout-2checkout-php)[smhg/sepa-qr-data

Generate QR code data for SEPA payments

61717.2k5](/packages/smhg-sepa-qr-data)[omnipay/dummy

Dummy driver for the Omnipay payment processing library

271.2M33](/packages/omnipay-dummy)

PHPackages © 2026

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