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

Uploaded Source

File details

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

File metadata

File hashes

Hashes for djangoshop-stripe-0.1.3.tar.gz
Algorithm Hash digest
SHA256 4bf14690fdc432aea184e0dfc77abbaed4bd80f2b820badfd0d3c6f1da99ec77
MD5 fb2c63c7c1c97d49960804b0123b02ec
BLAKE2b-256 9c953074a2ed315f9e3a6dc7b2bc27ed3d3ff3e61da080d51e54a5e952e8e2f6

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