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``.
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
Release history Release notifications | RSS feed
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)
File details
Details for the file djangoshop-stripe-0.1.1.tar.gz.
File metadata
- Download URL: djangoshop-stripe-0.1.1.tar.gz
- Upload date:
- Size: 20.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7593410f3910b20ffc4633f57ae2891ac065628f5dbd1f42adcb591db29d0f8b
|
|
| MD5 |
6bac55074f4c82d2f7d9bf37d5a63772
|
|
| BLAKE2b-256 |
5aec97e36318ed28591fa6372c5110bf8e19849f0209622683904da87258d210
|