Skip to content

Commit

Permalink
Fixed some stuff for release
Browse files Browse the repository at this point in the history
  • Loading branch information
JostCrow committed Sep 9, 2022
1 parent 8ed6deb commit 6e60c02
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 34 deletions.
6 changes: 1 addition & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
# 2.0.1

- added missing static files

# 2.0.0
# 2.0.4

- Switched to Web Drop-in and Web Compoments instead of HPP pages

Expand Down
30 changes: 2 additions & 28 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,8 @@
# DjAdyen

[![PyPI version](https://badge.fury.io/py/djadyen.svg)](https://badge.fury.io/py/djadyen)
[![PyPI python versions](https://img.shields.io/pypi/pyversions/Django.svg)]([![PyPI](https://img.shields.io/pypi/v/nine.svg)[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fmaykinmedia%2Fdjadyen.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Fmaykinmedia%2Fdjadyen?ref=badge_shield)
](<[![PyPI](https://img.shields.io/pypi/dm/Django.svg)](https://pypi.python.org/pypi/djadyen/)>))
[![PyPI Licence](https://img.shields.io/pypi/l/Django.svg)](<[![PyPI](https://img.shields.io/pypi/pyversions/Django.svg)]([![PyPI](https://img.shields.io/pypi/v/nine.svg)]([![PyPI](https://img.shields.io/pypi/dm/Django.svg)](https://pypi.python.org/pypi/djadyen/)))>)

[![Build Status](https://travis-ci.org/maykinmedia/djadyen.svg?branch=master)](https://travis-ci.org/maykinmedia/djadyen)
[![codecov](https://codecov.io/gh/maykinmedia/djadyen/branch/master/graph/badge.svg)](https://codecov.io/gh/maykinmedia/djadyen)
[![Lintly](https://lintly.com/gh/maykinmedia/djadyen/badge.svg)](https://lintly.com/gh/maykinmedia/djadyen/)
[![Code Climate](https://codeclimate.com/github/codeclimate/codeclimate/badges/gpa.svg)](https://codeclimate.com/github/maykinmedia/djadyen)
[![Testing](https://github.com/maykinmedia/djadyen/actions/workflows/main.yml/badge.svg)](https://github.com/maykinmedia/djadyen/actions/workflows/main.yml)
[![Linting](https://github.com/maykinmedia/djadyen/actions/workflows/linting.yml/badge.svg)](https://github.com/maykinmedia/djadyen/actions/workflows/linting.yml)

This module is used to connect your django application to the payment provider Adyen using the ["Web Components"](https://docs.adyen.com/online-payments/web-components) and ["Web Drop-in"](https://docs.adyen.com/online-payments/web-drop-in)

Expand Down Expand Up @@ -152,26 +146,6 @@ class ConfirmationView(AdyenResponseView, TemplateView):
def handle_authorised(self):
self.order.status = Status.Authorised
return self.done()

def handle_pending(self):
self.order.status = Status.Pending
return self.done()

def handle_refused(self):
self.order.status = Status.Refused
return self.done()

def handle_error(self):
self.order.status = Status.Error
return self.done()

def handle_canceled(self):
self.order.status = Status.Cancel
return self.done()

def handle_default(self):
if self.psp_reference:
self.order.psp_reference = self.psp_reference
```

# Adyen notifications
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# see http://setuptools.readthedocs.io/en/latest/setuptools.html#configuring-setup-using-setup-cfg-files
[metadata]
name = djadyen
version = 2.0.4a21
version = 2.0.4
description = Django adyen payment integration
long_description = file: README.rst
url = https://github.com/maykinmedia/djadyen
Expand Down

0 comments on commit 6e60c02

Please sign in to comment.