Skip to main content

Stripe Payment Provider Integration for django-shop

Project description

Stripe Payment Provider Integration for django-shop

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


for django-shop version 1.0.x:

pip install djangoshop-stripe<1.1


In 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:

    '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']

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

djangoshop-stripe-1.2.tar.gz (24.5 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page