Metadata-Version: 1.1
Name: django-oscar-amazon-payments
Version: 0.1
Summary: This package provides integration between django-oscar and Amazon Payments (Login and Pay with Amazon).
Home-page: https://github.com/simonkagwe/django-oscar-amazon-payments
Author: Simon Kagwi
Author-email: simonkagwe@yahoo.com
License: The MIT License (MIT)

Copyright (c) 2015 Simon Kagwi

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

Description: ===========================================
        An Amazon Payments package for django-oscar
        ===========================================
        
        This package provides integration between `django-oscar`_ and `Amazon Payments (Login and Pay with Amazon)`_.
        
        .. _django-oscar: https://github.com/django-oscar/django-oscar
        .. _`Amazon Payments (Login and Pay with Amazon)`: https://payments.amazon.com
        
        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
        https://payments.amazon.com/documentation/lpwa/201749840#201749930.
        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. For more information on how to register for Amazon MWS, see
        http://docs.developer.amazonservices.com/en_US/dev_guide/DG_Registering.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:
        
        * AMAZON_PAYMENTS_API_ENDPOINT: defaults to "https://mws.amazonservices.com/OffAmazonPayments_Sandbox/2013-01-01"
        * AMAZON_PAYMENTS_API_VERSION: defaults to "2013-01-01".
        * AMAZON_PAYMENTS_IS_LIVE: defaults to False. Set True to enable live payments.
        
        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.
        
        Recurring Payments
        ------------------
        From https://payments.amazon.com/documentation/automatic/201752090:
        
        *With the recurring 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.*
        
        Recurring 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 "Recurring payments" widget during checkout.
        
Keywords: Amazon Payments,Oscar,Django
Platform: linux
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: Unix
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Topic :: Other/Nonlisted Topic
