Coder Social home page Coder Social logo

jorrandewit / django-oscar-mollie Goto Github PK

View Code? Open in Web Editor NEW
6.0 3.0 8.0 23 KB

Mollie Payment client for Django Oscar http://www.mollie.com

License: BSD 2-Clause "Simplified" License

Python 47.33% HTML 52.67%
mollie django django-oscar ideal ecommerce

django-oscar-mollie's Introduction

Mollie Oscar

Mollie API client for Django Oscar

Payment gateway integration between Mollie API client and Django Oscar.

PyPI version

Installation

The easiest way to install is with pip.

$ pip install django-oscar-mollie

Getting Started

You need to set your Mollie API Key to connect to Mollie.

# settings.py
MOLLIE_API_KEY = 'secret-key-123'

Also, you need to define a mapping from the four possible Mollie responses to your Oscar order statuses.

# settings.py
MOLLIE_STATUS_MAPPING = {
    'Paid': ORDER_STATUS_PAID,
    'Pending': 'Pending Payment',
    'Open': 'Pending Payment',
    'Cancelled': 'Cancelled'
}

You need to make sure your webhook URI is accessible. To do so, include the following into your root URLs conf (you are free to choose whatever regex you may like):

url(r'^mollie/', include('mollie_oscar.urls', namespace='mollie_oscar')),

HTTPS

If your site runs on HTTPS, turn this on by enabling the following setting:

OSCAR_MOLLIE_HTTPS = True

Examples

Please visit the sandbox to see how to integrate Mollie into your Oscar application.

Under Construction

The following needs to be added to this application.

  • Support Refunding payments

License

BSD (Berkeley Software Distribution) License. Copyright (c) 2017, Jorran de Wit.

django-oscar-mollie's People

Contributors

jorrandewit avatar khink avatar thijskramer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

django-oscar-mollie's Issues

Installed App Name Error

I was trying to use django-oscar-mollie in my project.I followed the same steps that are given in description.But I got this error

raise ImproperlyConfigured(
django.core.exceptions.ImproperlyConfigured: Specifying a namespace in include() without providing an app_name is not supported. Set the app_name attribute in the included module, or pass a 2-tuple containing the list of patterns and app_name instead.

May be it's because of not providing the correct installed app name in settings.py , if that's the case can you please provide the correct installed app name for the same.

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.