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

## Changes

### 0.1.4
Fixed Python3 compatibility issue.

### 0.1.3
In django-angular the naming scheme changed. Reflect these 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.4.tar.gz (21.0 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for djangoshop-stripe-0.1.4.tar.gz
Algorithm Hash digest
SHA256 11a6f6d67c996a71c0f1375a3bacb8756244aa3de3a5fadfe1830b3a31091b68
MD5 1356f32c6c63107f5e405919608420b7
BLAKE2b-256 0fa9de10188432e46a3c5fde4ddc0ef85ac57992baffbfa9baef1bb257fdb3bd

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