Skip to main content

Stripe Payment Provider Integration for django-shop

Project description

# Stripe Payment Provider Integration for django-shop

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``.

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

Uploaded Source

File details

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

File metadata

File hashes

Hashes for djangoshop-stripe-0.1.1.tar.gz
Algorithm Hash digest
SHA256 7593410f3910b20ffc4633f57ae2891ac065628f5dbd1f42adcb591db29d0f8b
MD5 6bac55074f4c82d2f7d9bf37d5a63772
BLAKE2b-256 5aec97e36318ed28591fa6372c5110bf8e19849f0209622683904da87258d210

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