Giter VIP home page Giter VIP logo

satchmo-anon-checkout's Introduction

Anonymous Checkout for Satchmo

Description

If you only want to collect enough information from your customer to start shipping products, then this project may be useful for you.

Only shipping information is collected; for billing and contact information, it is assumed that you will refer to your payment gateway of choice (see the FAQ for more).

Usage

  1. Activate our middleware:

    MIDDLEWARE_CLASSES = (
      ...
      'satchmo_anon_checkout.middleware.AnonymousCheckoutMiddleware',
      ...
    )
    

    We're not really choosy about where you put the middleware specification.

  2. Activate our signal listeners by importing listeners.py:

    # In your project's urls.py import satchmo_anon_checkout.listeners

    It's not advisble to do this in your settings.py, as it may lead to circular imports.

  3. Modify the template for step 1 of the checkout process; remove the contact form and the billing fields, the ship addressee.

    Leave the "copy address" field though; it will render as a <input type="hidden"> field. This way, Satchmo's JavaScript doesn't barf.

FAQ

How do I identify my customer?

Since the customer doesn't fill in personal information, it isn't immediately obvious how this is done. (A Contact object will still be created by satchmo, but it will contain dummy info.)

When your payment gateway processes an order, Satchmo updates the order's transaction ID. You can then use that to link an order to a customer.

Similarly, for billing information, you should refer to your payment gateway. The billing info stored in Satchmo is simply a copy of the shipping information entered at checkout-time.

satchmo-anon-checkout's People

Contributors

rctay avatar

Stargazers

Guillermo Echeverri Sarmiento avatar  avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.