Skip to main content

This package provides integration between django-oscar and Amazon Payments (Login and Pay with Amazon).

Project description

This package provides integration between django-oscar and Amazon Payments (Login and Pay with Amazon).

Tested with Python 2.7, Django 1.6 and django-oscar 0.7.3.


Follow the instructions on configuring your website for Login and Pay with Amazon under Note that the website setup requires the “Allowed JavaScript origin” to be a HTTPS URL, so you won’t be able to test Amazon Payments integration with a site run using the Django runserver command.

You will also need an Amazon MWS API key and secret key. These are used to interact with the Amazon MWS Off-Amazon Payments API to actually process the payments. See

Add ‘amazon_payments’ to your INSTALLED_APPS, and also add the following settings in your django settings:


Other settings:

Sandbox site

The sandbox site demonstrates how you can set up 2 different Amazon Payments checkout procedures:

  1. One-step checkout: User selects the shipping address and payment method in one step. Clicking the “Place order” button will immediately attempt to charge the user’s Amazon account and takes them to the confirmation / thank you page if successful. Assumes there is one shipping method.
  2. Multi-step checkout: The default oscar checkout process.

Automatic Payments


With the automatic payments feature, buyers can pre-authorize payments for future purchases. This enables you to charge a buyer’s Amazon Payments account on a regular basis for subscriptions and usage based billing without requiring the buyer to authorize a payment each time.

Automatic payments are disabled by default. To enable such payments, override the Basket model in your oscar project to add a “has_subscriptions” property that returns True where appropriate. This has been done in the sandbox site, so you will see the “Automatic payments” widget during checkout.

Project details

Release history Release notifications | RSS feed

This version


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-oscar-amazon-payments, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size django_oscar_amazon_payments-0.1-py2.7.egg (21.2 kB) File type Egg Python version 2.7 Upload date Hashes View
Filename, size django-oscar-amazon-payments-0.1.tar.gz (16.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page