Skip to main content

Stripe Payment Provider Integration for django-shop

Project description

This integrates Stripe for django-shop version 0.3 and above.

Installation

In settings.py of your project

Add 'shop_stripe' to INSTALLED_APPS.

At https:://stripe.com/ 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 SHOP_CART_MODIFIERS.

Add 'shop_stripe.payment.OrderWorkflowMixin' to SHOP_ORDER_WORKFLOWS.

Changes

0.1.2

Adopted for asynchronous payments as available in django-shop-0.9.0rc2

0.1.1

Initial working release

Project details


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-0.1.2.tar.gz (20.9 kB view details)

Uploaded Source

File details

Details for the file djangoshop-stripe-0.1.2.tar.gz.

File metadata

File hashes

Hashes for djangoshop-stripe-0.1.2.tar.gz
Algorithm Hash digest
SHA256 81d5c582c8cd504adb603c022918021dc2a341127b40a3da93618003dd1e2773
MD5 2a058d9dfe3e612ae69198cc8c3cb7f5
BLAKE2b-256 f4592f2d935e3670d0f835e72e4f2178063fc24200c363c9eb8e7f83c531ad7f

See more details on using hashes here.

Supported by

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