This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
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.

Setup

Follow the instructions on configuring your website for Login and Pay with Amazon under http://docs.developer.amazonservices.com/en_US/apa_guide/APAGuide_GettingStarted.html. 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 http://docs.developer.amazonservices.com/en_US/off_amazon_payments/OffAmazonPayments_Overview.html

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

  • AMAZON_PAYMENTS_ACCESS_KEY
  • AMAZON_PAYMENTS_SECRET_KEY
  • AMAZON_PAYMENTS_SELLER_ID
  • AMAZON_PAYMENTS_CLIENT_ID
  • AMAZON_PAYMENTS_CURRENCY

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

From http://docs.developer.amazonservices.com/en_US/pay_with_amazon_automatic_payments/APAGuide_Introduction.html:

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.

Release History

Release History

0.1

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django_oscar_amazon_payments-0.1-py2.7.egg (21.2 kB) Copy SHA256 Checksum SHA256 2.7 Egg Nov 17, 2016
django-oscar-amazon-payments-0.1.tar.gz (16.7 kB) Copy SHA256 Checksum SHA256 Source Apr 29, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting