Skip to main content

Stripe Payment Provider Integration for django-shop

This integrates the Stripe for django-shop version 1.0 and above.

Installation

for django-shop version 1.0.x:

pip install djangoshop-stripe<1.1

Configuration

In settings.py of the merchant's project:

Add 'shop_stripe' to INSTALLED_APPS.

At Stripe create an account and apply for a public/private key-pair. Then add these keys:

SHOP_STRIPE = {
    'PUBKEY': 'pk_<public-key-as-delivered-by-Stripe>',
    'APIKEY': 'sk_<api-key-as-delivered-by-Stripe>',
    'PURCHASE_DESCRIPTION': _("Thanks for purchasing at MyShop"),
}

Add 'shop_stripe.modifiers.StripePaymentModifier' to the list of SHOP_CART_MODIFIERS.

Add 'shop_stripe.payment.OrderWorkflowMixin' to the list of SHOP_ORDER_WORKFLOWS.

Add 'shop_stripe.context_processors.public_keys' to the list of template OPTIONS['context_processors']

Metadata

Release files for djangoshop-stripe 1.2

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

Source distribution (sdist)

Source distribution for djangoshop-stripe 1.2
File Size Uploaded
djangoshop-stripe-1.2.tar.gz 24.5 kB Details

Release files / djangoshop-stripe-1.2.tar.gz

Download URL djangoshop-stripe-1.2.tar.gz
Size 24.5 kB
Tags Source
SHA-256 checksum
How to use checksums
39b97842e6648c33a5b18cd613ecb4bfcfa562a5b1ccc0ef157d3205d0e8fc7e
BLAKE2b-256 checksum
How to use checksums
edd0201f9fc5aea167de01aae9a7ba029ce03327ce04c6b0d4ddc89271b716aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6

Release history Release notifications | RSS feed

This release

1.2 This release

1 release file

1.0

1 release file

0.12.3

1 release file

0.12.2

1 release file

0.12.1

1 release file

0.12

1 release file

0.11

1 release file

0.3.4

1 release file

0.3.3

1 release file

0.3.2

1 release file

0.3.1

1 release file

0.2.3

1 release file

0.2.2

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

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