Skip to main content
cartridge-stripe
================

Stripe_ credit card processing integration with Cartridge_.

.. _Cartridge: htps://cartridge.jupo.org
.. _Stripe: https://stripe.com/docs

==========
Install
==========

Follow the installation instructions of django-zebra_.

.. _django-zebra: https://github.com/GoodCloud/django-zebra#installation

::

pip install cartridge-stripe

Update the settings.py to use your shiney new app.
Add it to 'INSTALLED_APPS' above 'cartridge.shop' to override the checkout template
or copy it to the templates dir in your project.

::

INSTALLED_APPS = (
# ...
'cartridge_stripe',
'cartridge.shop',
# More stuff...
'zebra',
)


SHOP_HANDLER_PAYMENT = 'cartridge_stripe.payment_handler'
SHOP_CHECKOUT_FORM_CLASS = 'cartridge_stripe.forms.OrderForm'

ZEBRA_ENABLE_APP = True


=======
Style
=======

Add some sort of style for 'div.payment-errors' which will display validation
errors from stripe.

::

div.payment-errors {
color: #F00;
}


=====
Done!
=====

Now your checkout flow should have card validation and the Stripe order number
linked to the purchase.

=====
Feedback
=====

I'm open to bugs and pull requests. Just run pep8 first.
Follow me and say hi! https://twitter.com/readevalprint

Metadata

Release files for cartridge-stripe 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cartridge-stripe 0.1.3
File Size Uploaded Provenance
cartridge-stripe-0.1.3.tar.gz 6.1 kB Without provenance Details

Release files / cartridge-stripe-0.1.3.tar.gz

Download URL cartridge-stripe-0.1.3.tar.gz
Size 6.1 kB
Tags Source
SHA-256 checksum
How to use checksums
0a0f60789cb3bc33a1fae741f0dd024433c4f27b06a40861ae28aa53686db58c
BLAKE2b-256 checksum
How to use checksums
c07e1e7e4d599d5da0d0999e33ffd0f5347e339d1ce73e7aa52ac74bdc0e05d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for cartridge-stripe 0.1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page