Pinax-stripe

Latest version: v4.4.0

Safety actively analyzes 619212 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

4.4.0

* Pin `python-stripe` to `>2.0` after the merge of [PR 574](https://github.com/pinax/pinax-stripe/pull/574) which fixed compatibility. [PR 581](https://github.com/pinax/pinax-stripe/pull/581)

4.3.1

* Pin `python-stripe` to `<2.0` as that major release broke things in `pinax-stripe` [PR 580](https://github.com/pinax/pinax-stripe/pull/580)

4.0.0

![](http://pinaxproject.com/pinax-design/patches/pinax-stripe.svg)

We had **485 commits** since the last release from **13 different contributors** closing **131 issues and pull requests**!

You can check out the [Samwise Milestone](https://github.com/pinax/pinax-stripe/milestone/10) for more details but here is a summary:

The highlight of this release is [Stripe Connect](https://stripe.com/connect) support which enables site builders to create multi-sided marketplaces. In addition to Connect support:

* [plan webhooks are now handled](https://github.com/pinax/pinax-stripe/pull/345)
* [added direct charge support](https://github.com/pinax/pinax-stripe/pull/399)


Additional Enhancements

* [cache the stripe customer property](https://github.com/pinax/pinax-stripe/pull/353)
* [upgraded middleware for Django 1.10+ compatibility](https://github.com/pinax/pinax-stripe/pull/349)
* [dropped `print` for `sys.stdout`](https://github.com/pinax/pinax-stripe/pull/354)
* [improved the](https://github.com/pinax/pinax-stripe/pull/357) [handling of deleted customers](https://github.com/pinax/pinax-stripe/pull/358)
* [removed redundant transactions](https://github.com/pinax/pinax-stripe/pull/341)
* [made the CustomerUpdatedWebhook more efficient](https://github.com/pinax/pinax-stripe/pull/371)
* [factored out STATUS_CURRENT](https://github.com/pinax/pinax-stripe/pull/394)
* [replaced next(iter()) with first() calls on querysets](https://github.com/pinax/pinax-stripe/pull/398)
* [all models now have `__repr__` methods](https://github.com/pinax/pinax-stripe/pull/382) making debugging easier
* [improved / DRY'd up sync_plans](https://github.com/pinax/pinax-stripe/pull/429)
* [improved performance of Django admin with prefetch](https://github.com/pinax/pinax-stripe/pull/366)
* [improved how subscriptions.create works](https://github.com/pinax/pinax-stripe/pull/392)
* [made the JSONFields which are nullable also blankable](https://github.com/pinax/pinax-stripe/pull/412)
* [add display_name to Django admin for Account](https://github.com/pinax/pinax-stripe/pull/498)
* [enable charges.create to retry safely](https://github.com/pinax/pinax-stripe/pull/494)
* [improve how webhooks process](https://github.com/pinax/pinax-stripe/pull/488)
* [enable subscriptions via Stripe Connect](https://github.com/pinax/pinax-stripe/pull/475)

Bug Fixes

* [last 4 digits card in email receipt](https://github.com/pinax/pinax-stripe/pull/346) shown again
* [fixed plan not storing correctly when syncing invoice data](https://github.com/pinax/pinax-stripe/pull/335)
* fix [transfers that are manually created in Stripe to be synced](https://github.com/pinax/pinax-stripe/pull/352)
* [removed duplicate quantity fields](https://github.com/pinax/pinax-stripe/pull/351)
* [update length of stripe id column to work with mysql](https://github.com/pinax/pinax-stripe/pull/350)
* [fixed bug involving some plans having trials and others not having trials](https://github.com/pinax/pinax-stripe/pull/369)
* [fix makemigrations script](https://github.com/pinax/pinax-stripe/pull/395)
* [fixed the CustomerDeletedWebhook](https://github.com/pinax/pinax-stripe/pull/423)
* [fixed bug with send_receipt when backend returns None](https://github.com/pinax/pinax-stripe/pull/390)
* [fixed admin so that it handles customers without users](https://github.com/pinax/pinax-stripe/pull/417)

Engineering

Developers of [pinax-stripe](https://github.com/pinax/pinax-stripe/) pushed Pinax engineering forward this month by setting new standards for our quality engineering as well as tweaks to some of our coding style.

There are a lot of PRs and Issues around this so I won't link them. Here is the TL;DR:

* Switched to CircleCI from TravisCI
* Switched to CodeCov from Coveralls
* Added pytest support
* Added linting for double-quotes (the Pinax standard)
* Added linting for import ordering using `isort`
* Added checks for missing migrations as part of the linting
* Dropped support for Django 1.7
* Updated how test settings are structured
* Added testing against postgres


Many Thanks!

As previously stated we had 13 contributors this release and it simply would not have happened without them. I especially want to thank **Daniel Hahler**, **Luke Burden**, and **Nicolas Delaby**, for their relentless support in getting the Stripe Connect support implemented.

Contributors

* [Daniel Hahler](http://github.com/blueyed)
* [Patrick Altman](http://github.com/paltman)
* [Luke Burden](http://github.com/lukeburden)
* [Greg Newman](http://github.com/gregnewman)
* [Nicolas Delaby](http://github.com/ticosax)
* [Graham Ullrich](http://github.com/grahamu)
* [Alex Hubers](http://github.com/ahubers)
* [Dalton McMullen](http://github.com/dmcmulle)
* [Tom Hacohen](http://github.com/tasn)
* [sprocket](http://github.com/spr0cketeer)
* [Paul Bormans](http://github.com/Paul424)
* [Ryan Verner](http://github.com/xfxf)
* [Martín Volpe](http://github.com/martinvol)
* [sreyemnayr](http://github.com/sreyemnayr)

3.4.1

3.4.0

This release is long overdue. It includes coupon support, improved admin,
fixing some bugs and deprecation warnings, support for taxes on subscriptions
and handling unicode in customers names.

* [PR 259](https://github.com/pinax/pinax-stripe/pull/259) ([Vadim](https://github.com/bessiash)) - country is blankable now for `Card` objects
* [PR 292](https://github.com/pinax/pinax-stripe/pull/292) ([Russell Keith-Magee](https://github.com/freakboy3742)) - handle unicode characters in customer names
* [PR 299](https://github.com/pinax/pinax-stripe/pull/299) ([Russell Keith-Magee](https://github.com/freakboy3742)) - add template tag for stripe public key
* [PR 302](https://github.com/pinax/pinax-stripe/pull/302) ([Ryan Verner](https://github.com/xfxf)) - tax support to subscriptions
* [PR 304](https://github.com/pinax/pinax-stripe/pull/304) ([Russell Keith-Magee](https://github.com/freakboy3742)) - enable charge immediately option on subscription update
* [PR 303](https://github.com/pinax/pinax-stripe/pull/303) ([Russell Keith-Magee](https://github.com/freakboy3742)) - coupon support
* [PR 305](https://github.com/pinax/pinax-stripe/pull/305) ([Russell Keith-Magee](https://github.com/freakboy3742)) - protect against duplicate customer creation
* [PR 307](https://github.com/pinax/pinax-stripe/pull/307) ([Adam Duren](https://github.com/adamduren)) - do not require customer to create a charge
* [PR 313](https://github.com/pinax/pinax-stripe/pull/313) ([Ian R-P](https://github.com/iarp)) - update to handle change in exception message from stripe for customer not found
* [PR 316](https://github.com/pinax/pinax-stripe/pull/316) ([Charlie Denton](https://github.com/meshy)) - doc updates
* [PR 317](https://github.com/pinax/pinax-stripe/pull/317) ([Charlie Denton](https://github.com/meshy)) - fixes failed charge webhook processing
* [PR 319](https://github.com/pinax/pinax-stripe/pull/319) ([Charlie Denton](https://github.com/meshy)) - allow customers to be created with qty > 1 of a subscription plan
* [PR 323](https://github.com/pinax/pinax-stripe/pull/323) ([Charlie Denton](https://github.com/meshy)) - fix packaging to prevent jsonfield 2+ from installing
* [PR 324](https://github.com/pinax/pinax-stripe/pull/324) ([Charlie Denton](https://github.com/meshy)) - gracefully handle invoice creation failure
* [PR 295](https://github.com/pinax/pinax-stripe/pull/295), [PR 291](https://github.com/pinax/pinax-stripe/pull/291), [PR 288](https://github.com/pinax/pinax-stripe/pull/288), [PR 286](https://github.com/pinax/pinax-stripe/pull/286) ([Mariusz Felisiak](https://github.com/felixxm)) - fixed deprecation warnings

3.3.0

This release saw contributions from 6 people!
- [PR 280](https://github.com/pinax/pinax-stripe/pull/280) ([Dan Olsen](https://github.com/danolsen)) - sync subscription on cancel
- [PR 272](https://github.com/pinax/pinax-stripe/pull/272) ([Tobin Brown](https://github.com/Brobin)) - fix admin filtering for customer admin
- [PR 252](https://github.com/pinax/pinax-stripe/pull/252) ([Chris Streeter](https://github.com/streeter)) - ignore customers who might be test customers
- [PR 283](https://github.com/pinax/pinax-stripe/pull/283) ([Nikolai Konovalov](https://github.com/berdoc)) - fix error raised when `USE_TZ=False`
- [PR 247](https://github.com/pinax/pinax-stripe/pull/247) ([Oli Bates](https://github.com/obates)) - add plan metadata
- [Issue 284](https://github.com/pinax/pinax-stripe/issues/284) ([Patrick Altman](https://github.com/paltman)) - sync subscription data immediately upon subscribe

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.